[HTTP GET] ~/contacts/{contactId}/rsvpevents

Description: Get a list of a Contact's RSVP Event Interactions

Request Information

URI Parameters

NameDescriptionTypeAdditional information
contactId

Encrypted Contact Id

string

Required

Body Parameters

None

Response Information

Description

Successful Response - OK (200):

A collection of ContactRSVPEventDTO

Response Content : Collection of ContactRSVPEvent

NameDescriptionTypeAdditional information
Id

The RSVP Events ID

integer

None.

Name

The name the RSVP Event

string

None.

Date

The Date of the interaction

date

None.

Attended

Was the RSVP Event attended

boolean

None.


Response Codes:

  • 200 - OK
    • The specified Contact's RSVP Event Interactions 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 Contact was not found.
  • 500 - InternalServerError
    • An error occurred while processing this request.

Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "Date": "2024-05-06T02:05:44.1164277+01:00",
    "Attended": true
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "Date": "2024-05-06T02:05:44.1164277+01:00",
    "Attended": true
  }
]

application/csp-report

Sample:
[{"Id":1,"Name":"sample string 2","Date":"2024-05-06T02:05:44.1164277+01:00","Attended":true},{"Id":1,"Name":"sample string 2","Date":"2024-05-06T02:05:44.1164277+01:00","Attended":true}]

application/xml, text/xml

Sample:
<ArrayOfContactRSVPEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/W50API.Models.DTO.Contacts">
  <ContactRSVPEvent>
    <Attended>true</Attended>
    <Date>2024-05-06T02:05:44.1164277+01:00</Date>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </ContactRSVPEvent>
  <ContactRSVPEvent>
    <Attended>true</Attended>
    <Date>2024-05-06T02:05:44.1164277+01:00</Date>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </ContactRSVPEvent>
</ArrayOfContactRSVPEvent>