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/PricingToolCatalogEntrySearchRequest HTTP/1.1
Host: mobileapidevsw.greysheet.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<PricingToolCatalogEntrySearchRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cdn.MobileApi.RequestObjects">
<CatalogId>0</CatalogId>
<CustId>0</CustId>
<Keywords>String</Keywords>
<Skip>0</Skip>
<Take>0</Take>
</PricingToolCatalogEntrySearchRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<PricingToolCatalogEntrySearchResponse 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>
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cdn.MobileApi.Models">
<d2p1:CatalogEntryObject>
<d2p1:CatalogId>0</d2p1:CatalogId>
<d2p1:CatalogName>String</d2p1:CatalogName>
<d2p1:CatalogPermalink>String</d2p1:CatalogPermalink>
<d2p1:CatalogSort>0</d2p1:CatalogSort>
<d2p1:CdnLabel>String</d2p1:CdnLabel>
<d2p1:CdnPublicationId>String</d2p1:CdnPublicationId>
<d2p1:CdnValid>false</d2p1:CdnValid>
<d2p1:CoinDate>String</d2p1:CoinDate>
<d2p1:CoinPlex>String</d2p1:CoinPlex>
<d2p1:CoinageType>String</d2p1:CoinageType>
<d2p1:CoinageYears>String</d2p1:CoinageYears>
<d2p1:Composition>String</d2p1:Composition>
<d2p1:DenominationLong>String</d2p1:DenominationLong>
<d2p1:DenominationShort>String</d2p1:DenominationShort>
<d2p1:Desg>String</d2p1:Desg>
<d2p1:Designer>String</d2p1:Designer>
<d2p1:Diameter>String</d2p1:Diameter>
<d2p1:DisplayTitle>String</d2p1:DisplayTitle>
<d2p1:EbayCategory1>0</d2p1:EbayCategory1>
<d2p1:EbayCategory2>0</d2p1:EbayCategory2>
<d2p1:Edge>String</d2p1:Edge>
<d2p1:EntryId>0</d2p1:EntryId>
<d2p1:EntrySort>0</d2p1:EntrySort>
<d2p1:Fineness>String</d2p1:Fineness>
<d2p1:GeneralNotes>String</d2p1:GeneralNotes>
<d2p1:GroupId>0</d2p1:GroupId>
<d2p1:GroupName>String</d2p1:GroupName>
<d2p1:GroupPermalink>String</d2p1:GroupPermalink>
<d2p1:GroupSort>0</d2p1:GroupSort>
<d2p1:ImageUrl>String</d2p1:ImageUrl>
<d2p1:IntRef>0</d2p1:IntRef>
<d2p1:IsSet>false</d2p1:IsSet>
<d2p1:IsType>false</d2p1:IsType>
<d2p1:Krause>String</d2p1:Krause>
<d2p1:LastMod>0001-01-01T00:00:00</d2p1:LastMod>
<d2p1:LastModBy>String</d2p1:LastModBy>
<d2p1:MintLocation>String</d2p1:MintLocation>
<d2p1:MintMark>String</d2p1:MintMark>
<d2p1:Mintage>String</d2p1:Mintage>
<d2p1:Ngc>String</d2p1:Ngc>
<d2p1:ObverseDescription>String</d2p1:ObverseDescription>
<d2p1:Other>String</d2p1:Other>
<d2p1:ParentId>0</d2p1:ParentId>
<d2p1:ParentIntRef>0</d2p1:ParentIntRef>
<d2p1:PcgsNumber>String</d2p1:PcgsNumber>
<d2p1:Permalink>String</d2p1:Permalink>
<d2p1:Prefix>String</d2p1:Prefix>
<d2p1:PriceHigh>0</d2p1:PriceHigh>
<d2p1:PriceLow>0</d2p1:PriceLow>
<d2p1:PrintCpgValid>false</d2p1:PrintCpgValid>
<d2p1:PrintGreyValid>false</d2p1:PrintGreyValid>
<d2p1:ReverseDescription>String</d2p1:ReverseDescription>
<d2p1:SeriesId>0</d2p1:SeriesId>
<d2p1:SeriesName>String</d2p1:SeriesName>
<d2p1:SeriesPermalink>String</d2p1:SeriesPermalink>
<d2p1:SeriesSort>0</d2p1:SeriesSort>
<d2p1:SetIds>String</d2p1:SetIds>
<d2p1:StrikeType>String</d2p1:StrikeType>
<d2p1:Title>String</d2p1:Title>
<d2p1:TypeChildIds>String</d2p1:TypeChildIds>
<d2p1:Variety>String</d2p1:Variety>
<d2p1:Variety2>String</d2p1:Variety2>
<d2p1:WeightGrams>String</d2p1:WeightGrams>
<d2p1:WeightOunces>String</d2p1:WeightOunces>
</d2p1:CatalogEntryObject>
</Data>
</PricingToolCatalogEntrySearchResponse>