Get an activity
GET api/V3/{language}/activities/{id}
?showTaxes={showTaxes}
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 |
id (integer) |
Activity id |
Required |
showTaxes (boolean) |
Default value is False |
Optional |
Body Parameters
None.
Response Information
Resource Description
PARAMETERS | ||
---|---|---|
Description (string) |
Description of the activity that will be visible to your customers in your store |
|
Prerequisite (string) |
Specific prerequisites for an activity. This does not prevent the clients from registering, only informs them |
|
Note (string) |
Additional important information, such as what to bring |
|
ThirdPartyUrl (string) |
For registrations happening with a third party instead of Amilia |
|
AdditionalInformation (string) |
Additional important information, such as what to bring |
|
ResponsibleName (string) | ||
Price (decimal number) |
Price of activity |
|
DropInPrice (decimal number) |
Price of drop-in activity |
|
DisplayOrder (integer) | ||
Age (ActivityAgeApiModelV3) |
Object containing minimum and maximum ages, and the option to specify age in months |
|
MaxAttendance (integer) |
Maximum number of spots |
|
SpotsRemaining (integer) |
Number of spots still available in an activity |
|
SpotsReserved (integer) |
Number of reserved spots for an activity |
|
NumberOfOccurrences (integer) |
Number of occurrences the activity has |
|
StartDate (date) |
Inclusive start limit. Format is 9999-12-31 |
|
EndDate (date) |
Inclusive end limit. Format is 9999-12-31 |
|
ScheduleSummary (string) |
Description such as 'Fridays 16h-17h, 2 May to 27 August', as opposed to a full list of occurrences |
|
HasSessionEnabled (boolean) |
True for subscriptions |
|
HasDropInEnabled (boolean) |
True for drop-ins |
|
AgeSummary (string) |
Minimum-maximum age span, in format '7-77' |
|
Keywords () |
Object containing the id and name of keywords, which are specific types of activities, such as 'soccer' or 'yoga' |
|
Groups () |
In an activity, object containing the groups and their details |
|
OrganizationId (integer) |
Id of the organization. This one cannot be substituted for rewriteUrl, contrary to the organization id in the query parameters |
|
Occurrences () | ||
RegistrationPeriods () | ||
Taxes (ApplicableTaxesModelV3) | ||
LocationLabel (string) | ||
SecretUrl (string) | ||
PictureUrl (string) |
Url of the resource picture |
|
Id (integer) |
Resource id |
|
Name (string) |
Resource name |
|
ProgramId (integer) |
Id of the program |
|
ProgramName (string) |
Part of the hierarchy Program > Category > Subcategory > Activity |
|
CategoryId (integer) |
Id of the category |
|
CategoryName (string) |
Part of the hierarchy Program > Category > Subcategory > Activity |
|
SubCategoryId (integer) |
Id of the subcategory |
|
SubCategoryName (string) |
Part of the hierarchy Program > Category > Subcategory > Activity |
|
Url (string) |
Url of the resource |
|
Status (StateType) |
Object containing the possible status values (case-insensitive). For an activity, possible values are Normal, Hidden and Cancelled. |