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/CreateGatewayLogJobExecution HTTP/1.1
Host: gateway-mired.bancocuscatlan.com.gt
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<CreateGatewayLogJobExecution xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartBanking.BankAgent.ApiGateway.Providers.ApiGateway" />
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<CreateGatewayLogJobExecutionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartBanking.BankAgent.ApiGateway.Providers.ApiGateway">
<ResponseStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/SmartBanking.BankAgent.ApiGateway.Services.Utils">
<ErrorCode xmlns="http://schemas.servicestack.net/types">String</ErrorCode>
<Message xmlns="http://schemas.servicestack.net/types">String</Message>
<StackTrace xmlns="http://schemas.servicestack.net/types">String</StackTrace>
<Errors xmlns="http://schemas.servicestack.net/types">
<ResponseError>
<ErrorCode>String</ErrorCode>
<FieldName>String</FieldName>
<Message>String</Message>
<Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:KeyValueOfstringstring>
<d5p1:Key>String</d5p1:Key>
<d5p1:Value>String</d5p1:Value>
</d5p1:KeyValueOfstringstring>
</Meta>
</ResponseError>
</Errors>
<Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.servicestack.net/types">
<d3p1:KeyValueOfstringstring>
<d3p1:Key>String</d3p1:Key>
<d3p1:Value>String</d3p1:Value>
</d3p1:KeyValueOfstringstring>
</Meta>
<d2p1:AdditionalData xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:KeyValueOfstringanyType>
<d3p1:Key>String</d3p1:Key>
<d3p1:Value />
</d3p1:KeyValueOfstringanyType>
</d2p1:AdditionalData>
<d2p1:PublicDescription>String</d2p1:PublicDescription>
<d2p1:Visible>false</d2p1:Visible>
</ResponseStatus>
</CreateGatewayLogJobExecutionResponse>