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/PricingToolSeriesPricingRequest HTTP/1.1
Host: mobileapidevsw.greysheet.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<PricingToolSeriesPricingRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cdn.MobileApi.RequestObjects">
<Id>0</Id>
<OrderBy xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</OrderBy>
<OrderDirections>
<SortOrders>Asc</SortOrders>
</OrderDirections>
<CustId>0</CustId>
<SeriesId>0</SeriesId>
</PricingToolSeriesPricingRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<PricingToolSeriesPricingResponse 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>
<AccessRemaining>0</AccessRemaining>
<AllowRetail>false</AllowRetail>
<AllowWholesale>false</AllowWholesale>
<AllowedCatalogsRetail>String</AllowedCatalogsRetail>
<AllowedCatalogsWholesale>String</AllowedCatalogsWholesale>
<AllowedPublications>String</AllowedPublications>
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cdn.MobileApi.Models">
<d2p1:RetailPricingSeriesObjectDto>
<d2p1:CatalogId>0</d2p1:CatalogId>
<d2p1:CatalogName>String</d2p1:CatalogName>
<d2p1:DisplayTitle>String</d2p1:DisplayTitle>
<d2p1:EntryId>0</d2p1:EntryId>
<d2p1:EntryName>String</d2p1:EntryName>
<d2p1:GroupId>0</d2p1:GroupId>
<d2p1:GroupName>String</d2p1:GroupName>
<d2p1:PcgsNumber>String</d2p1:PcgsNumber>
<d2p1:PricingData>
<d2p1:RetailPricingObjectDto>
<d2p1:BlueNPlusMinus>String</d2p1:BlueNPlusMinus>
<d2p1:BlueNPlusMinusValue>String</d2p1:BlueNPlusMinusValue>
<d2p1:BlueNPrevDate>String</d2p1:BlueNPrevDate>
<d2p1:BlueNPrevVal>String</d2p1:BlueNPrevVal>
<d2p1:BlueNVal>String</d2p1:BlueNVal>
<d2p1:BluePPlusMinus>String</d2p1:BluePPlusMinus>
<d2p1:BluePPlusMinusValue>String</d2p1:BluePPlusMinusValue>
<d2p1:BluePPrevDate>String</d2p1:BluePPrevDate>
<d2p1:BluePPrevVal>String</d2p1:BluePPrevVal>
<d2p1:BluePVal>String</d2p1:BluePVal>
<d2p1:CatalogId>0</d2p1:CatalogId>
<d2p1:CpgPlusMinus>String</d2p1:CpgPlusMinus>
<d2p1:CpgPlusMinusValue>String</d2p1:CpgPlusMinusValue>
<d2p1:CpgPrevDate>String</d2p1:CpgPrevDate>
<d2p1:CpgPrevVal>String</d2p1:CpgPrevVal>
<d2p1:CpgVal>String</d2p1:CpgVal>
<d2p1:EntryId>0</d2p1:EntryId>
<d2p1:Grade>0</d2p1:Grade>
<d2p1:GradeLabel>String</d2p1:GradeLabel>
<d2p1:GreenPlusMinus>String</d2p1:GreenPlusMinus>
<d2p1:GreenPlusMinusValue>String</d2p1:GreenPlusMinusValue>
<d2p1:GreenPrevDate>String</d2p1:GreenPrevDate>
<d2p1:GreenPrevVal>String</d2p1:GreenPrevVal>
<d2p1:GreenVal>String</d2p1:GreenVal>
<d2p1:GreyPlusMinus>String</d2p1:GreyPlusMinus>
<d2p1:GreyPlusMinusValue>String</d2p1:GreyPlusMinusValue>
<d2p1:GreyPrevDate>String</d2p1:GreyPrevDate>
<d2p1:GreyPrevVal>String</d2p1:GreyPrevVal>
<d2p1:GreyVal>String</d2p1:GreyVal>
<d2p1:IsCac>false</d2p1:IsCac>
</d2p1:RetailPricingObjectDto>
</d2p1:PricingData>
<d2p1:SeriesId>0</d2p1:SeriesId>
<d2p1:SeriesName>String</d2p1:SeriesName>
<d2p1:SortOrder>0</d2p1:SortOrder>
<d2p1:SortString>String</d2p1:SortString>
</d2p1:RetailPricingSeriesObjectDto>
</Data>
<PermitAccess>false</PermitAccess>
</PricingToolSeriesPricingResponse>