createObject


SoftLayer_Account_Contact::createObject

This method creates an account contact.

Overview

This method creates an account contact. The accountId is fixed, other properties can be set during creation. The typeId indicates the SoftLayer_Account_Contact_Type for the contact. This method returns the SoftLayer_Account_Contact object that is created.


Parameters

Name Type Description
templateObject SoftLayer_Account_Contact The SoftLayer_Account_Contact object that you wish to create.

Required Headers

  • authenticate

Optional Headers

  • SoftLayer_Account_ContactObjectMask
  • SoftLayer_ObjectMask

Return Values

Associated Methods

Error Handling

  • SoftLayer_Exception_Public

Throws the error ‘Only the master user for an account may modify account contact information.’ if a user other than the master user attempts to create a contact.