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 /financial/reporting/ebt HTTP/1.1
Host: devapi.billhighway.com
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ExternalBankTransferReportRs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common4.DTO.Financial.Response">
<EndDate>String</EndDate>
<ErrorCode>0</ErrorCode>
<ErrorMessage>String</ErrorMessage>
<GroupId>String</GroupId>
<GroupName>String</GroupName>
<GroupNickName>String</GroupNickName>
<StartDate>String</StartDate>
<TotalAmount>0</TotalAmount>
<Transfers>
<TransferHeader>
<Amount>0</Amount>
<BankAccount>String</BankAccount>
<BatchId>0</BatchId>
<CashAccount>String</CashAccount>
<ClearedDate>String</ClearedDate>
<Status>String</Status>
<TransactionId>0</TransactionId>
<TransferDate>String</TransferDate>
<TransferDetail>
<TransferDetail>
<Amount>0</Amount>
<ChapBillCatID>String</ChapBillCatID>
<ChartOfAccountDescription>String</ChartOfAccountDescription>
<ChartOfAccountRefID>String</ChartOfAccountRefID>
<CheckNumber>String</CheckNumber>
<ClientUserId>String</ClientUserId>
<Company>String</Company>
<Frequency>String</Frequency>
<HeldPaymentTransactionId>String</HeldPaymentTransactionId>
<Member>String</Member>
<MemberTypeDescription>String</MemberTypeDescription>
<OrderId>String</OrderId>
<ProcessedDate>String</ProcessedDate>
<TransactionId>0</TransactionId>
<TransactionType>String</TransactionType>
</TransferDetail>
</TransferDetail>
</TransferHeader>
</Transfers>
</ExternalBankTransferReportRs>