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 /members/StatusValues HTTP/1.1
Host: devapi.billhighway.com
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<MemberStatusValuesReply xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common4.DTO.SalesForce">
<AutoPayInfo>
<AccountNumberLastFour>String</AccountNumberLastFour>
<AccountType>String</AccountType>
<AchReference>String</AchReference>
<Address1>String</Address1>
<Address2>String</Address2>
<BillingCity>String</BillingCity>
<BillingState>String</BillingState>
<CardNumberLastFour>String</CardNumberLastFour>
<CardReference>String</CardReference>
<CardType>String</CardType>
<Country>String</Country>
<ExpMonth>0</ExpMonth>
<ExpYear>0</ExpYear>
<LastAutoPayAmount>String</LastAutoPayAmount>
<LastAutoPayDate>String</LastAutoPayDate>
<PayerName>String</PayerName>
<PaymentMethod>String</PaymentMethod>
<PostalCode>String</PostalCode>
<RoutingNumberLastFour>String</RoutingNumberLastFour>
</AutoPayInfo>
<AutoPayStatus>String</AutoPayStatus>
<BhUserId>0</BhUserId>
<BillingTypeId>0</BillingTypeId>
<ClientId>0</ClientId>
<CurrentBalance>String</CurrentBalance>
<ErrorCode>0</ErrorCode>
<ErrorMessage>String</ErrorMessage>
<GroupId>String</GroupId>
<MemberStatusCode>String</MemberStatusCode>
<MemberStatusDesc>String</MemberStatusDesc>
<MemberStatusId>0</MemberStatusId>
<MemberTypeCode>String</MemberTypeCode>
<MemberTypeDesc>String</MemberTypeDesc>
<MemberTypeId>0</MemberTypeId>
<UserId>String</UserId>
</MemberStatusValuesReply>