Registrar Web Services

<back to all web services

R_ValidateBundleSelectionRequest

The following routes are available for this service:
OPTIONS, POST/PublicApi/R_ValidateBundleSelectionRequest
OPTIONS, POST/R_ValidateBundleSelectionRequest
R_ValidateBundleSelectionRequest Parameters:
NameParameterData TypeRequiredDescription
BundleIdbodylongNo
PlanIdbodylongNo
PromoCodebodystringNo
RegistrationIdbodylong?No
R_ValidateBundleSelectionResponse Parameters:
NameParameterData TypeRequiredDescription
ValidPromotionformboolNo
PromotionDescriptionformstringNo
PromotionPriceformstringNo
PromotionTermformstringNo
PromotionLengthformstringNo
StandardAmountformstringNo
StandardTermformstringNo
StandardLengthformstringNo
AmountDueTodayformstringNo
NextBillDateformDateTimeNo
PlanformR_PlanNo
PromotionformR_PromotionNo
R_Plan Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
DescriptionformstringNo
PriceDescriptionformstringNo
CurrencyTypeIdformlongNo
PlanStatusformlongNo
PlanBillingstructureIdformlongNo
IdformlongNo
R_Promotion Parameters:
NameParameterData TypeRequiredDescription
CodeformstringNo
NameformstringNo
DescriptionformstringNo
CurrencyTypeIdformlongNo
PromotionStatusformlongNo
PromotionBillingStructureIdformlongNo
IdformlongNo

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>