API/Orders/StartOrder

From Emersion
Jump to: navigation, search

Purpose Ability to start a new order

WSDL : Orders.wsdl

Inputs

     <ord:StartOrderRequest>
        <ord:AccountID>1471993</ord:AccountID>
     </ord:StartOrderRequest>

Outputs

     <ns1:StartOrderResponse>
        <ns1:AccountPresaleID>100363</ns1:AccountPresaleID>
     </ns1:StartOrderResponse>

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 id" : Account id is not supplied or less than 1
  • "Invalid account id" : Account id is less than 6 digits
  • "Undefined account" : Account does not exist or account belong to other provider.
  • "Account is currently not active" : Account is not in active status.
  • "You will not able to create new order until the restriction in place gets lifted. Restriction Id #'RestrictionID'" : Account restriction exist
  • "Purchase order length exceed limit" : purchase order length > 50 chars
  • "External contract identifier length exceed limit" : External contract identifier length > 50 chars
  • "Invalid cumulus user id" : Cumulus user id < 6 digits
  • "Undefined cumulus user" : Cumulus user not belong to account organisation (only staff user or agent)