API/Orders/PerformNWBSQ

From Emersion
Jump to: navigation, search

Perform NWB SQ

Purpose: This API call takes the output from the Find NWB SQ Address and performs a service qualification (SQ) for the AAPT NwB service type

WSDL: Orders.wsdl

Input

  • AccountPresaleID: int - Requried
  • ServiceTypeID: int - Required
  • TransferType: string - Required
  • ServiceIdentifierDetails: Array - Required
  • FNN: String - Required

OR

  • ServiceProvider: String - Required
  • LocationID: String - Requried
  • MarkAsAvailable: Boolean - Optional (defaulted to false)
     <ord:PerformNWBSQRequest>
        <ord:AccountPresaleID>?</ord:AccountPresaleID>
        <ord:ServiceTypeID>?</ord:ServiceTypeID>
        <ord:TransferType>?</ord:TransferType>
        <ord:ServiceIdentifierDetails/>
     </ord:PerformNWBSQRequest>


     <ord:PerformNWBSQRequest>
        <ord:AccountPresaleID>?</ord:AccountPresaleID>
        <ord:ServiceTypeID>?</ord:ServiceTypeID>
        <ord:TransferType>?</ord:TransferType>
        <ord:ServiceIdentifierDetails/>
     </ord:PerformNWBSQRequest>

Output

     <ord:PerformNWBSQResponse>
        <ord:AccountPresaleSQID>?</ord:AccountPresaleSQID>
     </ord:PerformNWBSQResponse>

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
  • "Undefined account presale": Account presale is not defined
  • "Account presale is not valid for order" : Account presale has been completed
  • "Account presale already contain package plan" : Account presale has package plan
  • "Missing service type id" : Service type id is not supplied or less than 1
  • "Undefined service type": service type does note exist or not belong to the account.
  • "Service type is not available for ordering" : Service type id is not exist in sellable service type
  • "Service type id #XXXXXX is not qualified for NWB SQ : Service type service check type is not VOIPFNN
  • "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 enable.
  • "Transfer type churn is not supported": Service type provisioning churn is not enable.
  • "Service Identifier Details does not exist": Service identifier details is not supplied.
  • "Missing FNN": FNN is not supplied.
  • "Invalid FNN": FNN is not a valid format.
  • "Missing service provider": Service provider name is not supplied
  • "Invalid service provider": Service provider name does not exist
  • "Missing Location ID": location id is not supplied.

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