SOAP API method Profile_createContact
Description
The newly created contact is marked as 'not done'. The method return a contact object. Use this object to set the other members.
Parameters
- Parameter 'id' : int
- Unique identifier (id) of the object Profile. The method only applies to the profile with this id.
- Parameter 'timestamp' : string
- The timestamp for the historic profile
- Parameter 'user' : Structure of type 'user'
- Parameter 'contacttype' : Structure of type 'contacttype'
- Parameter 'done' : boolean
- Parameter 'login' : Structure of type 'login'
- Optional login data
Return values
- Return value 'contact' : Structure of type 'contact'
Structure 'user'
This structure user was mentioned above. This structure has the following properties:
- Property 'id' : int
- The ID of the user.
- Property 'created' : timestamp
- The timestamp when the user is created.
- Property 'end' : timestamp
- The timestamp when the user is ended.
- Property 'gender' : string
- The gender of the user.
- Property 'name' : string
- The name of the user.
- Property 'description' : string
- The description of the user.
- Property 'email' : string
- The email address of the user.
- Property 'phone' : string
- The phone number of the user.
- Property 'sms' : string
- The sms number of the user.
- Property 'fax' : string
- The fax number of the user.
- Property 'applicationadmin' : boolean
- Returns if the user is application admin.
- Property 'accountadmin' : boolean
- Returns if the user is account admin.
- Property 'styleadmin' : boolean
- Returns if the user is style admin.
- Property 'dummy' : boolean
- Returns if the user is a dummy user.
- Property 'apiaccess' : boolean
- Returns if the user has access to the API.
- Property 'uiacess' : boolean
- Returns if the user has access to the user interface.
- Property 'disabled' : boolean
- Is this user disabled?.
- Property 'active' : boolean
- Is this user active?
- Property 'receivenews' : boolean
- Will this user receive the news?.
- Property 'language' : string
- The prefered language of the user.
- Property 'timezone' : string
- Get the timezone for the user. If no timezone is set an empty string is returned.
- Property 'unsecure' : boolean
- Is this an insecure user?.
Structure 'contacttype'
This structure contacttype was mentioned above. This structure has the following properties:
- Property 'id' : int
- This ID of the contact type
- Property 'name' : string
- Name of the contact type
- Property 'description' : string
- The description of the contact type
- Property 'icon' : string
- The icon of the contact type
Structure 'login'
This structure login was mentioned above. This structure has the following properties:
- Property 'username' : string
- The username of the login attempt
- Property 'account' : string
- The account name of the login attempt
- Property 'password' : string
- The password for the login attempt
Structure 'contact'
This structure contact was mentioned above. This structure has the following properties:
- Property 'id' : int
- The ID of the contact.
- Property 'plannedtime' : timestamp
- The timestamp for which the contact is or was scheduled.
- Property 'executedtime' : timestamp
- The timestamp when the contact was scheduled.
- Property 'remarks' : ContactData
- The remarks of the contact.
- Property 'report' : ContactData
- The report of the contact.
- Property 'important' : boolean
- Is this a very important contact?.
- Property 'extra' : string
- The extra data of the contact.
- Property 'subject' : string
- Set a subject of the contact report