POST api/Sales/GetWeighments
Request Information
URI Parameters
None.
Body Parameters
WeighemntSchModel| Name | Description | Type | Additional information |
|---|---|---|---|
| WeighmentId | integer |
None. |
|
| CommodityClassID | integer |
None. |
|
| CommodityId | integer |
None. |
|
| SBUID | integer |
None. |
|
| ContractID | integer |
None. |
|
| IsSaleGP | boolean |
None. |
|
| IsWeightGP | boolean |
None. |
|
| IsFinalized | boolean |
None. |
|
| Date_From | date |
None. |
|
| Date_To | date |
None. |
|
| VehicleNo | string |
None. |
|
| GatePassNo | string |
None. |
|
| CropSeasonID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"WeighmentId": 1,
"CommodityClassID": 2,
"CommodityId": 3,
"SBUID": 4,
"ContractID": 5,
"IsSaleGP": true,
"IsWeightGP": true,
"IsFinalized": true,
"Date_From": "2026-06-24T04:24:52.9991883-07:00",
"Date_To": "2026-06-24T04:24:52.9991883-07:00",
"VehicleNo": "sample string 11",
"GatePassNo": "sample string 12",
"CropSeasonID": 13
}
application/xml, text/xml
Sample:
<WeighemntSchModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MicroFlour_API.Models"> <CommodityClassID>2</CommodityClassID> <CommodityId>3</CommodityId> <ContractID>5</ContractID> <CropSeasonID>13</CropSeasonID> <Date_From>2026-06-24T04:24:52.9991883-07:00</Date_From> <Date_To>2026-06-24T04:24:52.9991883-07:00</Date_To> <GatePassNo>sample string 12</GatePassNo> <IsFinalized>true</IsFinalized> <IsSaleGP>true</IsSaleGP> <IsWeightGP>true</IsWeightGP> <SBUID>4</SBUID> <VehicleNo>sample string 11</VehicleNo> <WeighmentId>1</WeighmentId> </WeighemntSchModel>
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. |