Back to API references

SOAP API method Database_createInterest

Description

This method returns the newly created 'Interest' object on success or 'false' on failure. An optional groupname can also be supplied. There may not already exist an interest with the same name in the database.

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 of the interest
group string Optional groupname
login Structure of type 'login' Optional login data (soon deprecated)
access_token string Optional api access token
* required parameters

Return values

Name Type Description
interest Structure of type 'interest'

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 'interest'

Name Type Description
id int The ID of this interest.
name string The name of the interest.
groupname string The name of the group that this interest belongs to.
weight int The weight of the interest.