Back to API references

SOAP API method Database_createContactType

Description

The newly created contact type object is returned on success, false on failure.

Parameters

Name Type Description
id * int Unique identifier (id) of the object Database. The method only applies to the database with this id.
name * string name
login Structure of type 'login' Optional login data (soon deprecated)
access_token string Optional api access token
* required parameters

Return values

Name Type Description
contacttype Structure of type 'contacttype'

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

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