POST api/Report/PurchaseVsSalesReport

Request Information

URI Parameters

None.

Body Parameters

PurchaseVsSaleReportInputs
NameDescriptionTypeAdditional information
DBName

string

None.

BranchInternalCode

string

None.

UserInternalCode

string

None.

StartDate

integer

None.

EndDate

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.

InclItemAddc

boolean

None.

InclItemDeduc

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.

HideUnwantRows

boolean

None.

HideUnwantColumns

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,
  "BranchCodeList": "sample string 6",
  "BrandCodeList": "sample string 7",
  "ProductCodeList": "sample string 8",
  "ProductCategoryCodeList": "sample string 9",
  "ItemCategoryCodeList": "sample string 10",
  "ItemClassficationTypeCodeList": "sample string 11",
  "ItemClassficationCodeList": "sample string 12",
  "SaleDocType": "sample string 13",
  "PurcDocType": "sample string 14",
  "PeriodBasedOn": "sample string 15",
  "Groupby1": "sample string 16",
  "Groupby2": "sample string 17",
  "Groupby3": "sample string 18",
  "Group1Name": "sample string 19",
  "Group2Name": "sample string 20",
  "Group3Name": "sample string 21",
  "ShowValue": true,
  "ShowItemModel": true,
  "ShowOnlyTransItemModel": true,
  "InclFreeQty": true,
  "InclItemAddc": true,
  "InclItemDeduc": true,
  "SkipStockTranProfCalc": true,
  "ItemwiseDebProfCalc": true,
  "ItemwiseCredProfCalc": true,
  "ShowY2DSales": true,
  "DownloadReport": true,
  "TransactionType": "sample string 33",
  "StockValueCalculation": "sample string 34",
  "TaxClass": "sample string 35",
  "PriceTemplateCode": "sample string 36",
  "HideUnwantRows": true,
  "HideUnwantColumns": 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 6</BranchCodeList>
  <BranchInternalCode>sample string 2</BranchInternalCode>
  <BrandCodeList>sample string 7</BrandCodeList>
  <DBName>sample string 1</DBName>
  <DownloadReport>true</DownloadReport>
  <EndDate>5</EndDate>
  <Group1Name>sample string 19</Group1Name>
  <Group2Name>sample string 20</Group2Name>
  <Group3Name>sample string 21</Group3Name>
  <Groupby1>sample string 16</Groupby1>
  <Groupby2>sample string 17</Groupby2>
  <Groupby3>sample string 18</Groupby3>
  <HideUnwantColumns>true</HideUnwantColumns>
  <HideUnwantRows>true</HideUnwantRows>
  <InclFreeQty>true</InclFreeQty>
  <InclItemAddc>true</InclItemAddc>
  <InclItemDeduc>true</InclItemDeduc>
  <ItemCategoryCodeList>sample string 10</ItemCategoryCodeList>
  <ItemClassficationCodeList>sample string 12</ItemClassficationCodeList>
  <ItemClassficationTypeCodeList>sample string 11</ItemClassficationTypeCodeList>
  <ItemwiseCredProfCalc>true</ItemwiseCredProfCalc>
  <ItemwiseDebProfCalc>true</ItemwiseDebProfCalc>
  <PeriodBasedOn>sample string 15</PeriodBasedOn>
  <PriceTemplateCode>sample string 36</PriceTemplateCode>
  <ProductCategoryCodeList>sample string 9</ProductCategoryCodeList>
  <ProductCodeList>sample string 8</ProductCodeList>
  <PurcDocType>sample string 14</PurcDocType>
  <SaleDocType>sample string 13</SaleDocType>
  <ShowItemModel>true</ShowItemModel>
  <ShowOnlyTransItemModel>true</ShowOnlyTransItemModel>
  <ShowValue>true</ShowValue>
  <ShowY2DSales>true</ShowY2DSales>
  <SkipStockTranProfCalc>true</SkipStockTranProfCalc>
  <StartDate>4</StartDate>
  <StockValueCalculation>sample string 34</StockValueCalculation>
  <TaxClass>sample string 35</TaxClass>
  <TransactionType>sample string 33</TransactionType>
  <UserInternalCode>sample string 3</UserInternalCode>
</PurchaseVsSaleReportInputs>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.