Back to endpoints

Get persons by activity id

GET PublicApi/{rewriteUrl}/{language}/Activities/{id}/Persons

?limit={limit}

&idStart={idStart}

You can get the activity id from /Events.

Request Information

URI Parameters

PARAMETERS
rewriteUrl (string)

Unique, url-friendly organization token. Part of base url

Required
language (string)

Language in which the localizable values should be returned. Part of base url. Value is either 'fr' or 'en'

Required
id (integer)

Activity id

Required
limit (integer)

Pagination limit in number of results per page. Min value is 5, max value is 250. Default is 250

Optional
idStart (integer)

Starting item id to return in pagination. Default is 0

Optional

Body Parameters

None.

Response Information

Resource Description

PARAMETERS
Items ()
Page (PageInfo)

Response Formats

CODE SAMPLE JSON
{
  "Items": [
    {
      "Information": {
        "UpdatedOn": "0001-01-01T00:00:00",
        "Alias": "Lili",
        "FriendRequest": "Karina Beaulieu"
      },
      "Id": 0,
      "AmiliaId": "P088011",
      "AccountId": 0,
      "FirstName": "Lydia",
      "LastName": "Lucas",
      "Gender": "NotSpecified",
      "DateOfBirth": "2022-09-01",
      "IsChild": true,
      "Email": "familleL_lucas@gmail.com",
      "Address": {
        "Telephone": "450 555 5555",
        "AddressLine1": "111 1re avenue",
        "AddressLine2": "app. 1",
        "City": "Brossard",
        "ZipPostalCode": "H0H 0H0",
        "StateProvince": "QC",
        "Country": "Canada",
        "Latitude": 45.7312,
        "Longitude": -73.1111
      },
      "PictureId": 444,
      "PictureUrl": "pictures/lydialucas.jpg",
      "Contacts": [
        {
          "Id": 111,
          "FirstName": "Madeleine",
          "LastName": "Lauzon",
          "PhoneNumber": "450 555 5555",
          "Role": "Mother",
          "Relationship": "mother"
        }
      ],
      "Skills": [
        {
          "Id": 0,
          "Name": "Rescue",
          "AwardedDate": "0001-01-01"
        }
      ]
    },
    {
      "Information": {
        "UpdatedOn": "0001-01-01T00:00:00",
        "Alias": "Lili",
        "FriendRequest": "Karina Beaulieu"
      },
      "Id": 0,
      "AmiliaId": "P088011",
      "AccountId": 0,
      "FirstName": "Lydia",
      "LastName": "Lucas",
      "Gender": "NotSpecified",
      "DateOfBirth": "2022-09-01",
      "IsChild": true,
      "Email": "familleL_lucas@gmail.com",
      "Address": {
        "Telephone": "450 555 5555",
        "AddressLine1": "111 1re avenue",
        "AddressLine2": "app. 1",
        "City": "Brossard",
        "ZipPostalCode": "H0H 0H0",
        "StateProvince": "QC",
        "Country": "Canada",
        "Latitude": 45.7312,
        "Longitude": -73.1111
      },
      "PictureId": 444,
      "PictureUrl": "pictures/lydialucas.jpg",
      "Contacts": [
        {
          "Id": 111,
          "FirstName": "Madeleine",
          "LastName": "Lauzon",
          "PhoneNumber": "450 555 5555",
          "Role": "Mother",
          "Relationship": "mother"
        }
      ],
      "Skills": [
        {
          "Id": 0,
          "Name": "Rescue",
          "AwardedDate": "0001-01-01"
        }
      ]
    }
  ],
  "Page": {
    "NextId": 1,
    "Next": "string 1"
  }
}