POST api/Report/PurchaseVsSalesReport
Request Information
URI Parameters
None.
Body Parameters
PurchaseVsSaleReportInputs| Name | Description | Type | Additional information |
|---|---|---|---|
| DBName | string |
None. |
|
| BranchInternalCode | string |
None. |
|
| UserInternalCode | string |
None. |
|
| StartDate | integer |
None. |
|
| EndDate | integer |
None. |
|
| OpeningStock_Date | integer |
None. |
|
| BranchCodeList | string |
None. |
|
| BrandCodeList | string |
None. |
|
| ProductCodeList | string |
None. |
|
| ProductCategoryCodeList | string |
None. |
|
| ItemCategoryCodeList | string |
None. |
|
| ItemClassficationTypeCodeList | string |
None. |
|
| ItemClassficationCodeList | string |
None. |
|
| SaleDocType | string |
None. |
|
| PurcDocType | string |
None. |
|
| PeriodBasedOn | string |
None. |
|
| Groupby1 | string |
None. |
|
| Groupby2 | string |
None. |
|
| Groupby3 | string |
None. |
|
| Group1Name | string |
None. |
|
| Group2Name | string |
None. |
|
| Group3Name | string |
None. |
|
| ShowValue | boolean |
None. |
|
| ShowItemModel | boolean |
None. |
|
| ShowOnlyTransItemModel | boolean |
None. |
|
| InclFreeQty | boolean |
None. |
|
| InclItemWiseAddtion | boolean |
None. |
|
| InclItemWiseDeduction | boolean |
None. |
|
| SkipStockTranProfCalc | boolean |
None. |
|
| ItemwiseDebProfCalc | boolean |
None. |
|
| ItemwiseCredProfCalc | boolean |
None. |
|
| ShowY2DSales | boolean |
None. |
|
| DownloadReport | boolean |
None. |
|
| TransactionType | string |
None. |
|
| StockValueCalculation | string |
None. |
|
| TaxClass | string |
None. |
|
| PriceTemplateCode | string |
None. |
|
| RemoveColumns | string |
None. |
|
| HideUnwantRows | boolean |
None. |
|
| HideUnwantColumns | boolean |
None. |
|
| ConsiderNegativeStockValue | boolean |
None. |
|
| ShowTaxPercentage | boolean |
None. |
|
| ShowHSN | boolean |
None. |
|
| IncludePurchaseTax_4_StockValueCalculation | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"DBName": "sample string 1",
"BranchInternalCode": "sample string 2",
"UserInternalCode": "sample string 3",
"StartDate": 4,
"EndDate": 5,
"OpeningStock_Date": 6,
"BranchCodeList": "sample string 7",
"BrandCodeList": "sample string 8",
"ProductCodeList": "sample string 9",
"ProductCategoryCodeList": "sample string 10",
"ItemCategoryCodeList": "sample string 11",
"ItemClassficationTypeCodeList": "sample string 12",
"ItemClassficationCodeList": "sample string 13",
"SaleDocType": "sample string 14",
"PurcDocType": "sample string 15",
"PeriodBasedOn": "sample string 16",
"Groupby1": "sample string 17",
"Groupby2": "sample string 18",
"Groupby3": "sample string 19",
"Group1Name": "sample string 20",
"Group2Name": "sample string 21",
"Group3Name": "sample string 22",
"ShowValue": true,
"ShowItemModel": true,
"ShowOnlyTransItemModel": true,
"InclFreeQty": true,
"InclItemWiseAddtion": true,
"InclItemWiseDeduction": true,
"SkipStockTranProfCalc": true,
"ItemwiseDebProfCalc": true,
"ItemwiseCredProfCalc": true,
"ShowY2DSales": true,
"DownloadReport": true,
"TransactionType": "sample string 34",
"StockValueCalculation": "sample string 35",
"TaxClass": "sample string 36",
"PriceTemplateCode": "sample string 37",
"RemoveColumns": "sample string 38",
"HideUnwantRows": true,
"HideUnwantColumns": true,
"ConsiderNegativeStockValue": true,
"ShowTaxPercentage": true,
"ShowHSN": true,
"IncludePurchaseTax_4_StockValueCalculation": true
}
application/xml, text/xml
Sample:
<PurchaseVsSaleReportInputs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APXWebLibDataProvider.Models.Reports"> <BranchCodeList>sample string 7</BranchCodeList> <BranchInternalCode>sample string 2</BranchInternalCode> <BrandCodeList>sample string 8</BrandCodeList> <ConsiderNegativeStockValue>true</ConsiderNegativeStockValue> <DBName>sample string 1</DBName> <DownloadReport>true</DownloadReport> <EndDate>5</EndDate> <Group1Name>sample string 20</Group1Name> <Group2Name>sample string 21</Group2Name> <Group3Name>sample string 22</Group3Name> <Groupby1>sample string 17</Groupby1> <Groupby2>sample string 18</Groupby2> <Groupby3>sample string 19</Groupby3> <HideUnwantColumns>true</HideUnwantColumns> <HideUnwantRows>true</HideUnwantRows> <InclFreeQty>true</InclFreeQty> <InclItemWiseAddtion>true</InclItemWiseAddtion> <InclItemWiseDeduction>true</InclItemWiseDeduction> <IncludePurchaseTax_4_StockValueCalculation>true</IncludePurchaseTax_4_StockValueCalculation> <ItemCategoryCodeList>sample string 11</ItemCategoryCodeList> <ItemClassficationCodeList>sample string 13</ItemClassficationCodeList> <ItemClassficationTypeCodeList>sample string 12</ItemClassficationTypeCodeList> <ItemwiseCredProfCalc>true</ItemwiseCredProfCalc> <ItemwiseDebProfCalc>true</ItemwiseDebProfCalc> <OpeningStock_Date>6</OpeningStock_Date> <PeriodBasedOn>sample string 16</PeriodBasedOn> <PriceTemplateCode>sample string 37</PriceTemplateCode> <ProductCategoryCodeList>sample string 10</ProductCategoryCodeList> <ProductCodeList>sample string 9</ProductCodeList> <PurcDocType>sample string 15</PurcDocType> <RemoveColumns>sample string 38</RemoveColumns> <SaleDocType>sample string 14</SaleDocType> <ShowHSN>true</ShowHSN> <ShowItemModel>true</ShowItemModel> <ShowOnlyTransItemModel>true</ShowOnlyTransItemModel> <ShowTaxPercentage>true</ShowTaxPercentage> <ShowValue>true</ShowValue> <ShowY2DSales>true</ShowY2DSales> <SkipStockTranProfCalc>true</SkipStockTranProfCalc> <StartDate>4</StartDate> <StockValueCalculation>sample string 35</StockValueCalculation> <TaxClass>sample string 36</TaxClass> <TransactionType>sample string 34</TransactionType> <UserInternalCode>sample string 3</UserInternalCode> </PurchaseVsSaleReportInputs>
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. |