CpgPricingRequest

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


Parameters
PCGSNum* string a valid PCGS Number
EntryId* long a valid Catalog Entry Id
Grade* int a valid Grade
CatalogId long a valid CatalogId.
A valid CatalogId is required when attempting to retrieve pricing for anything other than US Coins..
Note: Either PcgsNum or EntryId is required, but not both. If both are supplied, EntryId will be used.
Grade is always required.
Example Response JSON
                                        
{
    "Cpg": 1040,
    "ItemUrl": "https://www.greysheet.com/coin-prices/detail?entryid=3089&grade=60",
    "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>
        <ItemUrl>"https://www.greysheet.com/coin-prices/detail?entryid=3089&grade=60"</ItemUrl>
    </CpgPricingResponse>

                                
Return Values
Cpg decimal CPG Value
ItemUrl string Url of the Pricing Tool page on the Greysheet Website where more information about the item can be found.
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