Cdn API - CPG Source

<back to all web services

CustomerCollectionRequest

Cdn.Api

The following routes are available for this service:
GET,POST,PUT,DELETE/CustomerCollectionRequest
CustomerCollectionRequest Parameters:
NameParameterData TypeRequiredDescription
IdbodylongNo
CustomerIdbodylongNo
CollectibleIdbodylongNo
GradingServicebodystringNo
PreservationbodystringNo
Gradebodyint?No
IsCacbodyboolNo
QuantitybodyintNo
PaidPricebodydecimal?No
AcquiredDatebodyDateTime?No
NotesbodystringNo
ObverseImageUrlbodystringNo
ReverseImageUrlbodystringNo
SourceScanLogIdbodylong?No
SkipbodyintNo
TakebodyintNo
CustomerCollectionResponse Parameters:
NameParameterData TypeRequiredDescription
DataformList<CustomerCollectionItemDto>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
TotalformintNo
OpCodeformintNo
ErrorTextformstringNo
RequestTimeformstringNo
ResponseTimeformstringNo
TotalExecutionTimeformstringNo
CachedResponseformboolNo
CustomerCollectionItemDto Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
CustomerIdformlongNo
CollectibleIdformlongNo
CollectibleNameformstringNo
PcgsNumberformstringNo
GradingServiceformstringNo
PreservationformstringNo
Gradeformint?No
GradeLabelformstringNo
IsCacformboolNo
QuantityformintNo
PaidPriceformdecimal?No
AcquiredDateformDateTime?No
NotesformstringNo
ObverseImageUrlformstringNo
ReverseImageUrlformstringNo
SourceScanLogIdformlong?No
LastModformDateTimeNo

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

{
	Id: 0,
	CustomerId: 0,
	CollectibleId: 0,
	GradingService: String,
	Preservation: String,
	Grade: 0,
	IsCac: False,
	Quantity: 0,
	PaidPrice: 0,
	AcquiredDate: 0001-01-01,
	Notes: String,
	ObverseImageUrl: String,
	ReverseImageUrl: String,
	SourceScanLogId: 0,
	Skip: 0,
	Take: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Data: 
	[
		{
			Id: 0,
			CustomerId: 0,
			CollectibleId: 0,
			CollectibleName: String,
			PcgsNumber: String,
			GradingService: String,
			Preservation: String,
			Grade: 0,
			GradeLabel: String,
			IsCac: False,
			Quantity: 0,
			PaidPrice: 0,
			AcquiredDate: 0001-01-01,
			Notes: String,
			ObverseImageUrl: String,
			ReverseImageUrl: String,
			SourceScanLogId: 0,
			LastMod: 0001-01-01
		}
	],
	Total: 0,
	OpCode: 0,
	ErrorText: String,
	RequestTime: String,
	ResponseTime: String,
	TotalExecutionTime: String,
	CachedResponse: False
}