Cdn API

<back to all web services

SalesTaxReportRequest

Cdn.Api

The following routes are available for this service:
GET/SalesTaxReportRequest
SalesTaxReportRequest Parameters:
NameParameterData TypeRequiredDescription
FromDatequerystringNo
ToDatequerystringNo
BaseRequest<T> Parameters:
NameParameterData TypeRequiredDescription
Idformlong?No
OrderByformstring[]No
OrderDirectionsformSortOrders[]No
SalesTaxReportResponse Parameters:
NameParameterData TypeRequiredDescription
DataformTaxReportItemDto[]No
FromDateformstringNo
ToDateformstringNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
TotalformintNo
OpCodeformintNo
ErrorTextformstringNo
RequestTimeformstringNo
ResponseTimeformstringNo
TotalExecutionTimeformstringNo
CachedResponseformboolNo
TaxReportItemDto Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
OrderItemDateformDateTimeNo
OrderItemDateDisplayformstringNo
OrderTotalformdecimalNo
TaxTotalformdecimalNo
TaxBurdenformdecimalNo
CustomerIdformlongNo
CustomerUrlformstringNo
FirstNameformstringNo
LastNameformstringNo
CompanyformstringNo
SalesTaxReportResponse Parameters:
NameParameterData TypeRequiredDescription
DataformTaxReportItemDto[]No
FromDateformstringNo
ToDateformstringNo

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.

GET /SalesTaxReportRequest HTTP/1.1 
Host: cdnapidev.greysheet.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Data":[{"Id":0,"OrderItemDate":"\/Date(-62135596800000-0000)\/","OrderItemDateDisplay":"String","OrderTotal":0,"TaxTotal":0,"TaxBurden":0,"CustomerId":0,"CustomerUrl":"String","FirstName":"String","LastName":"String","Company":"String"}],"FromDate":"String","ToDate":"String","Total":0,"OpCode":0,"ErrorText":"String","RequestTime":"String","ResponseTime":"String","TotalExecutionTime":"String","CachedResponse":false}