Only available in v0.2.x
The following endpoint is currently unavailable. It will be released in version 0.2.x with the mobile applications.
Resource URL
Create a new contact object.
POST /contacts
Parameters
Table of allowed parameters. Underlined parameters are required.
firstname | String | |
---|---|---|
middlename | string | |
surname | string | |
preferred_name | string | |
username | string | Must be unique. Otherwise you will get invalid_request |
password | string | |
title | string | |
salutation | string | |
comments | string | |
status | unsigned int | This must point to a valid affiliation status id, otherwise you will get an invalid_request |
standing | string | Must be potential, interested, active or inactive, otherwise you will get an invalid_request. |
Handling the response
Returns the created milestone. Please see get contact for details regarding handling of the response.