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 /tcc_remainder/all HTTP/1.1
Host: api.fxlink.co.za
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<GetAllTccRemainderResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FxHubPartnersApi.ServiceModel">
<Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/FxHubPartnersApi.ServiceModel.Types">
<d2p1:TccRemainder>
<d2p1:ApplicationStatus>String</d2p1:ApplicationStatus>
<d2p1:CifNumber>String</d2p1:CifNumber>
<d2p1:ClientId>0</d2p1:ClientId>
<d2p1:DaRemainder>0</d2p1:DaRemainder>
<d2p1:ExpiredPreviousYear>false</d2p1:ExpiredPreviousYear>
<d2p1:FirstLastName>String</d2p1:FirstLastName>
<d2p1:Id>0</d2p1:Id>
<d2p1:InputDate>0001-01-01T00:00:00</d2p1:InputDate>
<d2p1:PartnerId>0</d2p1:PartnerId>
<d2p1:PartnerName>String</d2p1:PartnerName>
<d2p1:Pin>String</d2p1:Pin>
<d2p1:TccId>0</d2p1:TccId>
<d2p1:TccRemainders>0</d2p1:TccRemainders>
<d2p1:TccValue>0</d2p1:TccValue>
<d2p1:TotalTrades>0</d2p1:TotalTrades>
</d2p1:TccRemainder>
</Result>
</GetAllTccRemainderResponse>