Cdn API - CPG Source

<back to all web services

CdnxNodePricingPageRequest

Cdn.Api

The following routes are available for this service:
GET,POST/CdnxNodePricingPageRequest
CdnxNodePricingPageRequest Parameters:
NameParameterData TypeRequiredDescription
NodeIdbodylongNo
SkipbodyintNo
TakebodyintNo
IncludeColumnsbodyboolNo
IncludeGreybodyboolNo
IncludeCacbodyboolNo
IncludePcgsbodyboolNo
IncludeNgcbodyboolNo
GsidsbodyList<long>No
CdnxNodePricingPageResponse Parameters:
NameParameterData TypeRequiredDescription
DataformList<CdnxPricingRowDto>No
ColumnsformList<CdnxPricingColumnDto>No
NextSkipformintNo
HasMoreformboolNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
TotalformintNo
OpCodeformintNo
ErrorTextformstringNo
RequestTimeformstringNo
ResponseTimeformstringNo
TotalExecutionTimeformstringNo
CachedResponseformboolNo
CdnxPricingRowDto Parameters:
NameParameterData TypeRequiredDescription
GsIdformlongNo
NameformstringNo
IsTypeformboolNo
PricesformList<CdnxPricingCellDto>No
CdnxPricingCellDto Parameters:
NameParameterData TypeRequiredDescription
GradeformintNo
IsCacformboolNo
GreyformstringNo
GreyPrevformstringNo
GreyPrevDateformstringNo
PcgsformstringNo
PcgsPrevformstringNo
PcgsPrevDateformstringNo
NgcformstringNo
NgcPrevformstringNo
NgcPrevDateformstringNo
CdnxPricingColumnDto Parameters:
NameParameterData TypeRequiredDescription
GradeformintNo
LabelformstringNo

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 /CdnxNodePricingPageRequest HTTP/1.1 
Host: cdnapidev.greysheet.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	NodeId: 0,
	Skip: 0,
	Take: 0,
	IncludeColumns: False,
	IncludeGrey: False,
	IncludeCac: False,
	IncludePcgs: False,
	IncludeNgc: False,
	Gsids: 
	[
		0
	]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Data: 
	[
		{
			GsId: 0,
			Name: String,
			IsType: False,
			Prices: 
			[
				{
					Grade: 0,
					IsCac: False,
					Grey: String,
					GreyPrev: String,
					GreyPrevDate: String,
					Pcgs: String,
					PcgsPrev: String,
					PcgsPrevDate: String,
					Ngc: String,
					NgcPrev: String,
					NgcPrevDate: String
				}
			]
		}
	],
	Columns: 
	[
		{
			Grade: 0,
			Label: String
		}
	],
	NextSkip: 0,
	HasMore: False,
	Total: 0,
	OpCode: 0,
	ErrorText: String,
	RequestTime: String,
	ResponseTime: String,
	TotalExecutionTime: String,
	CachedResponse: False
}