API/Plans/GetPackagePlans
From Emersion
Purpose
Return high level information for the initial selection of a package by a user.
Inputs
<soapenv:Header/> <soapenv:Body> <plan:GetPackagePlansRequest> <plan:ServiceTypes> <plan:Id></plan:Id> </plan:ServiceTypes> <plan:Saleable>1</plan:Saleable> <plan:SaleableInUserPortal>0</plan:SaleableInUserPortal> </plan:GetPackagePlansRequest> </soapenv:Body>
Output
<SOAP-ENV:Body> <ns1:GetPackagePlansResponse> <ns1:PackagePlan ID="185694"> <ns1:InternalName>1509.AIM.1408.IPLMBE.100G.36M : AAPT - Premium Internet - IP Line MBE (Copper) - LINK - 100GB - 36 Month : AIM.IPLC.8M.100GB.RTL.1408 : Package</ns1:InternalName> <ns1:ExternalName>Premium Internet 8M/8M 100GB</ns1:ExternalName> <ns1:InternalDescription>2015-09 HUB Migration - IP Line</ns1:InternalDescription> <ns1:Status>Saleable</ns1:Status> <ns1:StartDate>2015-07-01</ns1:StartDate> <ns1:EndDate xsi:nil="true"/> <ns1:SaleableInUserPortal>false</ns1:SaleableInUserPortal> <ns1:ServicePlans> <ns1:ServicePlan ID="175662"> <ns1:InternalName>SP:AIM.1408.IPLMBE.100G.36M : AAPT - Premium Internet - IP Line MBE (Copper) - LINK - 100GB - 36 Month : AIM.IPLC.8M.100GB.RTL.1408</ns1:InternalName> <ns1:ExternalName>Premium Internet 8M/8M 100GB</ns1:ExternalName> <ns1:ServiceType ID="3956">AAPT - IP-Line L3 (No Auth)</ns1:ServiceType> <ns1:AvailableQuantity>1</ns1:AvailableQuantity> <ns1:Mandatory>true</ns1:Mandatory> </ns1:ServicePlan> </ns1:ServicePlans> </ns1:PackagePlan> </ns1:GetPackagePlansResponse> </SOAP-ENV:Body>
Error String
- "Invalid or Missing Service Types"
- "Invalid 'ServiceTypes/ID' value { <ServiceTypeID> } : not an integer"