POST api/FlourRPT_Purchase/RptPurchaseRegisterDFC
Request Information
URI Parameters
None.
Body Parameters
PurchaseReportFilters| Name | Description | Type | Additional information |
|---|---|---|---|
| CommodityName | string |
None. |
|
| CommodityID | integer |
None. |
|
| BagTypeName | string |
None. |
|
| BagTypeID | integer |
None. |
|
| BagClassName | string |
None. |
|
| BagClassID | integer |
None. |
|
| IsRateAvg40kg | boolean |
None. |
|
| IsCommodityWiseId | boolean |
None. |
|
| PartyID | integer |
None. |
|
| PartyName | string |
None. |
|
| BrokerID | integer |
None. |
|
| BrokerName | string |
None. |
|
| FromInvoiceID | integer |
None. |
|
| ToInvoiceID | integer |
None. |
|
| IsPartyWise | boolean |
None. |
|
| IsCommodityWise | boolean |
None. |
|
| PartyGroup | string |
None. |
|
| IsCompleted | boolean |
None. |
|
| IsDetailed | boolean |
None. |
|
| IsPending | boolean |
None. |
|
| PRCenterID | integer |
None. |
|
| PRCenter | string |
None. |
|
| IsWithPermit | boolean |
None. |
|
| OnNetWeight | boolean |
None. |
|
| AccountNo | integer |
None. |
|
| AccountTitle | string |
None. |
|
| IsAllDate | boolean |
None. |
|
| IsSingleDate | boolean |
None. |
|
| IsTillDate | boolean |
None. |
|
| IsDateRange | boolean |
None. |
|
| SingleDate | string |
None. |
|
| TillDate | string |
None. |
|
| FromDate | string |
None. |
|
| ToDate | string |
None. |
|
| SBUID | integer |
None. |
|
| CropSeasonID | integer |
None. |
|
| SBUName | string |
None. |
|
| CurrencyID | integer |
None. |
|
| CurrencyName | string |
None. |
|
| UserID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CommodityName": "sample string 1",
"CommodityID": 2,
"BagTypeName": "sample string 3",
"BagTypeID": 4,
"BagClassName": "sample string 5",
"BagClassID": 6,
"IsRateAvg40kg": true,
"IsCommodityWiseId": true,
"PartyID": 9,
"PartyName": "sample string 10",
"BrokerID": 11,
"BrokerName": "sample string 12",
"FromInvoiceID": 13,
"ToInvoiceID": 14,
"IsPartyWise": true,
"IsCommodityWise": true,
"PartyGroup": "sample string 17",
"IsCompleted": true,
"IsDetailed": true,
"IsPending": true,
"PRCenterID": 21,
"PRCenter": "sample string 22",
"IsWithPermit": true,
"OnNetWeight": true,
"AccountNo": 25,
"AccountTitle": "sample string 26",
"IsAllDate": true,
"IsSingleDate": true,
"IsTillDate": true,
"IsDateRange": true,
"SingleDate": "sample string 31",
"TillDate": "sample string 32",
"FromDate": "sample string 33",
"ToDate": "sample string 34",
"SBUID": 35,
"CropSeasonID": 36,
"SBUName": "sample string 37",
"CurrencyID": 38,
"CurrencyName": "sample string 39",
"UserID": 40
}
application/xml, text/xml
Sample:
<PurchaseReportFilters xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MicroFlour_API.Models"> <CropSeasonID>36</CropSeasonID> <CurrencyID>38</CurrencyID> <CurrencyName>sample string 39</CurrencyName> <FromDate>sample string 33</FromDate> <IsAllDate>true</IsAllDate> <IsDateRange>true</IsDateRange> <IsSingleDate>true</IsSingleDate> <IsTillDate>true</IsTillDate> <SBUID>35</SBUID> <SBUName>sample string 37</SBUName> <SingleDate>sample string 31</SingleDate> <TillDate>sample string 32</TillDate> <ToDate>sample string 34</ToDate> <UserID>40</UserID> <AccountNo>25</AccountNo> <AccountTitle>sample string 26</AccountTitle> <BagClassID>6</BagClassID> <BagClassName>sample string 5</BagClassName> <BagTypeID>4</BagTypeID> <BagTypeName>sample string 3</BagTypeName> <BrokerID>11</BrokerID> <BrokerName>sample string 12</BrokerName> <CommodityID>2</CommodityID> <CommodityName>sample string 1</CommodityName> <FromInvoiceID>13</FromInvoiceID> <IsCommodityWise>true</IsCommodityWise> <IsCommodityWiseId>true</IsCommodityWiseId> <IsCompleted>true</IsCompleted> <IsDetailed>true</IsDetailed> <IsPartyWise>true</IsPartyWise> <IsPending>true</IsPending> <IsRateAvg40kg>true</IsRateAvg40kg> <IsWithPermit>true</IsWithPermit> <OnNetWeight>true</OnNetWeight> <PRCenter>sample string 22</PRCenter> <PRCenterID>21</PRCenterID> <PartyGroup>sample string 17</PartyGroup> <PartyID>9</PartyID> <PartyName>sample string 10</PartyName> <ToInvoiceID>14</ToInvoiceID> </PurchaseReportFilters>
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. |