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 /IapOfferingCreateRequest HTTP/1.1
Host: cdnapidev.greysheet.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<IapOfferingCreateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cdn.Api.RequestObjects">
<DisplayName>String</DisplayName>
<LookupKey>String</LookupKey>
</IapOfferingCreateRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<IapOfferingResponse 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>
<Offering xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cdn.Api.Models.Iap">
<d2p1:CreatedAt>0</d2p1:CreatedAt>
<d2p1:DisplayName>String</d2p1:DisplayName>
<d2p1:Extra xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
<d2p1:Id>String</d2p1:Id>
<d2p1:IsCurrent>false</d2p1:IsCurrent>
<d2p1:LookupKey>String</d2p1:LookupKey>
<d2p1:Metadata xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:KeyValueOfstringanyType>
<d3p1:Key>String</d3p1:Key>
<d3p1:Value />
</d3p1:KeyValueOfstringanyType>
</d2p1:Metadata>
<d2p1:Object>String</d2p1:Object>
<d2p1:Packages>
<d2p1:Items>
<d2p1:RcPackage>
<d2p1:DisplayName>String</d2p1:DisplayName>
<d2p1:Extra xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
<d2p1:Id>String</d2p1:Id>
<d2p1:LookupKey>String</d2p1:LookupKey>
<d2p1:Object>String</d2p1:Object>
<d2p1:Position>0</d2p1:Position>
</d2p1:RcPackage>
</d2p1:Items>
<d2p1:NextPage>String</d2p1:NextPage>
<d2p1:Object>String</d2p1:Object>
<d2p1:Url>String</d2p1:Url>
</d2p1:Packages>
<d2p1:ProjectId>String</d2p1:ProjectId>
</Offering>
<Status>String</Status>
</IapOfferingResponse>