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 .jsv suffix or ?format=jsv

HTTP + JSV

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/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ShowGrey: False,
	ShowBlue: False,
	ShowGreen: False,
	ShowCpg: False,
	Grades: 
	[
		{
			Grade: 0,
			Cac: False,
			CpgChartData: 
			[
				{
					PriceDate: 0001-01-01,
					PriceDateDisplay: String,
					Price: 0,
					PlusMinus: String
				}
			],
			GreyChartData: 
			[
				{
					PriceDate: 0001-01-01,
					PriceDateDisplay: String,
					Price: 0,
					PlusMinus: String
				}
			],
			BluePChartData: 
			[
				{
					PriceDate: 0001-01-01,
					PriceDateDisplay: String,
					Price: 0,
					PlusMinus: String
				}
			],
			BlueNChartData: 
			[
				{
					PriceDate: 0001-01-01,
					PriceDateDisplay: String,
					Price: 0,
					PlusMinus: String
				}
			],
			GreenChartData: 
			[
				{
					PriceDate: 0001-01-01,
					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
}