API/Services/SetServiceContacts

From Emersion
Revision as of 13:59, 29 June 2016 by Scarpenter (talk) (Created page with "=== Set Service Contacts === '''Purpose:''' Based on the requirements gathered in Get Service Contact Requirements this method...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Set Service Contacts

Purpose: Based on the requirements gathered in Get Service Contact Requirements this method will populate the service contact information that is required for an order.


Inputs

  <soapenv:Header/>
  <soapenv:Body>
     <ord:SetServiceContacts>
        <ord:AccountPresaleSQID>112233</ord:AccountPresaleSQID>

...

     </ord:SetServiceContacts>
  </soapenv:Body>

Output

  <SOAP-ENV:Body>
     <ns1:SetServiceContactsResponse>
        <ns1:Status>true</ns1:Status>
     </ns1:SetServiceContactsResponse>
  </SOAP-ENV:Body>

Error String

  • "Missing Account Presale SQ ID" - Account Presale SQ ID is not supplied.
  • "Account Presale SQ does not exist" - Account Presale SQ ID supplied does not exist in system.
  • "Account does not exist" - Account ID supplied does not exist in system.
  • "Invalid Account ID" - Account ID supplied does not belong to the same parent group as the API caller.
  • "Missing Package Plan" - Package Plan must be selected before calling this function.
  • "Error(s) found:" - could be one of more of the following:
    • "Only 1 Primary Address required."
    • "Only 1 Primary Phone Number required."
    • "Only 1 Primary Email Address required."