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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<BusinessId>1</BusinessId>
<LoginuserId>2</LoginuserId>
<Agentid>3</Agentid>
<DisburseDate>sample string 4</DisburseDate>
<RemainingStock>5</RemainingStock>
<InventoryDetail>
<CloseInventorytable>
<ProductId>1</ProductId>
<Returns>sample string 2</Returns>
<RemainingStock>3</RemainingStock>
</CloseInventorytable>
<CloseInventorytable>
<ProductId>1</ProductId>
<Returns>sample string 2</Returns>
<RemainingStock>3</RemainingStock>
</CloseInventorytable>
</InventoryDetail>
</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/12/16 08:29:03",
"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>