CpgPricingRequest

Return the CPG® value for a given PCGS number and Grade


Parameters
PCGSNum* int a valid PCGS Number
Grade* int a valid Grade
Example Response JSON

{
  "Cpg": 1040,
  "Total": 1,
  "OpCode": 0,
  "ErrorText": "",
  "RequestTime": "2017-02-03T20:43:13.9657158Z",
  "ResponseTime": "2017-02-03T20:43:14.0957121Z"
}

                                
Example Response XML

<?xml version="1.0" encoding="utf-8" ?>
    <CpgPricingResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cdn.Admin.Models.ResponseObjects">
        <ErrorText></ErrorText>
        <OpCode>0</OpCode>
        <RequestTime>2017-02-03T21:34:01.4842121Z</RequestTime>
        <ResponseTime>2017-02-03T21:34:01.5436064Z</ResponseTime>
        <Total>1</Total>
        <Cpg>1040.0000</Cpg>
    </CpgPricingResponse>

                                
Return Values
Cpg decimal CPG Value
Total int for calls which return more than 1 record, this indicates the number of total records
OpCode int 0 - Successful call
Non zero results indicate an error occurred
ErrorText string Error message if an error occurred
RequestTime ISO DateTIme UTC Time of the request
ResponseTime ISO DateTIme UTC Time of the response