POST api/Inbound/Addinboundstockitems
Request Information
URI Parameters
None.
Body Parameters
InboundStockItemDetailName | Description | Type | Additional information |
---|---|---|---|
BusinessId | integer |
None. |
|
LoginUserId | integer |
None. |
|
InboundStockItem | Collection of InboundStockItem |
None. |
Request Formats
application/json, text/json
Sample:
{ "BusinessId": 1, "LoginUserId": 2, "InboundStockItem": [ { "PONumber": "sample string 1", "DmsOrderId": 2, "SKUId": "sample string 3", "SKUDescription": "sample string 4", "SKUTotalQty": 5, "SentQty": 6, "DamagedQty": 7, "ReceivedQty": 8, "ExpiryDate": "2025-04-28T13:59:55.9918315+00:00", "Supplier": "sample string 9", "Warehouse": "sample string 10", "Rate": 11.0, "ERP_CreatedBy": "sample string 12", "Payment_Terms": "sample string 13", "TotalAmount": 14.0 }, { "PONumber": "sample string 1", "DmsOrderId": 2, "SKUId": "sample string 3", "SKUDescription": "sample string 4", "SKUTotalQty": 5, "SentQty": 6, "DamagedQty": 7, "ReceivedQty": 8, "ExpiryDate": "2025-04-28T13:59:55.9918315+00:00", "Supplier": "sample string 9", "Warehouse": "sample string 10", "Rate": 11.0, "ERP_CreatedBy": "sample string 12", "Payment_Terms": "sample string 13", "TotalAmount": 14.0 } ] }
application/xml, text/xml
Sample:
<InboundStockItemDetail xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <BusinessId>1</BusinessId> <LoginUserId>2</LoginUserId> <InboundStockItem> <InboundStockItem> <PONumber>sample string 1</PONumber> <DmsOrderId>2</DmsOrderId> <SKUId>sample string 3</SKUId> <SKUDescription>sample string 4</SKUDescription> <SKUTotalQty>5</SKUTotalQty> <SentQty>6</SentQty> <DamagedQty>7</DamagedQty> <ReceivedQty>8</ReceivedQty> <ExpiryDate>2025-04-28T13:59:55.9918315+00:00</ExpiryDate> <Supplier>sample string 9</Supplier> <Warehouse>sample string 10</Warehouse> <Rate>11</Rate> <ERP_CreatedBy>sample string 12</ERP_CreatedBy> <Payment_Terms>sample string 13</Payment_Terms> <TotalAmount>14</TotalAmount> </InboundStockItem> <InboundStockItem> <PONumber>sample string 1</PONumber> <DmsOrderId>2</DmsOrderId> <SKUId>sample string 3</SKUId> <SKUDescription>sample string 4</SKUDescription> <SKUTotalQty>5</SKUTotalQty> <SentQty>6</SentQty> <DamagedQty>7</DamagedQty> <ReceivedQty>8</ReceivedQty> <ExpiryDate>2025-04-28T13:59:55.9918315+00:00</ExpiryDate> <Supplier>sample string 9</Supplier> <Warehouse>sample string 10</Warehouse> <Rate>11</Rate> <ERP_CreatedBy>sample string 12</ERP_CreatedBy> <Payment_Terms>sample string 13</Payment_Terms> <TotalAmount>14</TotalAmount> </InboundStockItem> </InboundStockItem> </InboundStockItemDetail>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VCAPIResponseName | Description | Type | Additional information |
---|---|---|---|
Version | string |
None. |
|
dateTime | string |
None. |
|
StatusCode | integer |
None. |
|
ErrorMessage | string |
None. |
|
Result | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "Version": "1.0.0", "dateTime": "2025/04/28 13:59:56", "StatusCode": 1, "ErrorMessage": "sample string 2", "Result": {} }
application/xml, text/xml
Sample:
<VCAPIResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <StatusCode>1</StatusCode> <ErrorMessage>sample string 2</ErrorMessage> <Result /> </VCAPIResponse>