POST api/Store/CloseInventory
Request Information
URI Parameters
None.
Body Parameters
CloseInventoryName | Description | Type | Additional information |
---|---|---|---|
BusinessId | integer |
None. |
|
LoginuserId | integer |
None. |
|
Agentid | integer |
None. |
|
DisburseDate | string |
None. |
|
RemainingStock | integer |
None. |
|
inventoryID | integer |
None. |
|
InventoryDetail | Collection of CloseInventorytable |
None. |
Request Formats
application/json, text/json
Sample:
{ "BusinessId": 1, "LoginuserId": 2, "Agentid": 3, "DisburseDate": "sample string 4", "RemainingStock": 5, "inventoryID": 6, "InventoryDetail": [ { "itemId": 1, "returns": "sample string 2", "remainingStock": 3 }, { "itemId": 1, "returns": "sample string 2", "remainingStock": 3 } ] }
application/xml, text/xml
Sample:
<CloseInventory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <Agentid>3</Agentid> <BusinessId>1</BusinessId> <DisburseDate>sample string 4</DisburseDate> <InventoryDetail> <CloseInventorytable> <itemId>1</itemId> <remainingStock>3</remainingStock> <returns>sample string 2</returns> </CloseInventorytable> <CloseInventorytable> <itemId>1</itemId> <remainingStock>3</remainingStock> <returns>sample string 2</returns> </CloseInventorytable> </InventoryDetail> <LoginuserId>2</LoginuserId> <RemainingStock>5</RemainingStock> <inventoryID>6</inventoryID> </CloseInventory>
application/x-www-form-urlencoded
Sample:
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/04 06:43:44", "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>