| Requires any of the roles: | Agent, Administrator |
| GET,OPTIONS | /v1/AgentReminder |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class AgentReminderRequest
{
open var IsAdmin:Boolean? = null
open var ReminderType:String? = null
}
open class ReminderResponse
{
open var ResponseStatus:ResponseStatus? = null
open var Reminder:ArrayList<ReminderExtended> = ArrayList<ReminderExtended>()
}
open class ReminderExtended : Reminder()
{
open var AgentName:String? = null
open var RecordAgentName:String? = null
open var RecordAgentID:Int? = null
open var IsAdmin:Boolean? = null
open var AgentID:Int? = null
}
open class Reminder
{
open var ReminderId:UUID? = null
open var TableName:String? = null
open var FieldName:String? = null
open var RecordId:Int? = null
open var ReminderDate:Date? = null
open var ReminderNote:String? = null
open var CreatedDate:Date? = null
open var CreatedBy:String? = null
open var CompletedDate:Date? = null
}
Kotlin 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"}]}