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 /PricingToolAprXmlRequest HTTP/1.1
Host: cdnapidev.greysheet.com
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<PricingToolAprResponse 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>
<AccessRemaining>0</AccessRemaining>
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cdn.Api.Dto">
<d2p1:CdnxAprData>
<d2p1:Amount>0</d2p1:Amount>
<d2p1:AprId>0</d2p1:AprId>
<d2p1:AuctionHouseAbbrev>String</d2p1:AuctionHouseAbbrev>
<d2p1:AuctionHouseName>String</d2p1:AuctionHouseName>
<d2p1:CdnEntryId>0</d2p1:CdnEntryId>
<d2p1:CdnxEntryCode>String</d2p1:CdnxEntryCode>
<d2p1:Description>String</d2p1:Description>
<d2p1:EntryName>String</d2p1:EntryName>
<d2p1:Grade>String</d2p1:Grade>
<d2p1:Images xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>String</d4p1:string>
</d2p1:Images>
<d2p1:InternalGrade>0</d2p1:InternalGrade>
<d2p1:IsCac>false</d2p1:IsCac>
<d2p1:IsSold>false</d2p1:IsSold>
<d2p1:LinkUrl>String</d2p1:LinkUrl>
<d2p1:SaleDate>0001-01-01T00:00:00</d2p1:SaleDate>
<d2p1:SaleName>String</d2p1:SaleName>
<d2p1:Service>String</d2p1:Service>
</d2p1:CdnxAprData>
</Data>
<PermitAccess>false</PermitAccess>
</PricingToolAprResponse>