POST api/Store/CloseInventory
Request Information
URI Parameters
None.
Body Parameters
CloseInventory| Name | Description | Type | Additional information |
|---|---|---|---|
| BusinessId | integer |
None. |
|
| LoginuserId | integer |
None. |
|
| Agentid | integer |
None. |
|
| DisburseDate | string |
None. |
|
| RemainingStock | 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,
"InventoryDetail": [
{
"ProductId": 1,
"Returns": "sample string 2",
"RemainingStock": 3
},
{
"ProductId": 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>
<ProductId>1</ProductId>
<RemainingStock>3</RemainingStock>
<Returns>sample string 2</Returns>
</CloseInventorytable>
<CloseInventorytable>
<ProductId>1</ProductId>
<RemainingStock>3</RemainingStock>
<Returns>sample string 2</Returns>
</CloseInventorytable>
</InventoryDetail>
<LoginuserId>2</LoginuserId>
<RemainingStock>5</RemainingStock>
</CloseInventory>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VCAPIResponse| Name | 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/11/02 13:40:11",
"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>