Payload for POST /organisations/id/{id}/contacts.
Contains the details of the new contact.
name | data type | constraints | description |
---|---|---|---|
surname | string | required, max size: 50, min size: 1 | Surname of the new contact. |
forename | string | required, max size: 50, min size: 1 | Forename of the new contact. |
string | required, regex: .+@.+, max size: 200, min size: 6 | Email address of the new contact. | |
phone | string | required, regex: [-+() 0-9]*, max size: 50, min size: 1 | Phone number of the new contact. |
function | string | max size: 100, min size: 0 | Role of the new contact at the organisation. |
comment | string | max size: 1000, min size: 0 | Human readable comments about the new contact. |
Example
{ "surname" : "Gödel", "forename" : "Kurt", "email" : "k.goedel@example.org", "phone" : "+49 69 1525-0", "function" : "system administrator", "comment" : "This contact is used for testing purposes only" }