Skip to content
Aller au contenu
Charitips

API reference · Calendar Events

Get a calendar event instance

GET/v1/calendar-event-instances/{calendarEventInstanceId}

Retrieve information about a calendar event instance.

Requires a Bearer access token.

Parameters

1 of 3 fields has no description in the spec.

  • calendarEventInstanceId#stringin pathrequired

  • language#stringin query

    Get details in a specific language.

    Required in the spec, optional for the API.

    fren

  • country#stringin query

    Filter for a given country. ISO 3166-1 alpha-2 code. If not specified, only international events will be returned.

    Required in the spec, optional for the API.

Response

200 · LocalizedCalendarEventInstance

No field is described in the spec.

  • calendarEventInstanceId#stringalways returned

  • slug#stringalways returned

  • edition#stringalways returned

  • startDate#string (date-time)always returned

  • endDate#string (date-time)always returned

  • calendarEventId#stringalways returned

  • createdAt#string (date-time)always returned

  • updatedAt#string (date-time)always returned

  • name#stringalways returned

  • countries#string[]always returned

  • charities#LightCharity[]always returned

    3 child fields
    • charityIdstringalways returned

    • namestringalways returned

    • logoUrlstringalways returned

Errors

  • 400A field is missing, has the wrong type, or is not part of the request schema.

    Every request with a body or query is validated.

    {
      "statusCode": 400,
      "message": [
        "amount must not be less than 1",
        "property foo should not exist"
      ],
      "error": "Bad Request"
    }
  • 401Unauthorized

    Missing, expired or invalid access token.

    {
      "statusCode": 401,
      "message": "Unauthorized"
    }
  • 403Account closed
    {
      "message": "Account closed",
      "code": "ACCOUNT_CLOSED"
    }
GET /v1/calendar-event-instances/<calendarEventInstanceId>
curl -X GET https://api.sandbox.charitips.com/v1/calendar-event-instances/<calendarEventInstanceId> \  -H "Authorization: Bearer $CHARITIPS_TOKEN"
Built from the spec and the API code

Request bodies are written for this docs and checked against the API's validation; ids in angle brackets are placeholders. Response values are placeholders built from the schema.