| GET | /v1/EventAgentRegistration/ByAgent/{AgentId} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| AgentId | path | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| EventAgentRegistration | form | List<EventAgentRegistration> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| EventAgentRegistrationId | form | int | No | |
| AgentId | form | int | No | |
| DateCreated | form | DateTime | No | |
| IsRegistered | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| EventRegistrationId | form | Guid | No | |
| Description | form | string | No | |
| Summary | form | string | No | |
| PageContent | form | string | No | |
| RegistrationStart | form | DateTime | No | |
| RegistrationEnd | form | DateTime | No | |
| RegistrationCount | form | int | No | |
| Active | form | bool | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=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}]}