TeleportService

<back to all web services

Reports_ItemSalesStatistic

Requires Authentication
The following routes are available for this service:
POST, GET/Reports_ItemSalesStatistic
Reports_ItemSalesStatistic Parameters:
NameParameterData TypeRequiredDescription
StartDatebodyDateTimeNo
EndDatebodyDateTimeNo
ItemSalesStatisticResponce Parameters:
NameParameterData TypeRequiredDescription
reportformList<ItemSalesStatisticDto>No
ResponseStatusformResponseStatusNo
ItemSalesStatisticDto Parameters:
NameParameterData TypeRequiredDescription
PriceRangeformPriceRangeNo
TotalSumformdecimalNo
TotalQuantityformdecimalNo
PriceRange Parameters:
NameParameterData TypeRequiredDescription
MinformdecimalNo
MaxformdecimalNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /Reports_ItemSalesStatistic HTTP/1.1 
Host: wbs.e-teleport.ru 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"StartDate":"0001-01-01T00:00:00.0000000","EndDate":"0001-01-01T00:00:00.0000000"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"report":[{"PriceRange":{"Min":0,"Max":0},"TotalSum":0,"TotalQuantity":0}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}