Back to endpoints

Get programs

GET PublicApi/{rewriteUrl}/{language}/Programs

Returns a list of programs ordered by id

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

Body Parameters

None.

Response Information

Resource Description

PARAMETERS
Items ()
Page (PageInfo)

Response Formats

CODE SAMPLE JSON
{
  "Items": [
    {
      "Id": 22,
      "Name": "Spring 2019",
      "Start": "0001-01-01",
      "End": "0001-01-01",
      "Url": "spring/2019.com",
      "PictureUrl": "img/spring2019.jpg",
      "Online": false,
      "IsArchived": false,
      "IsVisibleOnAmiliaPages": false,
      "IsTeamSeason": false
    },
    {
      "Id": 22,
      "Name": "Spring 2019",
      "Start": "0001-01-01",
      "End": "0001-01-01",
      "Url": "spring/2019.com",
      "PictureUrl": "img/spring2019.jpg",
      "Online": false,
      "IsArchived": false,
      "IsVisibleOnAmiliaPages": false,
      "IsTeamSeason": false
    }
  ],
  "Page": {
    "NextId": 1,
    "Next": "string 1"
  }
}