Difference between revisions of "API:People:Create"
Line 25: | Line 25: | ||
'''Data Returned:''' | '''Data Returned:''' | ||
− | * '''''results''''' - | + | * '''''results''''' - Personnel records |
* '''''errors''''' - Array of errors produced by the request | * '''''errors''''' - Array of errors produced by the request | ||
* '''''code''''' - HTTP request status | * '''''code''''' - HTTP request status |
Latest revision as of 09:34, 24 May 2019
API » Create Personnel HTML
URL: https://app.callproof.com/api/contact/personnel/create/
Method: POST
Required Fields:
- api_key[key] - API Key
- api_key[secret] - API Key Secret
- personnel[first_name] - First name of personnel
- personnel[contact_id] - Contact id of contact
Optional Fields:
- personnel[last_name] - Last name of personnel
- personnel[email] - Email of personnel
- personnel[notes] - Notes of personnel
- personnel[title] - Title of personnel
- personnel[role_id] - Role id for personnel
- personnel[phones] - list of numbers - e.g. - ['6604948071', '16152554001']
Data Returned:
- results - Personnel records
- errors - Array of errors produced by the request
- code - HTTP request status