Trendsic Platform Service

<back to all web services

AgentReminderRequest

Requires Authentication
Requires any of the roles:Agent, Administrator
The following routes are available for this service:
GET,OPTIONS/v1/AgentReminder
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class AgentReminderRequest
    {
        public Boolean IsAdmin = null;
        public String ReminderType = null;
        
        public Boolean getIsAdmin() { return IsAdmin; }
        public AgentReminderRequest setIsAdmin(Boolean value) { this.IsAdmin = value; return this; }
        public String getReminderType() { return ReminderType; }
        public AgentReminderRequest setReminderType(String value) { this.ReminderType = value; return this; }
    }

    public static class ReminderResponse
    {
        public ResponseStatus ResponseStatus = null;
        public ArrayList<ReminderExtended> Reminder = new ArrayList<ReminderExtended>();
        
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public ReminderResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
        public ArrayList<ReminderExtended> getReminder() { return Reminder; }
        public ReminderResponse setReminder(ArrayList<ReminderExtended> value) { this.Reminder = value; return this; }
    }

    public static class ReminderExtended extends Reminder
    {
        public String AgentName = null;
        public String RecordAgentName = null;
        public Integer RecordAgentID = null;
        public Boolean IsAdmin = null;
        public Integer AgentID = null;
        
        public String getAgentName() { return AgentName; }
        public ReminderExtended setAgentName(String value) { this.AgentName = value; return this; }
        public String getRecordAgentName() { return RecordAgentName; }
        public ReminderExtended setRecordAgentName(String value) { this.RecordAgentName = value; return this; }
        public Integer getRecordAgentID() { return RecordAgentID; }
        public ReminderExtended setRecordAgentID(Integer value) { this.RecordAgentID = value; return this; }
        public Boolean getIsAdmin() { return IsAdmin; }
        public ReminderExtended setIsAdmin(Boolean value) { this.IsAdmin = value; return this; }
        public Integer getAgentID() { return AgentID; }
        public ReminderExtended setAgentID(Integer value) { this.AgentID = value; return this; }
    }

    public static class Reminder
    {
        public UUID ReminderId = null;
        public String TableName = null;
        public String FieldName = null;
        public Integer RecordId = null;
        public Date ReminderDate = null;
        public String ReminderNote = null;
        public Date CreatedDate = null;
        public String CreatedBy = null;
        public Date CompletedDate = null;
        
        public UUID getReminderId() { return ReminderId; }
        public Reminder setReminderId(UUID value) { this.ReminderId = value; return this; }
        public String getTableName() { return TableName; }
        public Reminder setTableName(String value) { this.TableName = value; return this; }
        public String getFieldName() { return FieldName; }
        public Reminder setFieldName(String value) { this.FieldName = value; return this; }
        public Integer getRecordId() { return RecordId; }
        public Reminder setRecordId(Integer value) { this.RecordId = value; return this; }
        public Date getReminderDate() { return ReminderDate; }
        public Reminder setReminderDate(Date value) { this.ReminderDate = value; return this; }
        public String getReminderNote() { return ReminderNote; }
        public Reminder setReminderNote(String value) { this.ReminderNote = value; return this; }
        public Date getCreatedDate() { return CreatedDate; }
        public Reminder setCreatedDate(Date value) { this.CreatedDate = value; return this; }
        public String getCreatedBy() { return CreatedBy; }
        public Reminder setCreatedBy(String value) { this.CreatedBy = value; return this; }
        public Date getCompletedDate() { return CompletedDate; }
        public Reminder setCompletedDate(Date value) { this.CompletedDate = value; return this; }
    }

}

Java AgentReminderRequest DTOs

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/AgentReminder 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
		}
	},
	Reminder: 
	[
		{
			AgentName: String,
			RecordAgentName: String,
			RecordAgentID: 0,
			IsAdmin: False,
			AgentID: 0,
			ReminderId: 00000000000000000000000000000000,
			TableName: String,
			FieldName: String,
			RecordId: 0,
			ReminderDate: 0001-01-01,
			ReminderNote: String,
			CreatedDate: 0001-01-01,
			CreatedBy: String,
			CompletedDate: 0001-01-01
		}
	]
}