POST api/Inbound/Addupdateinboundstockitems?flag={flag}&IsReceive={IsReceive}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
flag | integer |
Required |
|
IsReceive | integer |
Default value is 0 |
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-05-01T23:35:01.9520214+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-05-01T23:35:01.9520214+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:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <BusinessId>1</BusinessId> <InboundStockItem> <InboundStockItem> <DamagedQty>7</DamagedQty> <DmsOrderId>2</DmsOrderId> <ERP_CreatedBy>sample string 12</ERP_CreatedBy> <ExpiryDate>2025-05-01T23:35:01.9520214+00:00</ExpiryDate> <PONumber>sample string 1</PONumber> <Payment_Terms>sample string 13</Payment_Terms> <Rate>11</Rate> <ReceivedQty>8</ReceivedQty> <SKUDescription>sample string 4</SKUDescription> <SKUId>sample string 3</SKUId> <SKUTotalQty>5</SKUTotalQty> <SentQty>6</SentQty> <Supplier>sample string 9</Supplier> <TotalAmount>14</TotalAmount> <Warehouse>sample string 10</Warehouse> </InboundStockItem> <InboundStockItem> <DamagedQty>7</DamagedQty> <DmsOrderId>2</DmsOrderId> <ERP_CreatedBy>sample string 12</ERP_CreatedBy> <ExpiryDate>2025-05-01T23:35:01.9520214+00:00</ExpiryDate> <PONumber>sample string 1</PONumber> <Payment_Terms>sample string 13</Payment_Terms> <Rate>11</Rate> <ReceivedQty>8</ReceivedQty> <SKUDescription>sample string 4</SKUDescription> <SKUId>sample string 3</SKUId> <SKUTotalQty>5</SKUTotalQty> <SentQty>6</SentQty> <Supplier>sample string 9</Supplier> <TotalAmount>14</TotalAmount> <Warehouse>sample string 10</Warehouse> </InboundStockItem> </InboundStockItem> <LoginUserId>2</LoginUserId> </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/05/01 23:35:01", "StatusCode": 1, "ErrorMessage": "sample string 2", "Result": {} }
application/xml, text/xml
Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <ErrorMessage>sample string 2</ErrorMessage> <Result /> <StatusCode>1</StatusCode> </VCAPIResponse>