API/Orders/PerformGeneralRangedSQ

From Emersion
Jump to: navigation, search

Perform General Ranged SQ

This method provides the ability to perform a service qualification (SQ) for a service type that is defined as using the checktype GeneralRanged. You can ascertain if you're selling service types that use the GeneralRanged checktype by using the API call Get Package Plan Detail.

WSDL: Orders.wsdl

Inputs

  • AccountPresaleID: int - Required
  • ServiceTypeID: int - Required
  • TransferType: string - Required (New, Churn)
  • RangeSize: int - Optional
  • Identifier: string - Required for TransferType Churn
     <ord:PerformGeneralPhoneSQRequest>
        <ord:AccountPresaleID>100380</ord:AccountPresaleID>
        <ord:ServiceTypeID>3204</ord:ServiceTypeID>
        <ord:TransferType>Churn</ord:TransferType>
        <ord:Identifier>61363273699</ord:Identifier>
        <ord:RangeSize>10</RangeSize>
     </ord:PerformGeneralPhoneSQRequest>

Output

  • AccountPresaleSQID: int
  • AvailableTransferType: string
     <ns1:PerformGeneralPhoneSQResponse>
        <ns1:AccountPresaleSQID>362210</ns1:AccountPresaleSQID>
        <ns1:AvailableTransferType>Internal Churn</ns1:AvailableTransferType>
        <ns1:ServiceQualificationMessage>Your SQ was successful</ns1:ServiceQualificationMessage>
     </ns1:PerformGeneralPhoneSQResponse>

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
  • "Account presale already contain package plan": Account presale has a package plan
  • "Missing service type id": Service type id is not supplied or less than 1
  • "Invalid service type id": Service type id length less than 6 digits
  • "Service type is not available for ordering": Service type id does not exist in sellable service type
  • "Missing service check type on service type id #XXXXXX": Service type does not has service check type
  • "Service type id #'ServiceTypeID' is not qualified for General Range SQ": Service type service check type is not of type 'GeneralRanged'
  • "Missing transfer type": transfer type is not supplied or less than 1 char
  • "Invalid transfer type": Transfer type is not "New" or "Churn"
  • "Transfer type new is not supported": Service type provisioning new is not enabled.
  • "Transfer type churn is not supported": Service type provisioning churn is not enabled.
  • "Missing identifier": Identifier is not supplied or less than 1 char
  • "Invalid Identifier": Identifier fail validation

When overriding SQ in the account presale

  • "Service Qualification for service type id #XXXXXXis currently in pending status": Service qualification in pending status
  • "Service Qualification id #XXXXXX is not valid for deletion": Service qualification contain package plan