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/WPMGetAuctionsRequest HTTP/1.1
Host: cdnapidev.greysheet.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<WPMGetAuctionsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cdn.Api.RequestObjects">
<CountryName>String</CountryName>
<DisplayRegularNotesOnly>false</DisplayRegularNotesOnly>
<Exclude99>false</Exclude99>
<ExcludeEbay>false</ExcludeEbay>
<GradeFrom>0</GradeFrom>
<GradeTo>0</GradeTo>
<GradedBy>String</GradedBy>
<PickNum>String</PickNum>
<SortBy>String</SortBy>
<Source>String</Source>
<SubValues xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</SubValues>
<TP_Country_Num>0</TP_Country_Num>
</WPMGetAuctionsRequest>
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>
</WPMGetAuctionsResponse>