POST api/BagIssueInv/InsertOrUpdate?isOpen={isOpen}&vUserID={vUserID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| isOpen | boolean |
Required |
|
| vUserID | integer |
Required |
Body Parameters
BagsIssued| Name | Description | Type | Additional information |
|---|---|---|---|
| BagsIssueID | integer |
None. |
|
| PartyID | integer |
None. |
|
| IssueDate | date |
None. |
|
| TotalQty | integer |
None. |
|
| IsPosted | boolean |
None. |
|
| Narration | string |
None. |
|
| SBUID | integer |
None. |
|
| IDSBU | integer |
None. |
|
| IsDamage | boolean |
None. |
|
| IsFingerPrint | boolean |
None. |
|
| IsBrowseFile | boolean |
None. |
|
| IsSign | boolean |
None. |
|
| BytesFinger | Collection of byte |
None. |
|
| BytesDoc | Collection of byte |
None. |
|
| BytesSign | Collection of byte |
None. |
|
| CropSeasonID | integer |
None. |
|
| ListBody | Collection of BagsIssuedBody |
None. |
Request Formats
application/json, text/json
Sample:
{
"BagsIssueID": 1,
"PartyID": 2,
"IssueDate": "2026-06-24T04:18:23.7934803-07:00",
"TotalQty": 4,
"IsPosted": true,
"Narration": "sample string 6",
"SBUID": 7,
"IDSBU": 8,
"IsDamage": true,
"IsFingerPrint": true,
"IsBrowseFile": true,
"IsSign": true,
"BytesFinger": "QEA=",
"BytesDoc": "QEA=",
"BytesSign": "QEA=",
"CropSeasonID": 13,
"ListBody": [
{
"SerialNo": 1,
"BagsIssueID": 2,
"BagsTypeID": 3,
"ClassID": 4,
"Quantity": 5,
"Cost": 6.0,
"BagCost": 7.0
},
{
"SerialNo": 1,
"BagsIssueID": 2,
"BagsTypeID": 3,
"ClassID": 4,
"Quantity": 5,
"Cost": 6.0,
"BagCost": 7.0
}
]
}
application/xml, text/xml
Sample:
<BagsIssued xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Objects">
<BagsIssueID>1</BagsIssueID>
<BytesDoc>QEA=</BytesDoc>
<BytesFinger>QEA=</BytesFinger>
<BytesSign>QEA=</BytesSign>
<CropSeasonID>13</CropSeasonID>
<IDSBU>8</IDSBU>
<IsBrowseFile>true</IsBrowseFile>
<IsDamage>true</IsDamage>
<IsFingerPrint>true</IsFingerPrint>
<IsPosted>true</IsPosted>
<IsSign>true</IsSign>
<IssueDate>2026-06-24T04:18:23.7934803-07:00</IssueDate>
<ListBody>
<BagsIssuedBody>
<BagCost>7</BagCost>
<BagsIssueID>2</BagsIssueID>
<BagsTypeID>3</BagsTypeID>
<ClassID>4</ClassID>
<Cost>6</Cost>
<Quantity>5</Quantity>
<SerialNo>1</SerialNo>
</BagsIssuedBody>
<BagsIssuedBody>
<BagCost>7</BagCost>
<BagsIssueID>2</BagsIssueID>
<BagsTypeID>3</BagsTypeID>
<ClassID>4</ClassID>
<Cost>6</Cost>
<Quantity>5</Quantity>
<SerialNo>1</SerialNo>
</BagsIssuedBody>
</ListBody>
<Narration>sample string 6</Narration>
<PartyID>2</PartyID>
<SBUID>7</SBUID>
<TotalQty>4</TotalQty>
</BagsIssued>
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. |