...
Table of allowed parameters.
firstnamecompany | String | ||
---|---|---|---|
middlename | string | ||
surname | string | ||
preferred_name | string | ||
username | string | ||
unsigned int | Must point to a valid company. | ||
contact | unsigned int | Must point to a valid contact. If the contact doesn't have a default affiliation, it will automatically set it to the newly created affiliation. | |
username | string | Must be unique | |
country_id | unsigned int | Must point to a valid country | |
physical_address_id | unsigned int | Physical address. Must point to a valid address | |
postal_address_id | unsigned int | Postal address. Must point to a valid address. | |
phone | string | ||
titlefax | string | ||
salutationemail | string | comments | Must be a valid email address |
position | string | e.g, CEO or software engineer | |
status | unsigned int | This must The affiliations status id. Must point to a valid affiliation status id, otherwise you will get an invalid_request | standing|
standing | string | e.g, active, inactive | |
communication | string | Must be | potential, interested, active or inactive, otherwise you will get an invalid_request.yes or no. |
invoice_method | string | e.g, email, fax or postal |
Handling the response
Returns the created milestone. Please see get contactaffiliation for details regarding handling of the response.