API/Orders/CompleteOrder

From Emersion
Revision as of 14:10, 29 June 2016 by Scarpenter (talk) (Created page with "=== Complete Order === '''Purpose:''' For the submission of an order. Corresponding package subscription(s), service subscription(s) and service(s) will be created. '''WSDL:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Complete Order

Purpose: For the submission of an order. Corresponding package subscription(s), service subscription(s) and service(s) will be created.

WSDL: Order.wsdl

Inputs

  • AccountPresaleID: int - Required
     <ord:CompleteOrderRequest>
        <ord:AccountPresaleID>100363</ord:AccountPresaleID>
     </ord:CompleteOrderRequest>

Output

  • Status: string
     <ns1:CompleteOrderResponse>
        <ns1:Status>true</ns1:Status>
     </ns1:CompleteOrderResponse>

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.
  • "Missing customer account": customer account does exist.
  • "Missing service qualification": SQ does not exist.
  • "Missing package plan": Package plan has not been selected.
  • "Missing service config": Service has not been configured.
  • "Account Presale SQ #XXXXXX missing mandatory service configuration": service configuration for mandatory plan does not exist.
  • "Missing credit check": Credit check has not been performed for order that required credit check.
  • "Missing credit check record": Credit check file record does not exist.
  • "Credit check status is escalated": Credit check is in escalated status.
  • "Credit check status is processing": Credit check is processing.
  • "Credit check has been denied": Credit check has been rejected
  • "Service Identifier [XXXXXXXXXXX] already exists for this service type [XXXXX]": preactive or active service identifier already exist