Create a new contact
This action will create a new contact in the given unit.
Try this request in your browser
URL
https://connectapi.dial9.co.uk/api/v2/contacts/create
Access
Must be authenticated as a user or API token.
If not authorised, a AccessDenied
error will be returned.
Parameters
Parameter | Type | Default |
---|---|---|
unit_id The ID of the unit |
Integer | null |
name |
null | |
number |
null | |
number_type |
null |
Errors
Error | Attributes |
---|---|
UnitNotFound The given unit was not found |
|
ValidationError A validation error occurred |
|
Response Data
This action will return a address contact structure.
You'll receive all attributes for this structure (basic and extended attributes). You'll receive all expansions for this stucture.