Skip to content
campaiDeveloper
campai.com

Booking · Events · Attendance confirmations

POST/{organizationId}/{mandateId}/booking/events/{eventId}/attendance-confirmations/review

Issue reviewed attendance confirmations

Issues the event's confirmation for the reviewed attendees of a date, each with the confirmation type's certificate where the participant is a contact the certificate may go to. A person without a contact can be made one first, which needs the right to create contacts of that type; the contact is linked on every date the attendee is booked on. The certificates end on the given date, or after the certificate type's own period when none is given. Attendees who did not attend or already have a confirmation are left out and counted.

Permissions

Send an API key of the organization in the path, using the X-API-Key header.

Permission checks in detail
Required permissions
  • mandate.read
  • event.read
  • attendee.edit
  • certificate.insert
  • certificateType.read
Also checked, depending on the request and the records it touches
  • contact:<contactType>.insert

Request

Path parameters

  • organizationIdidrequired
  • mandateIdidrequired
  • eventIdidrequired

Body

Content-Type: application/json

  • itemsobject[]required

    1–500 items

    2 properties
    • attendeeIdidrequired
    • createContactTypestringrequirednullable
      member address customer sponsor contributor employee supplier
  • validTostringnullable
  • sendEmailbooleanrequired
Request
curl --fail-with-body --silent --show-error --max-time 30 --globoff \
  --request POST 'https://cloud.campai.com/api/YOUR_ORGANIZATION_ID/YOUR_MANDATE_ID/booking/events/YOUR_EVENT_ID/attendance-confirmations/review' \
  --header 'X-API-Key: YOUR_API_KEY'

No request that worked has been recorded yet, so the body is not shown.

Response

200 Successful response

Content-Type: application/json

  • issuedinteger

    at least 0

  • certificatesinteger

    at least 0

  • notAttendedinteger

    at least 0

  • existinginteger

    at least 0

  • failedinteger

    at least 0

Response200
{
  "issued": 0,
  "certificates": 0,
  "notAttended": 0,
  "existing": 0,
  "failed": 0
}

Errors

No errors of its own are known for this endpoint.

Errors nearly every request can meet are listed under Errors.