To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
GET /PmCollectiblePricingRequest HTTP/1.1
Host: cdnapidev.greysheet.com
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<PmPricingResponse 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>
<GradeLabels xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</GradeLabels>
<Grades xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>0</d2p1:int>
</Grades>
<PricingData xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cdn.Api.Dto">
<d2p1:PmPricingDto>
<d2p1:_x003C_BlueNFormulaData_x003E_k__BackingField xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<d2p1:_x003C_BlueNPricingData_x003E_k__BackingField xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<d2p1:_x003C_BluePFormulaData_x003E_k__BackingField xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<d2p1:_x003C_BluePPricingData_x003E_k__BackingField xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<d2p1:_x003C_BnbNumber_x003E_k__BackingField>String</d2p1:_x003C_BnbNumber_x003E_k__BackingField>
<d2p1:_x003C_CatSort_x003E_k__BackingField>0</d2p1:_x003C_CatSort_x003E_k__BackingField>
<d2p1:_x003C_CatalogId_x003E_k__BackingField>0</d2p1:_x003C_CatalogId_x003E_k__BackingField>
<d2p1:_x003C_CatalogName_x003E_k__BackingField>String</d2p1:_x003C_CatalogName_x003E_k__BackingField>
<d2p1:_x003C_CdnId_x003E_k__BackingField>0</d2p1:_x003C_CdnId_x003E_k__BackingField>
<d2p1:_x003C_CoinDate_x003E_k__BackingField>String</d2p1:_x003C_CoinDate_x003E_k__BackingField>
<d2p1:_x003C_CpgFormulaData_x003E_k__BackingField xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<d2p1:_x003C_CpgPricingData_x003E_k__BackingField xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<d2p1:_x003C_Cpg_x003E_k__BackingField>String</d2p1:_x003C_Cpg_x003E_k__BackingField>
<d2p1:_x003C_Desg_x003E_k__BackingField>String</d2p1:_x003C_Desg_x003E_k__BackingField>
<d2p1:_x003C_EntryId_x003E_k__BackingField>0</d2p1:_x003C_EntryId_x003E_k__BackingField>
<d2p1:_x003C_FlattenedSortOrder_x003E_k__BackingField>0</d2p1:_x003C_FlattenedSortOrder_x003E_k__BackingField>
<d2p1:_x003C_Grade_x003E_k__BackingField>0</d2p1:_x003C_Grade_x003E_k__BackingField>
<d2p1:_x003C_GreyFormulaData_x003E_k__BackingField xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<d2p1:_x003C_GreyPricingData_x003E_k__BackingField xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<d2p1:_x003C_GroupId_x003E_k__BackingField>0</d2p1:_x003C_GroupId_x003E_k__BackingField>
<d2p1:_x003C_GroupName_x003E_k__BackingField>String</d2p1:_x003C_GroupName_x003E_k__BackingField>
<d2p1:_x003C_GroupSort_x003E_k__BackingField>0</d2p1:_x003C_GroupSort_x003E_k__BackingField>
<d2p1:_x003C_Id_x003E_k__BackingField>0</d2p1:_x003C_Id_x003E_k__BackingField>
<d2p1:_x003C_IntRef_x003E_k__BackingField>0</d2p1:_x003C_IntRef_x003E_k__BackingField>
<d2p1:_x003C_IsCac_x003E_k__BackingField>false</d2p1:_x003C_IsCac_x003E_k__BackingField>
<d2p1:_x003C_IsPlus_x003E_k__BackingField>false</d2p1:_x003C_IsPlus_x003E_k__BackingField>
<d2p1:_x003C_IsSet_x003E_k__BackingField>false</d2p1:_x003C_IsSet_x003E_k__BackingField>
<d2p1:_x003C_IsType_x003E_k__BackingField>false</d2p1:_x003C_IsType_x003E_k__BackingField>
<d2p1:_x003C_ParentEntryId_x003E_k__BackingField>0</d2p1:_x003C_ParentEntryId_x003E_k__BackingField>
<d2p1:_x003C_ParentIntRef_x003E_k__BackingField>0</d2p1:_x003C_ParentIntRef_x003E_k__BackingField>
<d2p1:_x003C_PcgsNum_x003E_k__BackingField>String</d2p1:_x003C_PcgsNum_x003E_k__BackingField>
<d2p1:_x003C_Rarity_x003E_k__BackingField>String</d2p1:_x003C_Rarity_x003E_k__BackingField>
<d2p1:_x003C_SeriesId_x003E_k__BackingField>0</d2p1:_x003C_SeriesId_x003E_k__BackingField>
<d2p1:_x003C_SeriesName_x003E_k__BackingField>String</d2p1:_x003C_SeriesName_x003E_k__BackingField>
<d2p1:_x003C_SeriesPermalink_x003E_k__BackingField>String</d2p1:_x003C_SeriesPermalink_x003E_k__BackingField>
<d2p1:_x003C_SeriesSort_x003E_k__BackingField>0</d2p1:_x003C_SeriesSort_x003E_k__BackingField>
<d2p1:_x003C_SetIds_x003E_k__BackingField>String</d2p1:_x003C_SetIds_x003E_k__BackingField>
<d2p1:_x003C_SortOrder_x003E_k__BackingField>0</d2p1:_x003C_SortOrder_x003E_k__BackingField>
<d2p1:_x003C_SortString_x003E_k__BackingField>String</d2p1:_x003C_SortString_x003E_k__BackingField>
<d2p1:_x003C_Title_x003E_k__BackingField>String</d2p1:_x003C_Title_x003E_k__BackingField>
</d2p1:PmPricingDto>
</PricingData>
<RetailTotal>0</RetailTotal>
</PmPricingResponse>