Difference between revisions of "API:People:Create"

From docs
Jump to: navigation, search
(Created page with "== API » Create Personnel HTML == '''URL:''' <nowiki>https://app.callproof.com/api/contact/personnel/create/</nowiki> '''Method:''' POST '''Required Fields:''' *...")
 
 
(One intermediate revision by the same user not shown)
Line 19: Line 19:
 
* '''''personnel[title]''''' - Title of personnel
 
* '''''personnel[title]''''' - Title of personnel
 
* '''''personnel[role_id]''''' - Role id for personnel
 
* '''''personnel[role_id]''''' - Role id for personnel
 +
* '''''personnel[phones]''''' - list of numbers - e.g. - ['6604948071', '16152554001']
  
  
Line 24: Line 25:
 
'''Data Returned:'''
 
'''Data Returned:'''
  
* '''''results''''' - Array containing updated Personnel details
+
* '''''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