Difference between revisions of "API:ContactPhone:Update"

From docs
Jump to: navigation, search
(Created page with " == Update Contact Phone == '''URL:''' <nowiki>https://app.callproof.com/contact_phone/update/</nowiki> '''Method:''' GET '''Required Fields:''' * '''''key''''' - API Key ...")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
== Update Contact Phone ==
+
== [[API]] &#187; Update Contact Phone ==
  
'''URL:''' <nowiki>https://app.callproof.com/contact_phone/update/</nowiki>
+
'''URL:''' <nowiki>https://app.callproof.com/api/contact_phone/update/</nowiki>
  
'''Method:''' GET
+
'''Method:''' POST
  
 
'''Required Fields:'''
 
'''Required Fields:'''
  
* '''''key''''' - API Key
+
* '''''api_key[key]''''' - API Key
* '''''secret''''' - API Key Secret
+
* '''''api_key[secret]''''' - API Key Secret
 
* '''''contact_phone[id]''''' - Contact Phone ID
 
* '''''contact_phone[id]''''' - Contact Phone ID
* '''''contact_phone[phone_number]''''' - Contact Phone phone number
+
* '''''contact_phone[phone_number]''''' - Contact Phone phone number (unique per contact)
  
 
'''Optional Fields:'''
 
'''Optional Fields:'''
  
 +
* '''''contact_phone[phone_type]''''' - Contact Phone type (cell, home, office, fax, headquarters, other)
 +
* '''''contact_phone[ext]''''' - Contact Phone extension (e.g. 123)
 +
* '''''contact_phone[dealer_store]''''' - Contact Phone dealer store name (https://app.callproof.com/stores/)
 +
* '''''contact_phone[call_result]''''' - Contact Phone last call result (https://app.callproof.com/call_results/)
 
* '''''contact_phone[unknown]''''' - Set to '1' if Contact Phone is unknown
 
* '''''contact_phone[unknown]''''' - Set to '1' if Contact Phone is unknown
 
* '''''contact_phone[hidden]''''' - Set to '1' if Contact Phone is hidden
 
* '''''contact_phone[hidden]''''' - Set to '1' if Contact Phone is hidden
 
* '''''contact_phone[do_not_call]''''' - Set to '1' if Contact phone is on DO NOT CALL list
 
* '''''contact_phone[do_not_call]''''' - Set to '1' if Contact phone is on DO NOT CALL list
* '''''contact_phone[ext]''''' - Contact Phone extension (e.g. 123)
 
* '''''contact_phone[phone_type]''''' - Contact Phone type (cell, home, office, fax, headquarters, other)
 
 
* '''''contact_phone[last_contacted]''''' - Contact Phone last contacted date/time (e.g. '2014-08-10 12:34:56')
 
* '''''contact_phone[last_contacted]''''' - Contact Phone last contacted date/time (e.g. '2014-08-10 12:34:56')
 
* '''''contact_phone[eligible]''''' - Contact Phone eligible for upgrade date/time (e.g. '2014-08-10 12:34:56')
 
* '''''contact_phone[eligible]''''' - Contact Phone eligible for upgrade date/time (e.g. '2014-08-10 12:34:56')
 
* '''''contact_phone[activated]''''' - Contact Phone eligible for upgrade date/time (e.g. '2014-08-10 12:34:56')
 
* '''''contact_phone[activated]''''' - Contact Phone eligible for upgrade date/time (e.g. '2014-08-10 12:34:56')
* '''''contact_phone[dealer_store]''''' - Contact Phone dealer store name (https://app.callproof.com/stores/)
 
 
* '''''contact_phone[model]''''' - Contact Phone model name
 
* '''''contact_phone[model]''''' - Contact Phone model name
* '''''contact_phone[call_result]''''' - Contact Phone last call result (https://app.callproof.com/call_results/)
 
  
 
'''Data Returned:'''
 
'''Data Returned:'''
  
* '''''results''''' - Contact Phones
+
* '''''results''''' - Contact Phone
 
* '''''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 01:22, 15 October 2014

API » Update Contact Phone

URL: https://app.callproof.com/api/contact_phone/update/

Method: POST

Required Fields:

  • api_key[key] - API Key
  • api_key[secret] - API Key Secret
  • contact_phone[id] - Contact Phone ID
  • contact_phone[phone_number] - Contact Phone phone number (unique per contact)

Optional Fields:

  • contact_phone[phone_type] - Contact Phone type (cell, home, office, fax, headquarters, other)
  • contact_phone[ext] - Contact Phone extension (e.g. 123)
  • contact_phone[dealer_store] - Contact Phone dealer store name (https://app.callproof.com/stores/)
  • contact_phone[call_result] - Contact Phone last call result (https://app.callproof.com/call_results/)
  • contact_phone[unknown] - Set to '1' if Contact Phone is unknown
  • contact_phone[hidden] - Set to '1' if Contact Phone is hidden
  • contact_phone[do_not_call] - Set to '1' if Contact phone is on DO NOT CALL list
  • contact_phone[last_contacted] - Contact Phone last contacted date/time (e.g. '2014-08-10 12:34:56')
  • contact_phone[eligible] - Contact Phone eligible for upgrade date/time (e.g. '2014-08-10 12:34:56')
  • contact_phone[activated] - Contact Phone eligible for upgrade date/time (e.g. '2014-08-10 12:34:56')
  • contact_phone[model] - Contact Phone model name

Data Returned:

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