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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/R_ValidateBundleSelectionRequest HTTP/1.1 
Host: regapi.pumpalarm.com 
Content-Type: application/json
Content-Length: length

{"BundleId":0,"PlanId":0,"PromoCode":"String","RegistrationId":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ValidPromotion":false,"PromotionDescription":"String","PromotionPrice":"String","PromotionTerm":"String","PromotionLength":"String","StandardAmount":"String","StandardTerm":"String","StandardLength":"String","AmountDueToday":"String","NextBillDate":"\/Date(-62135596800000-0000)\/","Plan":{"Name":"String","Description":"String","PriceDescription":"String","CurrencyTypeId":0,"PlanStatus":0,"PlanBillingstructureId":0,"Id":0},"Promotion":{"Code":"String","Name":"String","Description":"String","CurrencyTypeId":0,"PromotionStatus":0,"PromotionBillingStructureId":0,"Id":0}}