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/StartSmartIdLogOutAlertQueue HTTP/1.1
Host: gateway-mired.bancocuscatlan.com.gt
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<StartSmartIdLogOutAlertQueue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartBanking.BankAgent.ApiGateway.Model.SmartId">
<Log xmlns:d2p1="http://schemas.datacontract.org/2004/07/SmartBanking.BankAgent.ApiGateway.Data.Models">
<d2p1:CipherData>String</d2p1:CipherData>
<d2p1:CreatedAt>0001-01-01T00:00:00</d2p1:CreatedAt>
<d2p1:Data>String</d2p1:Data>
<d2p1:ElasticExceptionMessage>String</d2p1:ElasticExceptionMessage>
<d2p1:ElasticJobExceptionMessage>String</d2p1:ElasticJobExceptionMessage>
<d2p1:ElasticJobStackTrace>String</d2p1:ElasticJobStackTrace>
<d2p1:ElasticStackTrace>String</d2p1:ElasticStackTrace>
<d2p1:Id>String</d2p1:Id>
<d2p1:Method>String</d2p1:Method>
<d2p1:Operation>String</d2p1:Operation>
<d2p1:OperationDescription>String</d2p1:OperationDescription>
<d2p1:Response>String</d2p1:Response>
<d2p1:ResponseCode>String</d2p1:ResponseCode>
<d2p1:ResponseException>String</d2p1:ResponseException>
<d2p1:ResponseMessage>String</d2p1:ResponseMessage>
<d2p1:ResponseTime>0</d2p1:ResponseTime>
<d2p1:RetryCount>0</d2p1:RetryCount>
<d2p1:Service>String</d2p1:Service>
<d2p1:ServiceUrl>String</d2p1:ServiceUrl>
<d2p1:SubGroupId>0</d2p1:SubGroupId>
<d2p1:UpdatedAt>0001-01-01T00:00:00</d2p1:UpdatedAt>
<d2p1:UserId>0</d2p1:UserId>
</Log>
<Request>
<ChannelId>0</ChannelId>
<Data>String</Data>
<PublicIp>String</PublicIp>
<Session>String</Session>
<User>String</User>
</Request>
</StartSmartIdLogOutAlertQueue>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<StartSmartIdLogOutAlertQueueResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartBanking.BankAgent.ApiGateway.Model.SmartId">
<ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:Message>String</d2p1:Message>
<d2p1:StackTrace>String</d2p1:StackTrace>
<d2p1:Errors>
<d2p1:ResponseError>
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:FieldName>String</d2p1:FieldName>
<d2p1:Message>String</d2p1:Message>
<d2p1: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>
</d2p1:Meta>
</d2p1:ResponseError>
</d2p1:Errors>
<d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:KeyValueOfstringstring>
<d3p1:Key>String</d3p1:Key>
<d3p1:Value>String</d3p1:Value>
</d3p1:KeyValueOfstringstring>
</d2p1:Meta>
</ResponseStatus>
</StartSmartIdLogOutAlertQueueResponse>