POST api/InvExceed/InsertUpdateRecord?vUserID={vUserID}&IsOpen={IsOpen}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| vUserID | integer |
Required |
|
| IsOpen | boolean |
Required |
Body Parameters
InventoryExceed| Name | Description | Type | Additional information |
|---|---|---|---|
| ExceedID | integer |
None. |
|
| InvoiceDate | date |
None. |
|
| Narration | string |
None. |
|
| TotalValue | decimal number |
None. |
|
| ListBody | Collection of InventoryExceedBody |
None. |
|
| ListBatch | Collection of InventoryExceedBatch |
None. |
Request Formats
application/json, text/json
Sample:
{
"ExceedID": 1,
"InvoiceDate": "2025-12-11T01:02:06.3931192-08:00",
"Narration": "sample string 3",
"TotalValue": 4.0,
"ListBody": [
{
"SerialNo": 1,
"ExceedID": 2,
"ProductID": 3,
"Qty": 4.0,
"Price": 5.0,
"TTLValue": 6.0,
"ProductName": "sample string 7",
"CurrentStock": 8.0,
"IsBatchProduct": true
},
{
"SerialNo": 1,
"ExceedID": 2,
"ProductID": 3,
"Qty": 4.0,
"Price": 5.0,
"TTLValue": 6.0,
"ProductName": "sample string 7",
"CurrentStock": 8.0,
"IsBatchProduct": true
}
],
"ListBatch": [
{
"ExceedID": 1,
"ProductID": 2,
"BatchNo": "sample string 3",
"ExpiryDate": "2025-12-11T01:02:06.3931192-08:00",
"Qty": 5,
"Cost": 6.0
},
{
"ExceedID": 1,
"ProductID": 2,
"BatchNo": "sample string 3",
"ExpiryDate": "2025-12-11T01:02:06.3931192-08:00",
"Qty": 5,
"Cost": 6.0
}
]
}
application/xml, text/xml
Sample:
<InventoryExceed xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RiceMillsERP_API.Models">
<ExceedID>1</ExceedID>
<InvoiceDate>2025-12-11T01:02:06.3931192-08:00</InvoiceDate>
<ListBatch>
<InventoryExceedBatch>
<BatchNo>sample string 3</BatchNo>
<Cost>6</Cost>
<ExceedID>1</ExceedID>
<ExpiryDate>2025-12-11T01:02:06.3931192-08:00</ExpiryDate>
<ProductID>2</ProductID>
<Qty>5</Qty>
</InventoryExceedBatch>
<InventoryExceedBatch>
<BatchNo>sample string 3</BatchNo>
<Cost>6</Cost>
<ExceedID>1</ExceedID>
<ExpiryDate>2025-12-11T01:02:06.3931192-08:00</ExpiryDate>
<ProductID>2</ProductID>
<Qty>5</Qty>
</InventoryExceedBatch>
</ListBatch>
<ListBody>
<InventoryExceedBody>
<CurrentStock>8</CurrentStock>
<ExceedID>2</ExceedID>
<IsBatchProduct>true</IsBatchProduct>
<Price>5</Price>
<ProductID>3</ProductID>
<ProductName>sample string 7</ProductName>
<Qty>4</Qty>
<SerialNo>1</SerialNo>
<TTLValue>6</TTLValue>
</InventoryExceedBody>
<InventoryExceedBody>
<CurrentStock>8</CurrentStock>
<ExceedID>2</ExceedID>
<IsBatchProduct>true</IsBatchProduct>
<Price>5</Price>
<ProductID>3</ProductID>
<ProductName>sample string 7</ProductName>
<Qty>4</Qty>
<SerialNo>1</SerialNo>
<TTLValue>6</TTLValue>
</InventoryExceedBody>
</ListBody>
<Narration>sample string 3</Narration>
<TotalValue>4</TotalValue>
</InventoryExceed>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |