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 /client_tcc/edit/{Id} HTTP/1.1
Host: api.fxhub.co.za
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<GetClientTccResponse 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:ApplicationStatus>String</d2p1:ApplicationStatus>
<d2p1:Charges>0</d2p1:Charges>
<d2p1:ChargesDate>0001-01-01T00:00:00</d2p1:ChargesDate>
<d2p1:ChargesInvoice>String</d2p1:ChargesInvoice>
<d2p1:ChargesType>String</d2p1:ChargesType>
<d2p1:ClientId>0</d2p1:ClientId>
<d2p1:Comments>String</d2p1:Comments>
<d2p1:ExpiryDate>0001-01-01T00:00:00</d2p1:ExpiryDate>
<d2p1:FirstLastName>String</d2p1:FirstLastName>
<d2p1:FullNames>String</d2p1:FullNames>
<d2p1:HasTccDocs>false</d2p1:HasTccDocs>
<d2p1:Id>0</d2p1:Id>
<d2p1:InitialSend>0001-01-01T00:00:00</d2p1:InitialSend>
<d2p1:IssueDate>0001-01-01T00:00:00</d2p1:IssueDate>
<d2p1:PartnerId>0</d2p1:PartnerId>
<d2p1:PartnerName>String</d2p1:PartnerName>
<d2p1:TccIssuer>String</d2p1:TccIssuer>
<d2p1:TccPin>String</d2p1:TccPin>
<d2p1:TccValue>0</d2p1:TccValue>
<d2p1:TimeElapsed>0</d2p1:TimeElapsed>
<d2p1:UpdatedAt>0001-01-01T00:00:00</d2p1:UpdatedAt>
</Result>
</GetClientTccResponse>