SOAP API method Contact_setType
Description
Set the contact type.
Parameters
| Name | Type | Description | 
|---|---|---|
| id * | int | Unique identifier (id) of the object Contact. The method only applies to the contact with this id. | 
| contacttype * | Structure of type 'contacttype' | |
| login | Structure of type 'login' | Optional login data (soon deprecated) | 
| access_token | string | Optional api access token | 
| * required parameters | ||
Structure 'contacttype'
| Name | Type | Description | 
|---|---|---|
| id | int | This ID of the contact type | 
| name | string | Name of the contact type | 
| description | string | The description of the contact type | 
| icon | string | The icon of the contact type | 
Structure 'login'
| Name | Type | Description | 
|---|---|---|
| username | string | The username of the login attempt | 
| account | string | The account name of the login attempt | 
| password | string | The password for the login attempt |