POST api/TradeReports/RptBrkPurSaleContract
Request Information
URI Parameters
None.
Body Parameters
TradeReportFilters| Name | Description | Type | Additional information |
|---|---|---|---|
| IsAllDate | boolean |
None. |
|
| IsSingleRange | boolean |
None. |
|
| IsDateRange | boolean |
None. |
|
| SingleDate | string |
None. |
|
| FromDate | string |
None. |
|
| ToDate | string |
None. |
|
| PartyID | string |
None. |
|
| PartyName | string |
None. |
|
| CustomerID | string |
None. |
|
| CustomerName | string |
None. |
|
| VehicleNo | string |
None. |
|
| PurchaeContractNo | string |
None. |
|
| SaleContractNo | string |
None. |
|
| CommodityName | string |
None. |
|
| CommodityID | integer |
None. |
|
| CropID | integer |
None. |
|
| CropName | string |
None. |
|
| IsIncludeHavingNoArrivals | boolean |
None. |
|
| IsHideCompletedContracts | boolean |
None. |
|
| FromInvoiceNo | integer |
None. |
|
| ToInvoiceNo | integer |
None. |
|
| IsVarietyWise | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"IsAllDate": true,
"IsSingleRange": true,
"IsDateRange": true,
"SingleDate": "sample string 4",
"FromDate": "sample string 5",
"ToDate": "sample string 6",
"PartyID": "sample string 7",
"PartyName": "sample string 8",
"CustomerID": "sample string 9",
"CustomerName": "sample string 10",
"VehicleNo": "sample string 11",
"PurchaeContractNo": "sample string 12",
"SaleContractNo": "sample string 13",
"CommodityName": "sample string 14",
"CommodityID": 15,
"CropID": 16,
"CropName": "sample string 17",
"IsIncludeHavingNoArrivals": true,
"IsHideCompletedContracts": true,
"FromInvoiceNo": 20,
"ToInvoiceNo": 21,
"IsVarietyWise": true
}
application/xml, text/xml
Sample:
<TradeReportFilters xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RiceMillsERP_API.Models"> <CommodityID>15</CommodityID> <CommodityName>sample string 14</CommodityName> <CropID>16</CropID> <CropName>sample string 17</CropName> <CustomerID>sample string 9</CustomerID> <CustomerName>sample string 10</CustomerName> <FromDate>sample string 5</FromDate> <FromInvoiceNo>20</FromInvoiceNo> <IsAllDate>true</IsAllDate> <IsDateRange>true</IsDateRange> <IsHideCompletedContracts>true</IsHideCompletedContracts> <IsIncludeHavingNoArrivals>true</IsIncludeHavingNoArrivals> <IsSingleRange>true</IsSingleRange> <IsVarietyWise>true</IsVarietyWise> <PartyID>sample string 7</PartyID> <PartyName>sample string 8</PartyName> <PurchaeContractNo>sample string 12</PurchaeContractNo> <SaleContractNo>sample string 13</SaleContractNo> <SingleDate>sample string 4</SingleDate> <ToDate>sample string 6</ToDate> <ToInvoiceNo>21</ToInvoiceNo> <VehicleNo>sample string 11</VehicleNo> </TradeReportFilters>
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. |