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 .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.

POST /jsv/reply/PricingToolPricingHistoryRequest HTTP/1.1 
Host: mobileapidevsw.greysheet.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	CustId: 0,
	EntryId: 0,
	SeriesId: 0,
	Grade: 0,
	Page: 0,
	Cac: False,
	PcgsNum: String,
	CatalogId: 0,
	Skip: 0,
	Take: 0,
	StartDate: 0001-01-01,
	EndDate: 0001-01-01,
	Id: 0,
	OrderBy: 
	[
		String
	],
	OrderDirections: 
	[
		Asc
	]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ShowGrey: False,
	ShowBlue: False,
	ShowGreen: 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
}