Back to endpoints

Get program by id

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

You can get the program id from /Programs.

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)

Program id

Required

Body Parameters

None.

Response Information

Resource Description

PARAMETERS
Id (integer)

Resource id

Name (string)

Resource name

Start (date)

Inclusive start limit. Format is 9999-12-31

End (date)

Inclusive end limit. Format is 9999-12-31

Url (string)

Url of the resource

PictureUrl (string)

Url of the resource picture

Online (boolean)
IsArchived (boolean)

True if resource is archived

IsVisibleOnAmiliaPages (boolean)
IsTeamSeason (boolean)

Response Formats

CODE SAMPLE JSON
{
  "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
}