Get information about a program.
Get program
Get information about a program
path Parameters
programIdHeaders
ET-Client-NameEntur Client Header.
It is required that all consumers identify themselves by using this header.
Entur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers.
The structure of ET-Client-Name should be: <company>-<application> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Get program › Responses
OK
idnameThe name of the program
activeIf program is active. Inactive programs are excluded from triggering effects.
presetcreatedAtorganisationIdId of organisation owning the program
programVersionIdorganisationsWithAccessA list of organisations that can consume the program
administratorOrganisationsA list of organisations that can administrate the program
infoLinkA link to information about the program
referenceUnique reference for the program. Meant to be used to identify which program this is, across different environments where the id might be different. This enables clients of the api to more easily identify the program, for example to enrich the presentation, beyond what this api delivers (for example with an icon, or more descriptive text).
updatedAtGet reward ladder for a potential member
Reward ladder for a potential member shows the levels available, what is required to achieve each level and what rewards are given in each level with the specified member specification. For reis and skyss reiserabatt, no request body is required. For other programs, the member specification should be provided in the body, and it should be a JSON object with keys and values matching the member metadata definitions configured for the program. In these cases, request access to the programs custom generated spec. The member specification is used to determine which levels are relevant for the potential member and what rewards they would get in each level.
path Parameters
programIdHeaders
ET-Client-NameEntur Client Header.
It is required that all consumers identify themselves by using this header.
Entur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers.
The structure of ET-Client-Name should be: <company>-<application> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Get reward ladder for a potential member › Responses
OK
Program level details, including the specific requirements and rewards for each level in the program