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_EmailLog HTTP/1.1
Host: regapi.pumpalarm.com
Content-Type: application/xml
Content-Length: length
<R_EmailLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Registrar.Model.Model.Data">
<AccountHolder>
<AccountId>0</AccountId>
<Address1>String</Address1>
<Address2>String</Address2>
<CardCode>String</CardCode>
<City>String</City>
<Country>String</Country>
<CreationDateTime>0001-01-01T00:00:00</CreationDateTime>
<CreditCardNumber>String</CreditCardNumber>
<Email>String</Email>
<ExpirationMonth>0</ExpirationMonth>
<ExpirationYear>0</ExpirationYear>
<FirstName>String</FirstName>
<Id>0</Id>
<LastName>String</LastName>
<NeedToUpdatePaymentInfo>false</NeedToUpdatePaymentInfo>
<PhoneNumber>String</PhoneNumber>
<StateProvince>String</StateProvince>
<TotalNumberOfRecords>0</TotalNumberOfRecords>
<UpdatePaymentInfoDate>0001-01-01T00:00:00</UpdatePaymentInfoDate>
<ZipCode>String</ZipCode>
</AccountHolder>
<AccountHolderId>0</AccountHolderId>
<Address1>String</Address1>
<Address2>String</Address2>
<BounceDescription>String</BounceDescription>
<BrandId>0</BrandId>
<City>String</City>
<CorrectedEmail>String</CorrectedEmail>
<Country>String</Country>
<CreateDateTime>0001-01-01T00:00:00</CreateDateTime>
<DisplayName>String</DisplayName>
<Email>String</Email>
<EmailAddedToBlackListAt>0001-01-01T00:00:00</EmailAddedToBlackListAt>
<EmailProcessed>false</EmailProcessed>
<EmailStateTypeId>0</EmailStateTypeId>
<EmailTemplate>String</EmailTemplate>
<ExternalId>String</ExternalId>
<FirstName>String</FirstName>
<Html>String</Html>
<Id>0</Id>
<LastEventDateTime>0001-01-01T00:00:00</LastEventDateTime>
<LastName>String</LastName>
<PhoneNumber>String</PhoneNumber>
<Reason>String</Reason>
<Sender>String</Sender>
<StateProvince>String</StateProvince>
<Subject>String</Subject>
<Text>String</Text>
<TotalCount>0</TotalCount>
<ZipCode>String</ZipCode>
</R_EmailLog>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<R_EmailLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Registrar.Model.Model.Data">
<AccountHolder>
<AccountId>0</AccountId>
<Address1>String</Address1>
<Address2>String</Address2>
<CardCode>String</CardCode>
<City>String</City>
<Country>String</Country>
<CreationDateTime>0001-01-01T00:00:00</CreationDateTime>
<CreditCardNumber>String</CreditCardNumber>
<Email>String</Email>
<ExpirationMonth>0</ExpirationMonth>
<ExpirationYear>0</ExpirationYear>
<FirstName>String</FirstName>
<Id>0</Id>
<LastName>String</LastName>
<NeedToUpdatePaymentInfo>false</NeedToUpdatePaymentInfo>
<PhoneNumber>String</PhoneNumber>
<StateProvince>String</StateProvince>
<TotalNumberOfRecords>0</TotalNumberOfRecords>
<UpdatePaymentInfoDate>0001-01-01T00:00:00</UpdatePaymentInfoDate>
<ZipCode>String</ZipCode>
</AccountHolder>
<AccountHolderId>0</AccountHolderId>
<Address1>String</Address1>
<Address2>String</Address2>
<BounceDescription>String</BounceDescription>
<BrandId>0</BrandId>
<City>String</City>
<CorrectedEmail>String</CorrectedEmail>
<Country>String</Country>
<CreateDateTime>0001-01-01T00:00:00</CreateDateTime>
<DisplayName>String</DisplayName>
<Email>String</Email>
<EmailAddedToBlackListAt>0001-01-01T00:00:00</EmailAddedToBlackListAt>
<EmailProcessed>false</EmailProcessed>
<EmailStateTypeId>0</EmailStateTypeId>
<EmailTemplate>String</EmailTemplate>
<ExternalId>String</ExternalId>
<FirstName>String</FirstName>
<Html>String</Html>
<Id>0</Id>
<LastEventDateTime>0001-01-01T00:00:00</LastEventDateTime>
<LastName>String</LastName>
<PhoneNumber>String</PhoneNumber>
<Reason>String</Reason>
<Sender>String</Sender>
<StateProvince>String</StateProvince>
<Subject>String</Subject>
<Text>String</Text>
<TotalCount>0</TotalCount>
<ZipCode>String</ZipCode>
</R_EmailLog>