Trendsic Platform Service

<back to all web services

PeraContactTrackingRequest

Requires Authentication
Requires any of the roles:Agent, Administrator
The following routes are available for this service:
GET,OPTIONS/v1/Report/PeraContactTracking/{ParamStartDate}/{ParamEndDate}/{AgentID}
GET,OPTIONS/v1/Report/PeraContactTracking/{ParamStartDate}/{ParamEndDate}
PeraContactTrackingRequest Parameters:
NameParameterData TypeRequiredDescription
ParamStartDatepathDateTimeNo
ParamEndDatepathDateTimeNo
AgentIDpathintNo
PeraContactTrackingResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
AFPeraContactformList<PeraContactTracking>No
PeraContactTracking Parameters:
NameParameterData TypeRequiredDescription
AgentformstringNo
FollowUpDateformDateTimeNo
DistrictformstringNo
NoteformstringNo
EventTypeNameformstringNo
AVPformstringNo
RVPformstringNo
MVPformstringNo
SaleformstringNo
AFPeraContact Parameters:
NameParameterData TypeRequiredDescription
PeraContactIdformintNo
FirstNameformstringNo
LastNameformstringNo
AppointmentDateTimeformDateTimeNo
DateCreatedformDateTimeNo
AgentIdformintNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /v1/Report/PeraContactTracking/{ParamStartDate}/{ParamEndDate}/{AgentID} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	},
	AFPeraContact: 
	[
		{
			Agent: String,
			FollowUpDate: 0001-01-01,
			District: String,
			Note: String,
			EventTypeName: String,
			AVP: String,
			RVP: String,
			MVP: String,
			Sale: String,
			PeraContactId: 0,
			FirstName: String,
			LastName: String,
			AppointmentDateTime: 0001-01-01,
			DateCreated: 0001-01-01,
			AgentId: 0
		}
	]
}