POST api/InStorage/AddInvoiceOfSelect

Request Information

URI Parameters

None.

Body Parameters

Collection of EntSapInvoice
NameDescriptionTypeAdditional information
CreateTimeBegin

date

None.

CreateTimeEnd

date

None.

CopGNo

string

None.

SelectQty

decimal number

None.

BusHeadId

integer

None.

Id

integer

None.

InvoiceNo

string

None.

InvoiceLineNo

string

None.

InvoiceDate

date

None.

AsnNo

string

None.

Po

string

None.

OrganizationCode

string

None.

EmsNo

string

None.

Status

integer

None.

Sku

string

None.

SapUnit

string

None.

Total

decimal number

None.

NetWeight

decimal number

None.

GrossWeight

decimal number

None.

Qty

decimal number

None.

LeftQty

decimal number

None.

FactoryNo

string

None.

RefDocItemId

string

None.

RefDocId

string

None.

CreateDate

date

None.

CreateUser

string

None.

UpdateDate

date

None.

UpdateUser

string

None.

Curr

string

None.

Price

decimal number

None.

Iskclflag

string

None.

ErpCurr

string

None.

FileName

string

None.

PageSize

integer

None.

PageIndex

integer

None.

TotalCount

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "createTimeBegin": "2024-11-21 16:48:12",
    "createTimeEnd": "2024-11-21 16:48:12",
    "copGNo": "sample string 1",
    "selectQty": 2.0,
    "busHeadId": 3,
    "id": "4",
    "invoiceNo": "sample string 5",
    "invoiceLineNo": "sample string 6",
    "invoiceDate": "2024-11-21 16:48:12",
    "asnNo": "sample string 7",
    "po": "sample string 8",
    "organizationCode": "sample string 9",
    "emsNo": "sample string 10",
    "status": 11,
    "sku": "sample string 12",
    "sapUnit": "sample string 13",
    "total": 14.0,
    "netWeight": 15.0,
    "grossWeight": 16.0,
    "qty": 17.0,
    "leftQty": 18.0,
    "factoryNo": "sample string 19",
    "refDocItemId": "sample string 20",
    "refDocId": "sample string 21",
    "createDate": "2024-11-21 16:48:12",
    "createUser": "sample string 22",
    "updateDate": "2024-11-21 16:48:12",
    "updateUser": "sample string 23",
    "curr": "sample string 24",
    "price": 25.0,
    "iskclflag": "sample string 26",
    "erpCurr": "sample string 27",
    "fileName": "sample string 28",
    "pageSize": 29,
    "pageIndex": 30,
    "totalCount": 31
  },
  {
    "createTimeBegin": "2024-11-21 16:48:12",
    "createTimeEnd": "2024-11-21 16:48:12",
    "copGNo": "sample string 1",
    "selectQty": 2.0,
    "busHeadId": 3,
    "id": "4",
    "invoiceNo": "sample string 5",
    "invoiceLineNo": "sample string 6",
    "invoiceDate": "2024-11-21 16:48:12",
    "asnNo": "sample string 7",
    "po": "sample string 8",
    "organizationCode": "sample string 9",
    "emsNo": "sample string 10",
    "status": 11,
    "sku": "sample string 12",
    "sapUnit": "sample string 13",
    "total": 14.0,
    "netWeight": 15.0,
    "grossWeight": 16.0,
    "qty": 17.0,
    "leftQty": 18.0,
    "factoryNo": "sample string 19",
    "refDocItemId": "sample string 20",
    "refDocId": "sample string 21",
    "createDate": "2024-11-21 16:48:12",
    "createUser": "sample string 22",
    "updateDate": "2024-11-21 16:48:12",
    "updateUser": "sample string 23",
    "curr": "sample string 24",
    "price": 25.0,
    "iskclflag": "sample string 26",
    "erpCurr": "sample string 27",
    "fileName": "sample string 28",
    "pageSize": 29,
    "pageIndex": 30,
    "totalCount": 31
  }
]

application/xml, text/xml

