[HTTP GET] ~/events/{eventId}/attendances

Description: Get a list of attendance for a specific Event

Request Information

URI Parameters

NameDescriptionTypeAdditional information
eventId

The specific Event's Id

integer

Required

Body Parameters

None

Response Information

Description

Successful Response - OK (200):

An Event

Response Content : Collection of EventAttendance

NameDescriptionTypeAdditional information
Id

The Id of the Event Attendance

integer

None.

EventId

The Id of the Event the EventAttendance belongs to

integer

None.

ContactId

The ID of the Contact the EventAttendance Record belongs to

string

None.

Comments

Comments about this EventAttendance Record

string

None.

Registered

Has the Contact registered for the event

boolean

None.

RegisteredDate

The DateTime the Contact registered for the Event

date

None.

Declined

Has the Contact Declined to attend the Event

boolean

None.

DeclinedDate

The DateTime the Contact declined to attend the Event

date

None.

Unregistered

Has the Contact Unregistered from the Event

boolean

None.

UnregisteredDate

The DateTime the contact unregistered for the Event

date

None.

Confirmed

Has the Contact confirmed their attendance at the Event

boolean

None.

ConfirmationDate

The DateTime the Contact confirmed their attendance at the Event

date

None.

Attended

Has the contact Attended the event

boolean

None.

AttendanceComments

Comments about the Contact's Attendance at the Event

string

None.


Response Codes:

  • 200 - OK
    • The specified Event's Contacts were retrieved and returned successfully.
  • 401 - Unauthorized
    • Request has been denied as it lacks valid Authentication credentials.
  • 403 - Forbidden
    • The user does not have the relevant permissions to perform this action.
  • 404 - NotFound
    • The specified Event was not found.
  • 500 - InternalServerError
    • An error occurred while processing this request.

Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "EventId": 2,
    "ContactId": "sample string 3",
    "Comments": "sample string 4",
    "Registered": true,
    "RegisteredDate": "2024-05-06T04:14:37.0225894+01:00",
    "Declined": true,
    "DeclinedDate": "2024-05-06T04:14:37.0225894+01:00",
    "Unregistered": true,
    "UnregisteredDate": "2024-05-06T04:14:37.0225894+01:00",
    "Confirmed": true,
    "ConfirmationDate": "2024-05-06T04:14:37.0225894+01:00",
    "Attended": true,
    "AttendanceComments": "sample string 9"
  },
  {
    "Id": 1,
    "EventId": 2,
    "ContactId": "sample string 3",
    "Comments": "sample string 4",
    "Registered": true,
    "RegisteredDate": "2024-05-06T04:14:37.0225894+01:00",
    "Declined": true,
    "DeclinedDate": "2024-05-06T04:14:37.0225894+01:00",
    "Unregistered": true,
    "UnregisteredDate": "2024-05-06T04:14:37.0225894+01:00",
    "Confirmed": true,
    "ConfirmationDate": "2024-05-06T04:14:37.0225894+01:00",
    "Attended": true,
    "AttendanceComments": "sample string 9"
  }
]

application/csp-report

Sample:
[{"Id":1,"EventId":2,"ContactId":"sample string 3","Comments":"sample string 4","Registered":true,"RegisteredDate":"2024-05-06T04:14:37.0225894+01:00","Declined":true,"DeclinedDate":"2024-05-06T04:14:37.0225894+01:00","Unregistered":true,"UnregisteredDate":"2024-05-06T04:14:37.0225894+01:00","Confirmed":true,"ConfirmationDate":"2024-05-06T04:14:37.0225894+01:00","Attended":true,"AttendanceComments":"sample string 9"},{"Id":1,"EventId":2,"ContactId":"sample string 3","Comments":"sample string 4","Registered":true,"RegisteredDate":"2024-05-06T04:14:37.0225894+01:00","Declined":true,"DeclinedDate":"2024-05-06T04:14:37.0225894+01:00","Unregistered":true,"UnregisteredDate":"2024-05-06T04:14:37.0225894+01:00","Confirmed":true,"ConfirmationDate":"2024-05-06T04:14:37.0225894+01:00","Attended":true,"AttendanceComments":"sample string 9"}]

application/xml, text/xml

Sample:
<ArrayOfEventAttendance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/W50API.Models.DTO">
  <EventAttendance>
    <AttendanceComments>sample string 9</AttendanceComments>
    <Attended>true</Attended>
    <Comments>sample string 4</Comments>
    <ConfirmationDate>2024-05-06T04:14:37.0225894+01:00</ConfirmationDate>
    <Confirmed>true</Confirmed>
    <ContactId>sample string 3</ContactId>
    <Declined>true</Declined>
    <DeclinedDate>2024-05-06T04:14:37.0225894+01:00</DeclinedDate>
    <EventId>2</EventId>
    <Id>1</Id>
    <Registered>true</Registered>
    <RegisteredDate>2024-05-06T04:14:37.0225894+01:00</RegisteredDate>
    <Unregistered>true</Unregistered>
    <UnregisteredDate>2024-05-06T04:14:37.0225894+01:00</UnregisteredDate>
  </EventAttendance>
  <EventAttendance>
    <AttendanceComments>sample string 9</AttendanceComments>
    <Attended>true</Attended>
    <Comments>sample string 4</Comments>
    <ConfirmationDate>2024-05-06T04:14:37.0225894+01:00</ConfirmationDate>
    <Confirmed>true</Confirmed>
    <ContactId>sample string 3</ContactId>
    <Declined>true</Declined>
    <DeclinedDate>2024-05-06T04:14:37.0225894+01:00</DeclinedDate>
    <EventId>2</EventId>
    <Id>1</Id>
    <Registered>true</Registered>
    <RegisteredDate>2024-05-06T04:14:37.0225894+01:00</RegisteredDate>
    <Unregistered>true</Unregistered>
    <UnregisteredDate>2024-05-06T04:14:37.0225894+01:00</UnregisteredDate>
  </EventAttendance>
</ArrayOfEventAttendance>