POST v/1/Rest/Public/{client_domain}/Events
Search for events based on the supplied parameters.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| client_domain | string |
None. |
Body Parameters
the search parameters.
SearchEventsParameters| Name | Description | Type | Additional information |
|---|---|---|---|
| Event_Id | integer |
None. |
|
| EventName | string |
None. |
|
| Type_Id | integer |
None. |
|
| Active | boolean |
None. |
|
| DateCreatedFrom | date |
None. |
|
| DateCreatedTo | date |
None. |
|
| PageStartFrom | integer |
None. |
|
| PageSize | integer |
None. |
|
| OrderByField | string |
None. |
|
| OrderByDirection | OrderByDirections |
None. |
Request Formats
application/json, text/json
Sample:
{
"Event_Id": 1,
"EventName": "sample string 1",
"Type_Id": 1,
"Active": true,
"DateCreatedFrom": "2025-12-17T23:42:04.7703748-05:00",
"DateCreatedTo": "2025-12-17T23:42:04.7703748-05:00",
"PageStartFrom": 1,
"PageSize": 1,
"OrderByField": "sample string 2",
"OrderByDirection": 1
}
application/xml, text/xml
Sample:
<SearchEventsParameters xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <OrderByDirection>Ascending</OrderByDirection> <OrderByField>sample string 2</OrderByField> <PageSize>1</PageSize> <PageStartFrom>1</PageStartFrom> <DateCreatedFrom>2025-12-17T23:42:04.7703748-05:00</DateCreatedFrom> <DateCreatedTo>2025-12-17T23:42:04.7703748-05:00</DateCreatedTo> <Active>true</Active> <EventName>sample string 1</EventName> <Event_Id>1</Event_Id> <Type_Id>1</Type_Id> </SearchEventsParameters>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
a list of matching events.
GetEventsResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Events | Collection of EventRecord |
None. |
|
| QueryRecordCount | integer |
None. |
|
| Successful | boolean |
None. |
|
| Error | PublicApiError |
None. |
Response Formats
application/json, text/json
Sample:
{
"Events": [
{
"Active": true,
"StartDate": "2025-12-17T23:42:04.9831253-05:00",
"EndDate": "2025-12-17T23:42:04.9831253-05:00",
"Name": "sample string 2",
"DateCreated": "2025-12-17T23:42:04.9831253-05:00",
"Id": 4
},
{
"Active": true,
"StartDate": "2025-12-17T23:42:04.9831253-05:00",
"EndDate": "2025-12-17T23:42:04.9831253-05:00",
"Name": "sample string 2",
"DateCreated": "2025-12-17T23:42:04.9831253-05:00",
"Id": 4
}
],
"QueryRecordCount": 1,
"Successful": true,
"Error": {
"Code": 0,
"Message": "sample string 1"
}
}
application/xml, text/xml
Sample:
<GetEventsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Error>
<Message>sample string 1</Message>
<Code>None</Code>
</Error>
<Successful>true</Successful>
<QueryRecordCount>1</QueryRecordCount>
<Events>
<EventRecord>
<Id>4</Id>
<DateCreated>2025-12-17T23:42:04.9831253-05:00</DateCreated>
<Name>sample string 2</Name>
<Active>true</Active>
<EndDate>2025-12-17T23:42:04.9831253-05:00</EndDate>
<StartDate>2025-12-17T23:42:04.9831253-05:00</StartDate>
</EventRecord>
<EventRecord>
<Id>4</Id>
<DateCreated>2025-12-17T23:42:04.9831253-05:00</DateCreated>
<Name>sample string 2</Name>
<Active>true</Active>
<EndDate>2025-12-17T23:42:04.9831253-05:00</EndDate>
<StartDate>2025-12-17T23:42:04.9831253-05:00</StartDate>
</EventRecord>
</Events>
</GetEventsResponse>