Get a program for an organization
GET api/V3/{language}/org/{orgIdentifier}/programs/{id}
You can get the program id from org/{orgIdentifier}/programs
Request Information
URI Parameters
PARAMETERS | ||
---|---|---|
language (string) |
Language in which the localizable values should be returned. Part of base url. Value is either 'fr' or 'en' |
Required |
orgIdentifier (string) |
Amilia-specific organization identifier. This identifier can be either the organization number, such as 8008, or the organization URL identifier. You can find that by looking at the URL of your Amilia store. It may look like lower-case words separated by a dash, such as forest-explorers. Note that in v2 and v1 we call that the 'rewrite URL'. |
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 |
|
IsArchived (boolean) |
True if resource is archived |
|
IsVisible (boolean) |
True when program is visible on Amilia pages |
|
IsPasswordProtected (boolean) |