Trendsic Platform Service

<back to all web services

EventAgentRegistrationByAgentRequest

Requires Authentication
The following routes are available for this service:
GET/v1/EventAgentRegistration/ByAgent/{AgentId}
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class EventAgentRegistrationByAgentRequest
{
    open var AgentId:Int? = null
}

open class EventAgentRegistrationResponse
{
    open var ResponseStatus:ResponseStatus? = null
    open var EventAgentRegistration:ArrayList<EventAgentRegistration> = ArrayList<EventAgentRegistration>()
}

open class EventAgentRegistration : EventRegistration()
{
    open var EventAgentRegistrationId:Int? = null
    open var AgentId:Int? = null
    open var DateCreated:Date? = null
    open var IsRegistered:Boolean? = null
}

open class EventRegistration
{
    open var EventRegistrationId:UUID? = null
    open var Description:String? = null
    open var Summary:String? = null
    open var PageContent:String? = null
    open var RegistrationStart:Date? = null
    open var RegistrationEnd:Date? = null
    open var RegistrationCount:Int? = null
    open var Active:Boolean? = null
}

Kotlin EventAgentRegistrationByAgentRequest DTOs

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

HTTP + OTHER

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

GET /v1/EventAgentRegistration/ByAgent/{AgentId} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"EventAgentRegistration":[{"EventAgentRegistrationId":0,"AgentId":0,"DateCreated":"0001-01-01T00:00:00.0000000","IsRegistered":false,"EventRegistrationId":"00000000000000000000000000000000","Description":"String","Summary":"String","PageContent":"String","RegistrationStart":"0001-01-01T00:00:00.0000000","RegistrationEnd":"0001-01-01T00:00:00.0000000","RegistrationCount":0,"Active":false}]}