API/Orders/PerformSimpleSQ

From Emersion
Jump to: navigation, search

Perform Simple SQ

Purpose: This call provides the ability to add a successful service qualification for an order for a service that does not required an SQ to be performed. Use this method for orders that are manually or semi-manually provisioned, or orders where an SQ isn't needed, for example a domain registration, or web-hosting subscription.

Important Note: Not all service types are currently supported.

PerformSimpleSQ currently supports service types that belong to the following 'check types'.

  • NoSQ
  • Autoidentifier

Service Providers can find out what service types they have, and what check type each service type belongs to by running a report. Nav: Reports > List > Reference tab. The report name is 'Service Types List'.

Inputs

  • AccountPresaleID: int - Required
  • ServiceTypeID: int - Required
     <ord:PerformSimpleSQRequest>
        <ord:AccountPresaleID>100363</ord:AccountPresaleID>
        <ord:ServiceTypeID>4362</ord:ServiceTypeID>
     </ord:PerformSimpleSQRequest> 

Outputs'

  • AccountPresaleSQID: int
     <ns1:PerformSimpleSQResponse>
        <ns1:AccountPresaleSQID>362164</ns1:AccountPresaleSQID>
     </ns1:PerformSimpleSQResponse>

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
  • "Invalid service type id" : Service type id length less than 6 digits
  • "Service type is not available for ordering" : Service type id is 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 Simple SQ" : Service type service check type is not either NOSQ or AutoIdentifier

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