Cdn API - CPG Source

<back to all web services

RetailPricingV2Request

Cdn.Api

RetailPricingV2Request Parameters:
NameParameterData TypeRequiredDescription
NodeIdbodylongNo
GsidbodylongNo
GsidListbodyList<long>No
PcgsNumberbodystringNo
FrNumberbodystringNo
GradebodyintNo
MinGradebodyintNo
MaxGradebodyintNo
IsCacbodyboolNo
ShowAllGradesbodyboolNo
RetailPricingV2Response Parameters:
NameParameterData TypeRequiredDescription
DataformList<CdnPricingDataDto>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
TotalformintNo
OpCodeformintNo
ErrorTextformstringNo
RequestTimeformstringNo
ResponseTimeformstringNo
TotalExecutionTimeformstringNo
CachedResponseformboolNo
CdnPricingDataDto Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
GsIdformlongNo
NameformstringNo
CdnLabelformstringNo
SortingPositionformintNo
PrintSeriesNameformstringNo
MintageformstringNo
RedBookLabelformstringNo
IsTypeformboolNo
IsSetformboolNo
UiParentIdformlongNo
PricingDataformList<CdnPricingItemDto>No
CdnPricingItemDto Parameters:
NameParameterData TypeRequiredDescription
GradeformintNo
GradeLabelformstringNo
IsCacformboolNo
CpgPlusMinusValueformstringNo
CpgValformstringNo
CpgPrevValformstringNo
CpgPrevDateformstringNo
GreyPlusMinusValueformstringNo
GreyValformstringNo
GreyPrevValformstringNo
GreyPrevDateformstringNo
GreyFormulaformstringNo
PcgsPlusMinusValueformstringNo
PcgsValformstringNo
PcgsPrevValformstringNo
PcgsPrevDateformstringNo
PcgsFormulaformstringNo
NgcPlusMinusValueformstringNo
NgcValformstringNo
NgcPrevValformstringNo
NgcPrevDateformstringNo
NgcFormulaformstringNo
BlueBookPlusMinusValueformstringNo
BlueBookValformstringNo
BlueBookPrevValformstringNo
BlueBookPrevDateformstringNo

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: RetailPricingV2Request

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

<RetailPricingV2Request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cdn.Api.RequestObjects">
  <FrNumber>String</FrNumber>
  <Grade>0</Grade>
  <Gsid>0</Gsid>
  <GsidList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>0</d2p1:long>
  </GsidList>
  <IsCac>false</IsCac>
  <MaxGrade>0</MaxGrade>
  <MinGrade>0</MinGrade>
  <NodeId>0</NodeId>
  <PcgsNumber>String</PcgsNumber>
  <ShowAllGrades>false</ShowAllGrades>
</RetailPricingV2Request>

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

<RetailPricingV2Response 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:CdnPricingDataDto>
      <d2p1:CdnLabel>String</d2p1:CdnLabel>
      <d2p1:GsId>0</d2p1:GsId>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:IsSet>false</d2p1:IsSet>
      <d2p1:IsType>false</d2p1:IsType>
      <d2p1:Mintage>String</d2p1:Mintage>
      <d2p1:Name>String</d2p1:Name>
      <d2p1:PricingData>
        <d2p1:CdnPricingItemDto>
          <d2p1:BlueBookPlusMinusValue>String</d2p1:BlueBookPlusMinusValue>
          <d2p1:BlueBookPrevDate>String</d2p1:BlueBookPrevDate>
          <d2p1:BlueBookPrevVal>String</d2p1:BlueBookPrevVal>
          <d2p1:BlueBookVal>String</d2p1:BlueBookVal>
          <d2p1:CpgPlusMinusValue>String</d2p1:CpgPlusMinusValue>
          <d2p1:CpgPrevDate>String</d2p1:CpgPrevDate>
          <d2p1:CpgPrevVal>String</d2p1:CpgPrevVal>
          <d2p1:CpgVal>String</d2p1:CpgVal>
          <d2p1:Grade>0</d2p1:Grade>
          <d2p1:GradeLabel>String</d2p1:GradeLabel>
          <d2p1:GreyFormula>String</d2p1:GreyFormula>
          <d2p1:GreyPlusMinusValue>String</d2p1:GreyPlusMinusValue>
          <d2p1:GreyPrevDate>String</d2p1:GreyPrevDate>
          <d2p1:GreyPrevVal>String</d2p1:GreyPrevVal>
          <d2p1:GreyVal>String</d2p1:GreyVal>
          <d2p1:IsCac>false</d2p1:IsCac>
          <d2p1:NgcFormula>String</d2p1:NgcFormula>
          <d2p1:NgcPlusMinusValue>String</d2p1:NgcPlusMinusValue>
          <d2p1:NgcPrevDate>String</d2p1:NgcPrevDate>
          <d2p1:NgcPrevVal>String</d2p1:NgcPrevVal>
          <d2p1:NgcVal>String</d2p1:NgcVal>
          <d2p1:PcgsFormula>String</d2p1:PcgsFormula>
          <d2p1:PcgsPlusMinusValue>String</d2p1:PcgsPlusMinusValue>
          <d2p1:PcgsPrevDate>String</d2p1:PcgsPrevDate>
          <d2p1:PcgsPrevVal>String</d2p1:PcgsPrevVal>
          <d2p1:PcgsVal>String</d2p1:PcgsVal>
        </d2p1:CdnPricingItemDto>
      </d2p1:PricingData>
      <d2p1:PrintSeriesName>String</d2p1:PrintSeriesName>
      <d2p1:RedBookLabel>String</d2p1:RedBookLabel>
      <d2p1:SortingPosition>0</d2p1:SortingPosition>
      <d2p1:UiParentId>0</d2p1:UiParentId>
    </d2p1:CdnPricingDataDto>
  </Data>
</RetailPricingV2Response>

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