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/R_InvoiceReportInfos HTTP/1.1
Host: regapi.pumpalarm.com
Content-Type: application/xml
Content-Length: length
<R_InvoiceReportInfos xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Registrar.Model.Model.Views">
<EndChargeOnDateTicks>0</EndChargeOnDateTicks>
<EndPaidOnDateTicks>0</EndPaidOnDateTicks>
<StartChargeOnDateTicks>0</StartChargeOnDateTicks>
<StartPaidOnDateTicks>0</StartPaidOnDateTicks>
</R_InvoiceReportInfos>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ArrayOfR_InvoiceReportInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Registrar.Model.Model.Views">
<R_InvoiceReportInfo>
<Customer xmlns:d3p1="http://schemas.datacontract.org/2004/07/Registrar.Model.Model.Data">
<d3p1:AccountId>0</d3p1:AccountId>
<d3p1:Address1>String</d3p1:Address1>
<d3p1:Address2>String</d3p1:Address2>
<d3p1:CardCode>String</d3p1:CardCode>
<d3p1:City>String</d3p1:City>
<d3p1:Country>String</d3p1:Country>
<d3p1:CreationDateTime>0001-01-01T00:00:00</d3p1:CreationDateTime>
<d3p1:CreditCardNumber>String</d3p1:CreditCardNumber>
<d3p1:Email>String</d3p1:Email>
<d3p1:ExpirationMonth>0</d3p1:ExpirationMonth>
<d3p1:ExpirationYear>0</d3p1:ExpirationYear>
<d3p1:FirstName>String</d3p1:FirstName>
<d3p1:Id>0</d3p1:Id>
<d3p1:LastName>String</d3p1:LastName>
<d3p1:NeedToUpdatePaymentInfo>false</d3p1:NeedToUpdatePaymentInfo>
<d3p1:PhoneNumber>String</d3p1:PhoneNumber>
<d3p1:StateProvince>String</d3p1:StateProvince>
<d3p1:TotalNumberOfRecords>0</d3p1:TotalNumberOfRecords>
<d3p1:UpdatePaymentInfoDate>0001-01-01T00:00:00</d3p1:UpdatePaymentInfoDate>
<d3p1:ZipCode>String</d3p1:ZipCode>
</Customer>
<Id>0</Id>
<Invoice xmlns:d3p1="http://schemas.datacontract.org/2004/07/Registrar.Model.Model.Data">
<d3p1:ChargeOnDate>0001-01-01T00:00:00</d3p1:ChargeOnDate>
<d3p1:ChargedOnDate>0001-01-01T00:00:00</d3p1:ChargedOnDate>
<d3p1:Cleared>false</d3p1:Cleared>
<d3p1:CreateDate>0001-01-01T00:00:00</d3p1:CreateDate>
<d3p1:Description>String</d3p1:Description>
<d3p1:DunningLevelId>0</d3p1:DunningLevelId>
<d3p1:Id>0</d3p1:Id>
<d3p1:InvoiceStatusTypeId>0</d3p1:InvoiceStatusTypeId>
<d3p1:NotificationDate>0001-01-01T00:00:00</d3p1:NotificationDate>
<d3p1:PaidDate>0001-01-01T00:00:00</d3p1:PaidDate>
<d3p1:ServiceEndDate>0001-01-01T00:00:00</d3p1:ServiceEndDate>
<d3p1:ServiceStartDate>0001-01-01T00:00:00</d3p1:ServiceStartDate>
<d3p1:SubscriptionId>0</d3p1:SubscriptionId>
</Invoice>
<PaymentInfo>String</PaymentInfo>
<TotalInvoiceAmount>0</TotalInvoiceAmount>
</R_InvoiceReportInfo>
</ArrayOfR_InvoiceReportInfo>