PUT api/invites/{id}

Updates the invite from the given .

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The id of the resource.

globally unique identifier

Required

Body Parameters

InviteDto
NameDescriptionTypeAdditional information
InviteKeys

Collection of InviteKeyDto

None.

Id

globally unique identifier

None.

CreationDate

date

None.

AppointmentId

globally unique identifier

None.

PersonId

globally unique identifier

None.

PromotionalEventId

globally unique identifier

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "InviteKeys": [
    {
      "Key": "sample string 1",
      "CreationDate": "2025-12-11T00:42:39.7724225+00:00",
      "InviteId": "b113dae5-4406-4c2b-ae96-1bac2493498f",
      "CommunicationId": "562576a5-26a4-4eec-9e5d-33642b4b1210",
      "CommunicationName": "sample string 5",
      "CommunicationType": "sample string 6"
    },
    {
      "Key": "sample string 1",
      "CreationDate": "2025-12-11T00:42:39.7724225+00:00",
      "InviteId": "b113dae5-4406-4c2b-ae96-1bac2493498f",
      "CommunicationId": "562576a5-26a4-4eec-9e5d-33642b4b1210",
      "CommunicationName": "sample string 5",
      "CommunicationType": "sample string 6"
    }
  ],
  "Id": "38676eb7-5ea2-4921-b20a-aa273cc34423",
  "CreationDate": "2025-12-11T00:42:39.7724225+00:00",
  "AppointmentId": "7cf89428-68b0-4d35-8e5d-35d6f23b0e56",
  "PersonId": "d3edadaa-bc03-4acb-a3fa-dae9ae165e74",
  "PromotionalEventId": "63471554-74b2-4551-92ed-18adb51ae6d0",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<InviteDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.EventManagement.Models">
  <AppointmentId>7cf89428-68b0-4d35-8e5d-35d6f23b0e56</AppointmentId>
  <CreationDate>2025-12-11T00:42:39.7724225+00:00</CreationDate>
  <Id>38676eb7-5ea2-4921-b20a-aa273cc34423</Id>
  <IsDeleted>true</IsDeleted>
  <PersonId>d3edadaa-bc03-4acb-a3fa-dae9ae165e74</PersonId>
  <PromotionalEventId>63471554-74b2-4551-92ed-18adb51ae6d0</PromotionalEventId>
  <InviteKeys>
    <InviteKeyDto>
      <CommunicationId>562576a5-26a4-4eec-9e5d-33642b4b1210</CommunicationId>
      <CommunicationName>sample string 5</CommunicationName>
      <CommunicationType>sample string 6</CommunicationType>
      <CreationDate>2025-12-11T00:42:39.7724225+00:00</CreationDate>
      <InviteId>b113dae5-4406-4c2b-ae96-1bac2493498f</InviteId>
      <Key>sample string 1</Key>
    </InviteKeyDto>
    <InviteKeyDto>
      <CommunicationId>562576a5-26a4-4eec-9e5d-33642b4b1210</CommunicationId>
      <CommunicationName>sample string 5</CommunicationName>
      <CommunicationType>sample string 6</CommunicationType>
      <CreationDate>2025-12-11T00:42:39.7724225+00:00</CreationDate>
      <InviteId>b113dae5-4406-4c2b-ae96-1bac2493498f</InviteId>
      <Key>sample string 1</Key>
    </InviteKeyDto>
  </InviteKeys>
</InviteDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.