API/Orders/GetAvailablePackages
From Emersion
Purpose This method will return a list of packages that are available to order once a successful SQ has been obtained.
WSDL : Orders.wsdl
Inputs
<ord:GetAvailablePackagesRequest> <ord:AccountPresaleID>100363</ord:AccountPresaleID> </ord:GetAvailablePackagesRequest>
Outputs
<ns1:PackagePlan> <ns1:ID>184020</ns1:ID> <ns1:InternalName>BDS.1303.X163.TEL.12M : BDS - Premium Internet - X.163 (TELSTRA) - 12 Month Contract : X.163 - 2M/2M 500GB Monthly Fee : Package</ns1:InternalName> <ns1:ExternalName>X163 - 2M 500GB</ns1:ExternalName> <ns1:ServiceAllowances> <ns1:ServiceAllowance> <ns1:ServicePlanID>174047</ns1:ServicePlanID> <ns1:ServiceTypeID>4362</ns1:ServiceTypeID> <ns1:Quantity>1</ns1:Quantity> <ns1:Mandatory>1</ns1:Mandatory> <ns1:ServicePlanProperty> <ns1:ID>306</ns1:ID> <ns1:Name>KB_MB_PRESENTATION</ns1:Name> <ns1:Label>Kilobyte to Megabyte Presentation</ns1:Label> <ns1:Value/> </ns1:ServicePlanProperty> </ns1:ServiceAllowance> </ns1:ServiceAllowances> </ns1:PackagePlan> <ns1:PackagePlan> <ns1:ID>184021</ns1:ID> <ns1:InternalName>BDS.1509.TDA.MLL.36M : BDS - Premium Internet - TDA MLL - 36 Month Contract : Premium Internet 20M/20M 500GB Monthly Access Fee : Package</ns1:InternalName> <ns1:ExternalName>TDA - 20M 500GB</ns1:ExternalName> <ns1:ServiceAllowances> <ns1:ServiceAllowance> <ns1:ServicePlanID>174048</ns1:ServicePlanID> <ns1:ServiceTypeID>4362</ns1:ServiceTypeID> <ns1:Quantity>1</ns1:Quantity> <ns1:Mandatory>1</ns1:Mandatory> <ns1:ServicePlanProperty> <ns1:ID>306</ns1:ID> <ns1:Name>KB_MB_PRESENTATION</ns1:Name> <ns1:Label>Kilobyte to Megabyte Presentation</ns1:Label> <ns1:Value/> </ns1:ServicePlanProperty> </ns1:ServiceAllowance> </ns1:ServiceAllowances> </ns1:PackagePlan>
Error String
SP Account Validation
- "Undefined account status" : Account status is not defined
- "Undefined account type" : Account type is not defined
- "Account Type is not eligible to create order" : Account type is wholesale account
- "Order creation is restricted for this account" : Account Status can not order is set to 1 or account type can not order is set to 1
- "This account is 'Account Status Name' - please contact your upstream provider" : Account status is suspended or restricted
End User Account Validation
- "Missing account presale id" : Account presale id is not supplied or less than 1
- "Invalid account presale id" : Account presale id length less than 6 digits
- "Account presale is not valid for order" : Account presale has been completed
- "Missing service qualification" : Account presale sq does not exists
- "There is/are 'Quantity" incomplete service qualification": There is Service Qualification not in Success status.