Sample:
<ArrayOfEntSapInvoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model">
  <EntSapInvoice>
    <PageIndex>30</PageIndex>
    <PageSize>29</PageSize>
    <TotalCount>31</TotalCount>
    <AsnNo>sample string 7</AsnNo>
    <BusHeadId>3</BusHeadId>
    <CopGNo>sample string 1</CopGNo>
    <CreateDate>2024-11-21T16:48:12.0261889+08:00</CreateDate>
    <CreateTimeBegin>2024-11-21T16:48:12.0261889+08:00</CreateTimeBegin>
    <CreateTimeEnd>2024-11-21T16:48:12.0261889+08:00</CreateTimeEnd>
    <CreateUser>sample string 22</CreateUser>
    <Curr>sample string 24</Curr>
    <EmsNo>sample string 10</EmsNo>
    <ErpCurr>sample string 27</ErpCurr>
    <FactoryNo>sample string 19</FactoryNo>
    <FileName>sample string 28</FileName>
    <GrossWeight>16</GrossWeight>
    <Id>4</Id>
    <InvoiceDate>2024-11-21T16:48:12.0261889+08:00</InvoiceDate>
    <InvoiceLineNo>sample string 6</InvoiceLineNo>
    <InvoiceNo>sample string 5</InvoiceNo>
    <Iskclflag>sample string 26</Iskclflag>
    <LeftQty>18</LeftQty>
    <NetWeight>15</NetWeight>
    <OrganizationCode>sample string 9</OrganizationCode>
    <Po>sample string 8</Po>
    <Price>25</Price>
    <Qty>17</Qty>
    <RefDocId>sample string 21</RefDocId>
    <RefDocItemId>sample string 20</RefDocItemId>
    <SapUnit>sample string 13</SapUnit>
    <SelectQty>2</SelectQty>
    <Sku>sample string 12</Sku>
    <Status>11</Status>
    <Total>14</Total>
    <UpdateDate>2024-11-21T16:48:12.0261889+08:00</UpdateDate>
    <UpdateUser>sample string 23</UpdateUser>
  </EntSapInvoice>
  <EntSapInvoice>
    <PageIndex>30</PageIndex>
    <PageSize>29</PageSize>
    <TotalCount>31</TotalCount>
    <AsnNo>sample string 7</AsnNo>
    <BusHeadId>3</BusHeadId>
    <CopGNo>sample string 1</CopGNo>
    <CreateDate>2024-11-21T16:48:12.0261889+08:00</CreateDate>
    <CreateTimeBegin>2024-11-21T16:48:12.0261889+08:00</CreateTimeBegin>
    <CreateTimeEnd>2024-11-21T16:48:12.0261889+08:00</CreateTimeEnd>
    <CreateUser>sample string 22</CreateUser>
    <Curr>sample string 24</Curr>
    <EmsNo>sample string 10</EmsNo>
    <ErpCurr>sample string 27</ErpCurr>
    <FactoryNo>sample string 19</FactoryNo>
    <FileName>sample string 28</FileName>
    <GrossWeight>16</GrossWeight>
    <Id>4</Id>
    <InvoiceDate>2024-11-21T16:48:12.0261889+08:00</InvoiceDate>
    <InvoiceLineNo>sample string 6</InvoiceLineNo>
    <InvoiceNo>sample string 5</InvoiceNo>
    <Iskclflag>sample string 26</Iskclflag>
    <LeftQty>18</LeftQty>
    <NetWeight>15</NetWeight>
    <OrganizationCode>sample string 9</OrganizationCode>
    <Po>sample string 8</Po>
    <Price>25</Price>
    <Qty>17</Qty>
    <RefDocId>sample string 21</RefDocId>
    <RefDocItemId>sample string 20</RefDocItemId>
    <SapUnit>sample string 13</SapUnit>
    <SelectQty>2</SelectQty>
    <Sku>sample string 12</Sku>
    <Status>11</Status>
    <Total>14</Total>
    <UpdateDate>2024-11-21T16:48:12.0261889+08:00</UpdateDate>
    <UpdateUser>sample string 23</UpdateUser>
  </EntSapInvoice>
</ArrayOfEntSapInvoice>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ReturnResultOfInt32
NameDescriptionTypeAdditional information
Status

integer

None.

Success

boolean

None.

Data

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 1,
  "success": true,
  "data": 3,
  "message": "sample string 4"
}

application/xml, text/xml

Sample:
<ReturnResultOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model">
  <Data>3</Data>
  <Message>sample string 4</Message>
  <Status>1</Status>
  <Success>true</Success>
</ReturnResultOfint>