API:Contact:CustomFields:Update

From docs
Revision as of 15:51, 28 October 2014 by Greg Donald (talk | contribs) (Created page with " == API » Update Contact Custom Fields == '''URL:''' <nowiki>https://app.callproof.com/api/contact/custom_fields/update/</nowiki> '''Method:''' POST '''Required Fi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

API » Update Contact Custom Fields

URL: https://app.callproof.com/api/contact/custom_fields/update/

Method: POST

Required Fields:

  • api_key[key] - API Key
  • api_key[secret] - API Key Secret
  • contact[id] - Contact ID

Optional Fields:

  • custom_fields[] - Array of custom fields and values. An entry should contain 'id' and 'value' values.
  • files[] - Array of custom field files. An entry should contain 'id', 'value', 'name', and 'content_type' values. The 'value' should contain a base64 encoded representation of the file's raw data. The 'content_type' should be a proper mime type (e.g. 'image/png').

Data Returned:

  • results - Contact as provided
  • errors - Array of errors produced by the request
  • code - HTTP request status