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

HTTP + JSV

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

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

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

{
	ValidPromotion: False,
	PromotionDescription: String,
	PromotionPrice: String,
	PromotionTerm: String,
	PromotionLength: String,
	StandardAmount: String,
	StandardTerm: String,
	StandardLength: String,
	AmountDueToday: String,
	NextBillDate: 0001-01-01,
	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
	}
}