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

POST /CustomerCollectionRequest HTTP/1.1 
Host: cdnapidev.greysheet.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"Id":0,"CustomerId":0,"CollectibleId":0,"GradingService":"String","Preservation":"String","Grade":0,"IsCac":false,"Quantity":0,"PaidPrice":0,"AcquiredDate":"\/Date(-62135596800000-0000)\/","Notes":"String","ObverseImageUrl":"String","ReverseImageUrl":"String","SourceScanLogId":0,"Skip":0,"Take":0}
HTTP/1.1 200 OK
Content-Type: text/csv
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":"\/Date(-62135596800000-0000)\/","Notes":"String","ObverseImageUrl":"String","ReverseImageUrl":"String","SourceScanLogId":0,"LastMod":"\/Date(-62135596800000-0000)\/"}],"Total":0,"OpCode":0,"ErrorText":"String","RequestTime":"String","ResponseTime":"String","TotalExecutionTime":"String","CachedResponse":false}