Cdn API - CPG Source

<back to all web services

CustomerCollectionRequest

Cdn.Api

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

HTTP + SOAP11

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /soap11 HTTP/1.1 
Host: cdnapidev.greysheet.com 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: CustomerCollectionRequest

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<CustomerCollectionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cdn.Api.RequestObjects">
  <AcquiredDate>0001-01-01T00:00:00</AcquiredDate>
  <CollectibleId>0</CollectibleId>
  <CustomerId>0</CustomerId>
  <Grade>0</Grade>
  <GradingService>String</GradingService>
  <Id>0</Id>
  <IsCac>false</IsCac>
  <Notes>String</Notes>
  <ObverseImageUrl>String</ObverseImageUrl>
  <PaidPrice>0</PaidPrice>
  <Preservation>String</Preservation>
  <Quantity>0</Quantity>
  <ReverseImageUrl>String</ReverseImageUrl>
  <Skip>0</Skip>
  <SourceScanLogId>0</SourceScanLogId>
  <Take>0</Take>
</CustomerCollectionRequest>

    </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<CustomerCollectionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cdn.Api.ResponseObjects">
  <CachedResponse>false</CachedResponse>
  <ErrorText>String</ErrorText>
  <OpCode>0</OpCode>
  <RequestTime>String</RequestTime>
  <ResponseTime>String</ResponseTime>
  <Total>0</Total>
  <TotalExecutionTime>String</TotalExecutionTime>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cdn.Api.Dto">
    <d2p1:CustomerCollectionItemDto>
      <d2p1:AcquiredDate>0001-01-01T00:00:00</d2p1:AcquiredDate>
      <d2p1:CollectibleId>0</d2p1:CollectibleId>
      <d2p1:CollectibleName>String</d2p1:CollectibleName>
      <d2p1:CustomerId>0</d2p1:CustomerId>
      <d2p1:Grade>0</d2p1:Grade>
      <d2p1:GradeLabel>String</d2p1:GradeLabel>
      <d2p1:GradingService>String</d2p1:GradingService>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:IsCac>false</d2p1:IsCac>
      <d2p1:LastMod>0001-01-01T00:00:00</d2p1:LastMod>
      <d2p1:Notes>String</d2p1:Notes>
      <d2p1:ObverseImageUrl>String</d2p1:ObverseImageUrl>
      <d2p1:PaidPrice>0</d2p1:PaidPrice>
      <d2p1:PcgsNumber>String</d2p1:PcgsNumber>
      <d2p1:Preservation>String</d2p1:Preservation>
      <d2p1:Quantity>0</d2p1:Quantity>
      <d2p1:ReverseImageUrl>String</d2p1:ReverseImageUrl>
      <d2p1:SourceScanLogId>0</d2p1:SourceScanLogId>
    </d2p1:CustomerCollectionItemDto>
  </Data>
</CustomerCollectionResponse>

    </soap:Body>
</soap:Envelope>