| Requires any of the roles: | Agent, Administrator |
| GET,OPTIONS | /v1/Report/PeraContactTracking/{ParamStartDate}/{ParamEndDate}/{AgentID} | ||
|---|---|---|---|
| GET,OPTIONS | /v1/Report/PeraContactTracking/{ParamStartDate}/{ParamEndDate} |
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class PeraContactTrackingRequest
{
public Date ParamStartDate = null;
public Date ParamEndDate = null;
public Integer AgentID = null;
public Date getParamStartDate() { return ParamStartDate; }
public PeraContactTrackingRequest setParamStartDate(Date value) { this.ParamStartDate = value; return this; }
public Date getParamEndDate() { return ParamEndDate; }
public PeraContactTrackingRequest setParamEndDate(Date value) { this.ParamEndDate = value; return this; }
public Integer getAgentID() { return AgentID; }
public PeraContactTrackingRequest setAgentID(Integer value) { this.AgentID = value; return this; }
}
public static class PeraContactTrackingResponse
{
public ResponseStatus ResponseStatus = null;
public ArrayList<PeraContactTracking> AFPeraContact = new ArrayList<PeraContactTracking>();
public ResponseStatus getResponseStatus() { return ResponseStatus; }
public PeraContactTrackingResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
public ArrayList<PeraContactTracking> getAfPeraContact() { return AFPeraContact; }
public PeraContactTrackingResponse setAfPeraContact(ArrayList<PeraContactTracking> value) { this.AFPeraContact = value; return this; }
}
public static class PeraContactTracking extends AFPeraContact
{
public String Agent = null;
public Date FollowUpDate = null;
public String District = null;
public String Note = null;
public String EventTypeName = null;
public String AVP = null;
public String RVP = null;
public String MVP = null;
public String Sale = null;
public String getAgent() { return Agent; }
public PeraContactTracking setAgent(String value) { this.Agent = value; return this; }
public Date getFollowUpDate() { return FollowUpDate; }
public PeraContactTracking setFollowUpDate(Date value) { this.FollowUpDate = value; return this; }
public String getDistrict() { return District; }
public PeraContactTracking setDistrict(String value) { this.District = value; return this; }
public String getNote() { return Note; }
public PeraContactTracking setNote(String value) { this.Note = value; return this; }
public String getEventTypeName() { return EventTypeName; }
public PeraContactTracking setEventTypeName(String value) { this.EventTypeName = value; return this; }
public String getAvp() { return AVP; }
public PeraContactTracking setAvp(String value) { this.AVP = value; return this; }
public String getRvp() { return RVP; }
public PeraContactTracking setRvp(String value) { this.RVP = value; return this; }
public String getMvp() { return MVP; }
public PeraContactTracking setMvp(String value) { this.MVP = value; return this; }
public String getSale() { return Sale; }
public PeraContactTracking setSale(String value) { this.Sale = value; return this; }
}
public static class AFPeraContact
{
public Integer PeraContactId = null;
public String FirstName = null;
public String LastName = null;
public Date AppointmentDateTime = null;
public Date DateCreated = null;
public Integer AgentId = null;
public Integer getPeraContactId() { return PeraContactId; }
public AFPeraContact setPeraContactId(Integer value) { this.PeraContactId = value; return this; }
public String getFirstName() { return FirstName; }
public AFPeraContact setFirstName(String value) { this.FirstName = value; return this; }
public String getLastName() { return LastName; }
public AFPeraContact setLastName(String value) { this.LastName = value; return this; }
public Date getAppointmentDateTime() { return AppointmentDateTime; }
public AFPeraContact setAppointmentDateTime(Date value) { this.AppointmentDateTime = value; return this; }
public Date getDateCreated() { return DateCreated; }
public AFPeraContact setDateCreated(Date value) { this.DateCreated = value; return this; }
public Integer getAgentId() { return AgentId; }
public AFPeraContact setAgentId(Integer value) { this.AgentId = value; return this; }
}
}
Java PeraContactTrackingRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=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
}
]
}