Difference between revisions of "API:Reps:Stats:HTML:Update"

From docs
Jump to: navigation, search
Line 11: Line 11:
 
* '''''secret''''' - API Key Secret
 
* '''''secret''''' - API Key Secret
 
* '''''rep[id]''''' - Sales Rep ID
 
* '''''rep[id]''''' - Sales Rep ID
* '''''rep[html]''''' - Sales Rep Stats HTML
+
* '''''rep[html]''''' - Sales Rep Stats HTML.  Include "#basic_stats#" (without quotes) to include basic stats.
  
 
'''Optional Fields:'''
 
'''Optional Fields:'''

Revision as of 00:54, 13 October 2014

API » Update Sales Rep Stats HTML

URL: https://app.callproof.com/api/reps/stats/html/update/

Method: POST

Required Fields:

  • key - API Key
  • secret - API Key Secret
  • rep[id] - Sales Rep ID
  • rep[html] - Sales Rep Stats HTML. Include "#basic_stats#" (without quotes) to include basic stats.

Optional Fields:

  • None

Data Returned:

  • results - Array containing updated Sales Rep Stats HTML
  • errors - Array of errors produced by the request
  • code - HTTP request status