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 /WPMGetAuctionsRequest HTTP/1.1
Host: cdnapidev.greysheet.com
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<WPMGetAuctionsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cdn.Api.ResponseObjects">
<Auctions xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cdn.Api.Dto">
<d2p1:WPMAuctionResultDto>
<d2p1:Comments>String</d2p1:Comments>
<d2p1:Date>0001-01-01T00:00:00</d2p1:Date>
<d2p1:Grade>0</d2p1:Grade>
<d2p1:GradedBy>String</d2p1:GradedBy>
<d2p1:LotNum>String</d2p1:LotNum>
<d2p1:PQ>String</d2p1:PQ>
<d2p1:Pack>String</d2p1:Pack>
<d2p1:PickNum>String</d2p1:PickNum>
<d2p1:Price>0</d2p1:Price>
<d2p1:Repl>String</d2p1:Repl>
<d2p1:Sheet>String</d2p1:Sheet>
<d2p1:Source>String</d2p1:Source>
</d2p1:WPMAuctionResultDto>
</Auctions>
<NoteDate>String</NoteDate>
<NoteDenom>String</NoteDenom>
</WPMGetAuctionsResponse>