<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://docs.callproof.com/index.php?action=history&amp;feed=atom&amp;title=Team_Member_Details</id>
	<title>Team Member Details - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://docs.callproof.com/index.php?action=history&amp;feed=atom&amp;title=Team_Member_Details"/>
	<link rel="alternate" type="text/html" href="http://docs.callproof.com/index.php?title=Team_Member_Details&amp;action=history"/>
	<updated>2026-07-15T14:13:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>http://docs.callproof.com/index.php?title=Team_Member_Details&amp;diff=1526&amp;oldid=prev</id>
		<title>Ashley DeBon: Created page with &quot;== Team Member Activity Details ==  === Base URL === https://apimobile.callproof.com  === Endpoint === /api/v1/team-member-details  === Purpose === Returns an activity summary...&quot;</title>
		<link rel="alternate" type="text/html" href="http://docs.callproof.com/index.php?title=Team_Member_Details&amp;diff=1526&amp;oldid=prev"/>
		<updated>2026-07-15T11:06:19Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Team Member Activity Details ==  === Base URL === https://apimobile.callproof.com  === Endpoint === /api/v1/team-member-details  === Purpose === Returns an activity summary...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Team Member Activity Details ==&lt;br /&gt;
&lt;br /&gt;
=== Base URL ===&lt;br /&gt;
https://apimobile.callproof.com&lt;br /&gt;
&lt;br /&gt;
=== Endpoint ===&lt;br /&gt;
/api/v1/team-member-details&lt;br /&gt;
&lt;br /&gt;
=== Purpose ===&lt;br /&gt;
Returns an activity summary for a selected team member over a requested reporting period.&lt;br /&gt;
&lt;br /&gt;
The summary includes calls, appointments, emails, webinars, general events, follow-ups, submitted event forms, and the probability-adjusted value of sales opportunities.&lt;br /&gt;
&lt;br /&gt;
All date calculations use the selected team member&amp;#039;s configured time zone.&lt;br /&gt;
&lt;br /&gt;
=== HTTP Method ===&lt;br /&gt;
POST&lt;br /&gt;
&lt;br /&gt;
=== Headers ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Header !! Required !! Description&lt;br /&gt;
|-&lt;br /&gt;
| Authorization || Yes || Bearer access token.&lt;br /&gt;
|-&lt;br /&gt;
| Content-Type || Yes || &amp;lt;code&amp;gt;application/x-www-form-urlencoded&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;application/json&amp;lt;/code&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Security ===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Yes&amp;#039;&amp;#039;&amp;#039; – Requires Bearer Token authentication.&lt;br /&gt;
* The access token must be active and unexpired.&lt;br /&gt;
* The authenticated user and company account must be active.&lt;br /&gt;
* If two-factor authentication is enabled, verification must be completed for the registered device.&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
==== Request Body Fields ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Parameter !! Type !! Required !! Description&lt;br /&gt;
|-&lt;br /&gt;
| user_id || integer || Yes || The unique identifier of the team member whose activity should be summarized.&lt;br /&gt;
|-&lt;br /&gt;
| type || integer || Yes || Selects the reporting period. Accepted values are &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;2&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;3&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;4&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| from_date || string || Conditional || Beginning of the custom reporting period. Required when &amp;lt;code&amp;gt;type&amp;lt;/code&amp;gt; is &amp;lt;code&amp;gt;4&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| to_date || string || Conditional || End of the custom reporting period. Required when &amp;lt;code&amp;gt;type&amp;lt;/code&amp;gt; is &amp;lt;code&amp;gt;4&amp;lt;/code&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Reporting Period Values ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Value !! Reporting Period&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Today, from the beginning through the end of the current day.&lt;br /&gt;
|-&lt;br /&gt;
| 2 || The previous calendar week.&lt;br /&gt;
|-&lt;br /&gt;
| 3 || The period beginning one month before the current date and ending today.&lt;br /&gt;
|-&lt;br /&gt;
| 4 || A custom period defined by &amp;lt;code&amp;gt;from_date&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;to_date&amp;lt;/code&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The required date format for &amp;lt;code&amp;gt;from_date&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;to_date&amp;lt;/code&amp;gt; is &amp;#039;&amp;#039;&amp;#039;Not specified in Swagger&amp;#039;&amp;#039;&amp;#039;. A standard date value such as &amp;lt;code&amp;gt;YYYY-MM-DD&amp;lt;/code&amp;gt; should be used.&lt;br /&gt;
&lt;br /&gt;
=== Successful Response (200) ===&lt;br /&gt;
Returns activity totals for the selected team member and reporting period.&lt;br /&gt;
&lt;br /&gt;
The top-level &amp;lt;code&amp;gt;user_id&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;company_id&amp;lt;/code&amp;gt; identify the authenticated requester and their company. The activity under &amp;lt;code&amp;gt;data.events&amp;lt;/code&amp;gt; belongs to the team member selected through the request&amp;#039;s &amp;lt;code&amp;gt;user_id&amp;lt;/code&amp;gt; parameter.&lt;br /&gt;
&lt;br /&gt;
==== Top-Level Response Fields ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Response Field !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| clientStatusCode || integer || Business-level response status. A successful request returns &amp;lt;code&amp;gt;200&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| user_id || integer || The authenticated requester&amp;#039;s unique identifier.&lt;br /&gt;
|-&lt;br /&gt;
| company_id || integer || The authenticated requester&amp;#039;s company identifier.&lt;br /&gt;
|-&lt;br /&gt;
| data || object || Contains the selected team member&amp;#039;s activity summary.&lt;br /&gt;
|-&lt;br /&gt;
| uri || string || The URL of the request.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Activity Summary Fields ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Response Field !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| data.events.call_count || integer || Total calls recorded during the selected period.&lt;br /&gt;
|-&lt;br /&gt;
| data.events.appointment_count || integer || Total appointments during the selected period.&lt;br /&gt;
|-&lt;br /&gt;
| data.events.email_count || integer || Total email activity during the selected period.&lt;br /&gt;
|-&lt;br /&gt;
| data.events.webinar_count || integer || Total webinar activity during the selected period.&lt;br /&gt;
|-&lt;br /&gt;
| data.events.event_count || integer || Total general activity events during the selected period.&lt;br /&gt;
|-&lt;br /&gt;
| data.events.followup_count || integer || Total follow-up activities during the selected period.&lt;br /&gt;
|-&lt;br /&gt;
| data.events.event_form_count || integer || Total event forms submitted during the selected period.&lt;br /&gt;
|-&lt;br /&gt;
| data.events.opportunity_derived_value || string || Total probability-adjusted opportunity value, formatted to two decimal places.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The probability-adjusted opportunity value represents the sum of each opportunity&amp;#039;s value multiplied by its probability percentage.&lt;br /&gt;
&lt;br /&gt;
=== Error Responses ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! HTTP Status Code !! Client Status Code !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 401 || Two-factor authentication is required but has not been completed for the registered device.&lt;br /&gt;
|-&lt;br /&gt;
| 401 || 401 || The Bearer token is missing or invalid.&lt;br /&gt;
|-&lt;br /&gt;
| 401 || 401 || The access token has expired.&lt;br /&gt;
|-&lt;br /&gt;
| 401 || 401 || The authenticated user or company account is disabled.&lt;br /&gt;
|-&lt;br /&gt;
| 401 || 401 || A required client application update must be installed.&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 200 || Activity totals could not be retrieved; failure information may be returned within &amp;lt;code&amp;gt;data.events&amp;lt;/code&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Structured validation errors for a missing or unsupported &amp;lt;code&amp;gt;type&amp;lt;/code&amp;gt;, missing &amp;lt;code&amp;gt;user_id&amp;lt;/code&amp;gt;, or incomplete custom date range are &amp;#039;&amp;#039;&amp;#039;Not specified in Swagger&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
==== Activity Retrieval Failure Fields ====&lt;br /&gt;
When activity totals cannot be calculated, &amp;lt;code&amp;gt;data.events&amp;lt;/code&amp;gt; may contain:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Response Field !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| status || boolean || Returns &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt; when the activity summary could not be prepared.&lt;br /&gt;
|-&lt;br /&gt;
| message || string || Explanation that event counts could not be retrieved.&lt;br /&gt;
|-&lt;br /&gt;
| response || string || Empty response value.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Standard Error Response Fields ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Response Field !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| clientStatusCode || integer || The business-level error status.&lt;br /&gt;
|-&lt;br /&gt;
| error.code || integer || The business error code.&lt;br /&gt;
|-&lt;br /&gt;
| error.message || string || A plain-language explanation of the request failure.&lt;br /&gt;
|-&lt;br /&gt;
| uri || string || The URL of the request.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Common Error Codes ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Error Code !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| 1500 || Authentication, authorization, or two-factor verification failed.&lt;br /&gt;
|-&lt;br /&gt;
| 1800 || The user or company account is disabled.&lt;br /&gt;
|-&lt;br /&gt;
| 8000 || The access token has expired.&lt;br /&gt;
|-&lt;br /&gt;
| 9000 || A required client application update is available.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Ashley DeBon</name></author>
		
	</entry>
</feed>