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.
POST /xml/reply/PricingToolRetailPricingRequest HTTP/1.1
Host: mobileapidevsw.greysheet.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<PricingToolRetailPricingRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cdn.MobileApi.RequestObjects">
<Id>0</Id>
<OrderBy xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</OrderBy>
<OrderDirections>
<SortOrders>Asc</SortOrders>
</OrderDirections>
<Cac>false</Cac>
<CatalogId>0</CatalogId>
<CustId>0</CustId>
<EntryId>0</EntryId>
<ExcludeSets>false</ExcludeSets>
<Grade>0</Grade>
<IncludeType>false</IncludeType>
<IsMobile>false</IsMobile>
<Keywords>String</Keywords>
<Page>0</Page>
<PcgsNum>String</PcgsNum>
<Series>String</Series>
<SeriesId>0</SeriesId>
<SeriesList>String</SeriesList>
<SetOnly>false</SetOnly>
<Skip>0</Skip>
<Take>0</Take>
</PricingToolRetailPricingRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<PricingToolRetailPricingResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cdn.MobileApi.ResponseObjects">
<CachedResponse>false</CachedResponse>
<ErrorText>String</ErrorText>
<OpCode>0</OpCode>
<RequestTime>String</RequestTime>
<ResponseTime>String</ResponseTime>
<Total>0</Total>
<TotalExecutionTime>String</TotalExecutionTime>
<AccessRemaining>0</AccessRemaining>
<AllowRetail>false</AllowRetail>
<AllowWholesale>false</AllowWholesale>
<AllowedCatalogsRetail>String</AllowedCatalogsRetail>
<AllowedCatalogsWholesale>String</AllowedCatalogsWholesale>
<AllowedPricingCalls>0</AllowedPricingCalls>
<AllowedPublications>String</AllowedPublications>
<BlueGradeLabels xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</BlueGradeLabels>
<BlueGrades xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>0</d2p1:int>
</BlueGrades>
<BlueHasData>false</BlueHasData>
<BluePricingData xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cdn.MobileApi.Models">
<d2p1:RetailPricingDto>
<d2p1:_x003C_BlueNPricingData_x003E_k__BackingField xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<d2p1:_x003C_BlueNPricingPrevData_x003E_k__BackingField xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<d2p1:_x003C_BlueNPricingPrevDateData_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_BluePPricingPrevData_x003E_k__BackingField xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<d2p1:_x003C_BluePPricingPrevDateData_x003E_k__BackingField xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<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_CoinDate_x003E_k__BackingField>String</d2p1:_x003C_CoinDate_x003E_k__BackingField>
<d2p1:_x003C_CpgPricingData_x003E_k__BackingField xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<d2p1:_x003C_CpgPricingPrevData_x003E_k__BackingField xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<d2p1:_x003C_CpgPricingPrevDateData_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_DisplayTitle_x003E_k__BackingField>String</d2p1:_x003C_DisplayTitle_x003E_k__BackingField>
<d2p1:_x003C_EbayCatalogId_x003E_k__BackingField>0</d2p1:_x003C_EbayCatalogId_x003E_k__BackingField>
<d2p1:_x003C_EbayUrl_x003E_k__BackingField>String</d2p1:_x003C_EbayUrl_x003E_k__BackingField>
<d2p1:_x003C_EntryId_x003E_k__BackingField>0</d2p1:_x003C_EntryId_x003E_k__BackingField>
<d2p1:_x003C_Grade_x003E_k__BackingField>0</d2p1:_x003C_Grade_x003E_k__BackingField>
<d2p1:_x003C_GreenPricingData_x003E_k__BackingField xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<d2p1:_x003C_GreenPricingPrevData_x003E_k__BackingField xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<d2p1:_x003C_GreenPricingPrevDateData_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_GreyPricingPrevData_x003E_k__BackingField xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<d2p1:_x003C_GreyPricingPrevDateData_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_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_MstId_x003E_k__BackingField>0</d2p1:_x003C_MstId_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_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_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:RetailPricingDto>
</BluePricingData>
<BlueTotal>0</BlueTotal>
<ConsumedPricingCalls>0</ConsumedPricingCalls>
<FreeTier>false</FreeTier>
<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>
<GreenHasData>false</GreenHasData>
<GreyHasData>false</GreyHasData>
<PermitAccess>false</PermitAccess>
<PricingData xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cdn.MobileApi.Models">
<d2p1:RetailPricingDto>
<d2p1:_x003C_BlueNPricingData_x003E_k__BackingField xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<d2p1:_x003C_BlueNPricingPrevData_x003E_k__BackingField xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<d2p1:_x003C_BlueNPricingPrevDateData_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_BluePPricingPrevData_x003E_k__BackingField xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<d2p1:_x003C_BluePPricingPrevDateData_x003E_k__BackingField xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<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_CoinDate_x003E_k__BackingField>String</d2p1:_x003C_CoinDate_x003E_k__BackingField>
<d2p1:_x003C_CpgPricingData_x003E_k__BackingField xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<d2p1:_x003C_CpgPricingPrevData_x003E_k__BackingField xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<d2p1:_x003C_CpgPricingPrevDateData_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_DisplayTitle_x003E_k__BackingField>String</d2p1:_x003C_DisplayTitle_x003E_k__BackingField>
<d2p1:_x003C_EbayCatalogId_x003E_k__BackingField>0</d2p1:_x003C_EbayCatalogId_x003E_k__BackingField>
<d2p1:_x003C_EbayUrl_x003E_k__BackingField>String</d2p1:_x003C_EbayUrl_x003E_k__BackingField>
<d2p1:_x003C_EntryId_x003E_k__BackingField>0</d2p1:_x003C_EntryId_x003E_k__BackingField>
<d2p1:_x003C_Grade_x003E_k__BackingField>0</d2p1:_x003C_Grade_x003E_k__BackingField>
<d2p1:_x003C_GreenPricingData_x003E_k__BackingField xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<d2p1:_x003C_GreenPricingPrevData_x003E_k__BackingField xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<d2p1:_x003C_GreenPricingPrevDateData_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_GreyPricingPrevData_x003E_k__BackingField xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<d2p1:_x003C_GreyPricingPrevDateData_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_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_MstId_x003E_k__BackingField>0</d2p1:_x003C_MstId_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_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_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:RetailPricingDto>
</PricingData>
<RetailTotal>0</RetailTotal>
<ShowAccessPopup>false</ShowAccessPopup>
<ShowBlue>false</ShowBlue>
<ShowGreen>false</ShowGreen>
<ShowGrey>false</ShowGrey>
</PricingToolRetailPricingResponse>