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 /EbaySellerRequest HTTP/1.1
Host: cdnapidev.greysheet.com
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<EbaySellerResponse 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>
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cdn.Api.DatabaseObjects">
<d2p1:MarketplaceLocalItem>
<d2p1:Active>false</d2p1:Active>
<d2p1:AprId>0</d2p1:AprId>
<d2p1:AskId>0</d2p1:AskId>
<d2p1:AuctionEnds>String</d2p1:AuctionEnds>
<d2p1:AuctionHouseAbbrev>String</d2p1:AuctionHouseAbbrev>
<d2p1:AuctionHouseName>String</d2p1:AuctionHouseName>
<d2p1:AuctionSoldFor>0</d2p1:AuctionSoldFor>
<d2p1:Avatar>String</d2p1:Avatar>
<d2p1:CallForPrice>false</d2p1:CallForPrice>
<d2p1:Catalog>String</d2p1:Catalog>
<d2p1:CatalogSort>0</d2p1:CatalogSort>
<d2p1:Catalog_Id>0</d2p1:Catalog_Id>
<d2p1:CdnEntryId>0</d2p1:CdnEntryId>
<d2p1:CdnxEntryCode>String</d2p1:CdnxEntryCode>
<d2p1:CompanyName>String</d2p1:CompanyName>
<d2p1:CustomerId>0</d2p1:CustomerId>
<d2p1:Description>String</d2p1:Description>
<d2p1:Details>false</d2p1:Details>
<d2p1:EbayItemJson>String</d2p1:EbayItemJson>
<d2p1:EntryImageSource>String</d2p1:EntryImageSource>
<d2p1:EntryImageUrl>String</d2p1:EntryImageUrl>
<d2p1:EntryImageUrlLocal>String</d2p1:EntryImageUrlLocal>
<d2p1:EntryName>String</d2p1:EntryName>
<d2p1:EntrySort>0</d2p1:EntrySort>
<d2p1:Error>false</d2p1:Error>
<d2p1:ExpireDate>String</d2p1:ExpireDate>
<d2p1:Extended>String</d2p1:Extended>
<d2p1:FullGrade>String</d2p1:FullGrade>
<d2p1:Grade>0</d2p1:Grade>
<d2p1:Group>String</d2p1:Group>
<d2p1:GroupSort>0</d2p1:GroupSort>
<d2p1:Group_id>0</d2p1:Group_id>
<d2p1:Id>String</d2p1:Id>
<d2p1:Images>String</d2p1:Images>
<d2p1:ImagesAreLocal>false</d2p1:ImagesAreLocal>
<d2p1:IsAuction>false</d2p1:IsAuction>
<d2p1:IsCac>false</d2p1:IsCac>
<d2p1:IsSold>false</d2p1:IsSold>
<d2p1:ItemSource>String</d2p1:ItemSource>
<d2p1:LastMod>0001-01-01T00:00:00</d2p1:LastMod>
<d2p1:LastModBy>String</d2p1:LastModBy>
<d2p1:LastModified>String</d2p1:LastModified>
<d2p1:PaperQuality>String</d2p1:PaperQuality>
<d2p1:Price>0</d2p1:Price>
<d2p1:Quantity>0</d2p1:Quantity>
<d2p1:Rec_type>String</d2p1:Rec_type>
<d2p1:Series>String</d2p1:Series>
<d2p1:SeriesSort>0</d2p1:SeriesSort>
<d2p1:Series_id>0</d2p1:Series_id>
<d2p1:Service>String</d2p1:Service>
<d2p1:SightCode>String</d2p1:SightCode>
<d2p1:SortOrder>0</d2p1:SortOrder>
<d2p1:SpotBased>false</d2p1:SpotBased>
<d2p1:SpotDollarPercent>String</d2p1:SpotDollarPercent>
<d2p1:SpotMessage>String</d2p1:SpotMessage>
<d2p1:SpotOffset>0</d2p1:SpotOffset>
<d2p1:SpotPlusMinus>String</d2p1:SpotPlusMinus>
<d2p1:Url>String</d2p1:Url>
<d2p1:UserCode>String</d2p1:UserCode>
<d2p1:UserId>0</d2p1:UserId>
</d2p1:MarketplaceLocalItem>
</Data>
</EbaySellerResponse>