| Requires any of the roles: | Agent, Administrator |
| GET,OPTIONS | /v1/AgentReminder |
|---|
"use strict";
export class Reminder {
/** @param {{ReminderId?:string,TableName?:string,FieldName?:string,RecordId?:number,ReminderDate?:string,ReminderNote?:string,CreatedDate?:string,CreatedBy?:string,CompletedDate?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
ReminderId;
/** @type {string} */
TableName;
/** @type {string} */
FieldName;
/** @type {number} */
RecordId;
/** @type {string} */
ReminderDate;
/** @type {string} */
ReminderNote;
/** @type {string} */
CreatedDate;
/** @type {string} */
CreatedBy;
/** @type {string} */
CompletedDate;
}
export class ReminderExtended extends Reminder {
/** @param {{AgentName?:string,RecordAgentName?:string,RecordAgentID?:number,IsAdmin?:boolean,AgentID?:number,ReminderId?:string,TableName?:string,FieldName?:string,RecordId?:number,ReminderDate?:string,ReminderNote?:string,CreatedDate?:string,CreatedBy?:string,CompletedDate?:string}} [init] */
constructor(init) { super(init); Object.assign(this, init) }
/** @type {string} */
AgentName;
/** @type {string} */
RecordAgentName;
/** @type {number} */
RecordAgentID;
/** @type {boolean} */
IsAdmin;
/** @type {number} */
AgentID;
}
export class ReminderResponse {
/** @param {{ResponseStatus?:ResponseStatus,Reminder?:ReminderExtended[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ResponseStatus} */
ResponseStatus;
/** @type {ReminderExtended[]} */
Reminder = [];
}
export class AgentReminderRequest {
/** @param {{IsAdmin?:boolean,ReminderType?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {boolean} */
IsAdmin;
/** @type {string} */
ReminderType;
}
JavaScript AgentReminderRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
HTTP/1.1 200 OK
Content-Type: application/json
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-01T00:00:00.0000000","ReminderNote":"String","CreatedDate":"0001-01-01T00:00:00.0000000","CreatedBy":"String","CompletedDate":"0001-01-01T00:00:00.0000000"}]}