Cdn Mobile API

<back to all web services

PricingToolPricingHistoryRequest

PricingToolPricingHistoryRequest Parameters:
NameParameterData TypeRequiredDescription
CustIdquerylong?No
EntryIdquerylong?No
SeriesIdquerylong?No
GradequeryintNo
PagequeryintNo
CacqueryboolNo
PcgsNumquerystringNo
CatalogIdqueryint?No
SkipqueryintNo
TakequeryintNo
StartDatequeryDateTime?No
EndDatequeryDateTime?No
BaseRequest<T> Parameters:
NameParameterData TypeRequiredDescription
Idformlong?No
OrderByformstring[]No
OrderDirectionsformSortOrders[]No
PricingToolPricingHistoryResponse Parameters:
NameParameterData TypeRequiredDescription
ShowGreyformboolNo
ShowBlueformboolNo
ShowGreenformboolNo
CpgChartDataformList<HistoryChartData>No
GreyChartDataformList<HistoryChartData>No
BluePChartDataformList<HistoryChartData>No
BlueNChartDataformList<HistoryChartData>No
GreenChartDataformList<HistoryChartData>No
AllowedCatalogsRetailformstringNo
AllowedCatalogsWholesaleformstringNo
AllowRetailformboolNo
AllowWholesaleformboolNo
AccessRemainingformintNo
PermitAccessformboolNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
TotalformintNo
OpCodeformintNo
ErrorTextformstringNo
RequestTimeformstringNo
ResponseTimeformstringNo
TotalExecutionTimeformstringNo
CachedResponseformboolNo
HistoryChartData Parameters:
NameParameterData TypeRequiredDescription
PriceDateformDateTimeNo
PriceDateDisplayformstringNo
PriceformdecimalNo
PlusMinusformstringNo
PricingToolPricingHistoryResponse Parameters:
NameParameterData TypeRequiredDescription
ShowGreyformboolNo
ShowBlueformboolNo
ShowGreenformboolNo
CpgChartDataformList<HistoryChartData>No
GreyChartDataformList<HistoryChartData>No
BluePChartDataformList<HistoryChartData>No
BlueNChartDataformList<HistoryChartData>No
GreenChartDataformList<HistoryChartData>No
AllowedCatalogsRetailformstringNo
AllowedCatalogsWholesaleformstringNo
AllowRetailformboolNo
AllowWholesaleformboolNo
AccessRemainingformintNo
PermitAccessformboolNo

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 /csv/reply/PricingToolPricingHistoryRequest HTTP/1.1 
Host: mobileapidevsw.greysheet.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"CustId":0,"EntryId":0,"SeriesId":0,"Grade":0,"Page":0,"Cac":false,"PcgsNum":"String","CatalogId":0,"Skip":0,"Take":0,"StartDate":"\/Date(-62135596800000-0000)\/","EndDate":"\/Date(-62135596800000-0000)\/","Id":0,"OrderBy":["String"],"OrderDirections":["Asc"]}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ShowGrey":false,"ShowBlue":false,"ShowGreen":false,"CpgChartData":[{"PriceDate":"\/Date(-62135596800000-0000)\/","PriceDateDisplay":"String","Price":0,"PlusMinus":"String"}],"GreyChartData":[{"PriceDate":"\/Date(-62135596800000-0000)\/","PriceDateDisplay":"String","Price":0,"PlusMinus":"String"}],"BluePChartData":[{"PriceDate":"\/Date(-62135596800000-0000)\/","PriceDateDisplay":"String","Price":0,"PlusMinus":"String"}],"BlueNChartData":[{"PriceDate":"\/Date(-62135596800000-0000)\/","PriceDateDisplay":"String","Price":0,"PlusMinus":"String"}],"GreenChartData":[{"PriceDate":"\/Date(-62135596800000-0000)\/","PriceDateDisplay":"String","Price":0,"PlusMinus":"String"}],"AllowedCatalogsRetail":"String","AllowedCatalogsWholesale":"String","AllowRetail":false,"AllowWholesale":false,"AccessRemaining":0,"PermitAccess":false,"Total":0,"OpCode":0,"ErrorText":"String","RequestTime":"String","ResponseTime":"String","TotalExecutionTime":"String","CachedResponse":false}