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_ValidateBundleSelectionRequest HTTP/1.1
Host: regapi.pumpalarm.com
Content-Type: application/xml
Content-Length: length
<R_ValidateBundleSelectionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Registrar.Model.Model.Transactions.Activation">
<BundleId>0</BundleId>
<PlanId>0</PlanId>
<PromoCode>String</PromoCode>
<RegistrationId>0</RegistrationId>
</R_ValidateBundleSelectionRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<R_ValidateBundleSelectionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Registrar.Model.Model.Transactions.Activation">
<AmountDueToday>String</AmountDueToday>
<NextBillDate>0001-01-01T00:00:00</NextBillDate>
<Plan xmlns:d2p1="http://schemas.datacontract.org/2004/07/Registrar.Model.Model.Data">
<d2p1:CurrencyTypeId>0</d2p1:CurrencyTypeId>
<d2p1:Description>String</d2p1:Description>
<d2p1:Id>0</d2p1:Id>
<d2p1:Name>String</d2p1:Name>
<d2p1:PlanBillingstructureId>0</d2p1:PlanBillingstructureId>
<d2p1:PlanStatus>0</d2p1:PlanStatus>
<d2p1:PriceDescription>String</d2p1:PriceDescription>
</Plan>
<Promotion xmlns:d2p1="http://schemas.datacontract.org/2004/07/Registrar.Model.Model.Data">
<d2p1:Code>String</d2p1:Code>
<d2p1:CurrencyTypeId>0</d2p1:CurrencyTypeId>
<d2p1:Description>String</d2p1:Description>
<d2p1:Id>0</d2p1:Id>
<d2p1:Name>String</d2p1:Name>
<d2p1:PromotionBillingStructureId>0</d2p1:PromotionBillingStructureId>
<d2p1:PromotionStatus>0</d2p1:PromotionStatus>
</Promotion>
<PromotionDescription>String</PromotionDescription>
<PromotionLength>String</PromotionLength>
<PromotionPrice>String</PromotionPrice>
<PromotionTerm>String</PromotionTerm>
<StandardAmount>String</StandardAmount>
<StandardLength>String</StandardLength>
<StandardTerm>String</StandardTerm>
<ValidPromotion>false</ValidPromotion>
</R_ValidateBundleSelectionResponse>