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 .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/EventAgentRegistration/ByAgent/{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
		}
	},
	EventAgentRegistration: 
	[
		{
			EventAgentRegistrationId: 0,
			AgentId: 0,
			DateCreated: 0001-01-01,
			IsRegistered: False,
			EventRegistrationId: 00000000000000000000000000000000,
			Description: String,
			Summary: String,
			PageContent: String,
			RegistrationStart: 0001-01-01,
			RegistrationEnd: 0001-01-01,
			RegistrationCount: 0,
			Active: False
		}
	]
}