Difference between revisions of "API:Reps:Get"

From docs
Jump to: navigation, search
(Created page with " == API » Get Reps == '''URL:''' <nowiki>https://app.callproof.com/api/reps/get/</nowiki> '''Method:''' GET '''Required Fields:''' * '''''key''''' - API Key * '''...")
 
 
Line 10: Line 10:
 
* '''''key''''' - API Key
 
* '''''key''''' - API Key
 
* '''''secret''''' - API Key Secret
 
* '''''secret''''' - API Key Secret
* '''''after''''' - Date/Time Reps were created after (e.g. '2014-08-10 12:34:56')
+
* '''''after''''' - Date/Time Reps were updated after (e.g. '2014-08-10 12:34:56')
  
 
'''Optional Fields:'''
 
'''Optional Fields:'''
  
* '''''before''''' - Date/Time Reps were created after (e.g. '2014-08-10 12:34:56')
+
* '''''before''''' - Date/Time Reps were updated after (e.g. '2014-08-10 12:34:56')
 
* '''''offset''''' - Only 10 Reps are returned per request, this field must be used to pull additional results when more are available
 
* '''''offset''''' - Only 10 Reps are returned per request, this field must be used to pull additional results when more are available
  

Latest revision as of 16:31, 3 December 2014

API » Get Reps

URL: https://app.callproof.com/api/reps/get/

Method: GET

Required Fields:

  • key - API Key
  • secret - API Key Secret
  • after - Date/Time Reps were updated after (e.g. '2014-08-10 12:34:56')

Optional Fields:

  • before - Date/Time Reps were updated after (e.g. '2014-08-10 12:34:56')
  • offset - Only 10 Reps are returned per request, this field must be used to pull additional results when more are available

Data Returned:

  • results - Array of Reps
  • more - This field will be set if additional results are available
  • offset - Current offset of the request
  • errors - Array of errors produced by the request
  • code - HTTP request status