POST api/PurchaseGrindingArrival/InsertOrUpdatePGrinding?isOpen={isOpen}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| isOpen | boolean |
Required |
Body Parameters
GrindingArrival| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Date | date |
None. |
|
| PartyID | integer |
None. |
|
| CommodityID | integer |
None. |
|
| Quantity | decimal number |
None. |
|
| TotalWeight | decimal number |
None. |
|
| DedPerMound | decimal number |
None. |
|
| Deduction | decimal number |
None. |
|
| NetWeight | decimal number |
None. |
|
| NetMounds | string |
None. |
|
| Remarks | string |
None. |
|
| BagTypeID | integer |
None. |
|
| BagClassID | integer |
None. |
|
| Name | string |
None. |
|
| CropSeasonID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"Date": "2026-06-24T03:09:15.6208643-07:00",
"PartyID": 3,
"CommodityID": 4,
"Quantity": 5.0,
"TotalWeight": 6.0,
"DedPerMound": 7.0,
"Deduction": 8.0,
"NetWeight": 9.0,
"NetMounds": "sample string 10",
"Remarks": "sample string 11",
"BagTypeID": 12,
"BagClassID": 13,
"Name": "sample string 14",
"CropSeasonID": 15
}
application/xml, text/xml
Sample:
<GrindingArrival xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Objects"> <BagClassID>13</BagClassID> <BagTypeID>12</BagTypeID> <CommodityID>4</CommodityID> <CropSeasonID>15</CropSeasonID> <Date>2026-06-24T03:09:15.6208643-07:00</Date> <DedPerMound>7</DedPerMound> <Deduction>8</Deduction> <ID>1</ID> <Name>sample string 14</Name> <NetMounds>sample string 10</NetMounds> <NetWeight>9</NetWeight> <PartyID>3</PartyID> <Quantity>5</Quantity> <Remarks>sample string 11</Remarks> <TotalWeight>6</TotalWeight> </GrindingArrival>
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. |