POST api/GrindingDispatch/InsertOrUpdate?isOpen={isOpen}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| isOpen | boolean |
Required |
Body Parameters
GrindingDispatch| Name | Description | Type | Additional information |
|---|---|---|---|
| DispatchID | integer |
None. |
|
| EntryDate | date |
None. |
|
| PartyID | integer |
None. |
|
| ChargesPerMnd | decimal number |
None. |
|
| TotalAmount | decimal number |
None. |
|
| ReceivedAmount | decimal number |
None. |
|
| Balance | decimal number |
None. |
|
| GrossBags | decimal number |
None. |
|
| GrossWeight | decimal number |
None. |
|
| Narration | string |
None. |
|
| CropSeasonID | integer |
None. |
|
| ArrivalID | integer |
None. |
|
| ListBody | Collection of GrindingDispatchBody |
None. |
Request Formats
application/json, text/json
Sample:
{
"DispatchID": 1,
"EntryDate": "2026-06-24T03:02:17.497399-07:00",
"PartyID": 3,
"ChargesPerMnd": 4.0,
"TotalAmount": 5.0,
"ReceivedAmount": 6.0,
"Balance": 7.0,
"GrossBags": 8.0,
"GrossWeight": 9.0,
"Narration": "sample string 10",
"CropSeasonID": 11,
"ArrivalID": 12,
"ListBody": [
{
"SerialNo": 1,
"DispatchID": 2,
"CommodityID": 3,
"Bags": 4.0,
"Weight": 5.0,
"BagTypeID": 6,
"BagClassID": 7
},
{
"SerialNo": 1,
"DispatchID": 2,
"CommodityID": 3,
"Bags": 4.0,
"Weight": 5.0,
"BagTypeID": 6,
"BagClassID": 7
}
]
}
application/xml, text/xml
Sample:
<GrindingDispatch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Objects">
<ArrivalID>12</ArrivalID>
<Balance>7</Balance>
<ChargesPerMnd>4</ChargesPerMnd>
<CropSeasonID>11</CropSeasonID>
<DispatchID>1</DispatchID>
<EntryDate>2026-06-24T03:02:17.497399-07:00</EntryDate>
<GrossBags>8</GrossBags>
<GrossWeight>9</GrossWeight>
<ListBody>
<GrindingDispatchBody>
<BagClassID>7</BagClassID>
<BagTypeID>6</BagTypeID>
<Bags>4</Bags>
<CommodityID>3</CommodityID>
<DispatchID>2</DispatchID>
<SerialNo>1</SerialNo>
<Weight>5</Weight>
</GrindingDispatchBody>
<GrindingDispatchBody>
<BagClassID>7</BagClassID>
<BagTypeID>6</BagTypeID>
<Bags>4</Bags>
<CommodityID>3</CommodityID>
<DispatchID>2</DispatchID>
<SerialNo>1</SerialNo>
<Weight>5</Weight>
</GrindingDispatchBody>
</ListBody>
<Narration>sample string 10</Narration>
<PartyID>3</PartyID>
<ReceivedAmount>6</ReceivedAmount>
<TotalAmount>5</TotalAmount>
</GrindingDispatch>
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. |