Cdn API - CPG Source

<back to all web services

PricingToolPricingHistoryAllGradesRequest

Cdn.Api

The following routes are available for this service:
GET/PricingToolPricingHistoryAllGradesRequest
PricingToolPricingHistoryAllGradesRequest Parameters:
NameParameterData TypeRequiredDescription
CustIdquerylong?No
EntryIdquerylong?No
SeriesIdquerylong?No
PcgsNumquerystringNo
CatalogIdqueryint?No
StartDatequeryDateTime?No
EndDatequeryDateTime?No
BaseRequest<T> Parameters:
NameParameterData TypeRequiredDescription
Idformlong?No
OrderByformstring[]No
OrderDirectionsformSortOrders[]No
PricingToolPricingHistoryAllGradesResponse Parameters:
NameParameterData TypeRequiredDescription
ShowGreyformboolNo
ShowBlueformboolNo
ShowGreenformboolNo
ShowCpgformboolNo
GradesformList<GradePricingHistory>No
AllowedCatalogsRetailformstringNo
AllowedCatalogsWholesaleformstringNo
AllowRetailformboolNo
AllowWholesaleformboolNo
AccessRemainingformintNo
PermitAccessformboolNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
TotalformintNo
OpCodeformintNo
ErrorTextformstringNo
RequestTimeformstringNo
ResponseTimeformstringNo
TotalExecutionTimeformstringNo
CachedResponseformboolNo
GradePricingHistory Parameters:
NameParameterData TypeRequiredDescription
GradeformintNo
CacformboolNo
CpgChartDataformList<HistoryChartData>No
GreyChartDataformList<HistoryChartData>No
BluePChartDataformList<HistoryChartData>No
BlueNChartDataformList<HistoryChartData>No
GreenChartDataformList<HistoryChartData>No
HistoryChartData Parameters:
NameParameterData TypeRequiredDescription
PriceDateformDateTimeNo
PriceDateDisplayformstringNo
PriceformdecimalNo
PlusMinusformstringNo
PricingToolPricingHistoryAllGradesResponse Parameters:
NameParameterData TypeRequiredDescription
ShowGreyformboolNo
ShowBlueformboolNo
ShowGreenformboolNo
ShowCpgformboolNo
GradesformList<GradePricingHistory>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.

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

{"ShowGrey":false,"ShowBlue":false,"ShowGreen":false,"ShowCpg":false,"Grades":[{"Grade":0,"Cac":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}