API v3 reference - organization
Version 3 of the Amilia API is the latest supported version. If you are using an older version, we recommend you switch to this one.
AccessScans
Manage access to your facilities with access scans
#
Get the access scans for an organization for a specified date range
This endpoint is paginated.
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 |
start (date) |
Inclusive start limit of a date range filter. Format is YYYY-MM-DD. When both start and end are omitted, returns events for today |
Optional |
end (date) |
Inclusive end limit of a date range filter. Format is YYYY-MM-DD. If end is omitted, retrieves only for one day specified by start |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
#
Get the access scans for a configuration for a specified date range
This endpoint is paginated.
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) |
Id of the item before the /{id} in the url |
Required |
start (date) |
Inclusive start limit of a date range filter. Format is YYYY-MM-DD. When both start and end are omitted, returns events for today |
Optional |
end (date) |
Inclusive end limit of a date range filter. Format is YYYY-MM-DD. If end is omitted, retrieves only for one day specified by start |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
#
Get the access scans for a location for a specified date range
This endpoint is paginated.
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) |
Id of the item before the /{id} in the url |
Required |
start (date) |
Inclusive start limit of a date range filter. Format is YYYY-MM-DD. When both start and end are omitted, returns events for today |
Optional |
end (date) |
Inclusive end limit of a date range filter. Format is YYYY-MM-DD. If end is omitted, retrieves only for one day specified by start |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
Accounts
An account can represent either a personal (family) account, or a corporate account. These endpoints give you access to the list of clients you have for your organization.
#
Get accounts
Returns a list of all accounts sorted by id, with the option to show archived accounts
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 |
accountOwnerEmail (string) |
No description available |
Optional |
showArchived (boolean) |
Option to also show archived items. Default value is False |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
#
Get an account
You can get the account id from /org/{orgIdentifier}/accounts. Returns an account with the option to show the medical information of the persons in it
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) |
Account id |
Required |
showMedicalInfo (boolean) |
Option to show the persons' medical information. Default value is False |
Optional |
#
Get contacts for an account
You can get the account id from /org/{orgIdentifier}/accounts. Returns a list of persons entered in the account as contacts
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) |
Account id |
Required |
#
Get rental contracts
You can get the account id from /org/{orgIdentifier}/accounts. Returns a list of rental contracts ordered by id, with the option to show archived contracts and to filter by contract status
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) |
Account id |
Required |
status (string) |
Possible values are 'All', 'Approved', 'Draft', and 'PendingApproval'. These values are case-insensitive. Default value is All |
Optional |
showArchived (boolean) |
Option to also show archived items. Default value is False |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
#
Get registrations
You can get the account id from /org/{orgIdentifier}/accounts. Returns a list of registrations ordered by id, with the options to show registrations to programs that have ended
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) |
Account id |
Required |
showEnded (boolean) |
Option to show registrations for programs that have ended. Registrations are only valid during a program's lifetime. Default value is False |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
#
Get private lessons for account
You can get the account id from /org/{orgIdentifier}/accounts. Returns a list of private lessons ordered by id, with the option to show lessons that have already taken place.
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) |
Account id |
Required |
showEnded (boolean) |
Option to show registrations for programs that have ended. Registrations are only valid during a program's lifetime. Default value is False |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
Activities
In Amilia, an activity is a class or specific offering. Other systems may call this a program, whereas in Amilia a program is a container of similar activities.
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) |
Activity id |
Required |
showTaxes (boolean) |
Default value is False |
Optional |
#
Get an activity's occurrences for an organization
Returns a list of activity (events), with the option to define a start and end date and to show those that have been edited
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) |
Activity id |
Required |
showEdited (boolean) |
Option to show items that have been modified. Default value is False |
Optional |
from (date) |
Start date formatted as YYYY-MM-DD. Inclusive in all versions of the API. Default value is null |
Optional |
to (date) |
End date formatted as YYYY-MM-DD. Inclusive in version 3, exclusive in previous versions of the API. Default value is null |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
#
Get an activity's attendance per occurrence for an organization
Returns a list of activity (events) with their attendance lists.
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) |
Activity id |
Required |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
#
Get persons in an activity for an organization
Returns a list of persons subscribed to an activity, with the option to show the persons' registrations, skills and medical information and the option to show participants for session or drop ins, or those that have cancelled the registration.
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) |
Activity id |
Required |
status (PersonActivityStatusV3) |
Default value is Registered |
Optional |
showSkills (boolean) |
Option to show relevant skills. Default value is False |
Optional |
showRegistrations (boolean) |
Option to show the persons who registered. Default value is False |
Optional |
showMedicalInfo (boolean) |
Option to show the persons' medical information. Default value is False |
Optional |
showCancelledRegistrations (boolean) |
Default value is False |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
#
Get all waitlisted persons in current activities
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 |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
#
Get all waitlisted persons in for a single activity
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) |
Activity id |
Required |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
#
Get all activities for an organization
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 |
showPastActivities (boolean) |
Option to also show past activities. Default value is false |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
from (date) |
Start date formatted as YYYY-MM-DD. Inclusive in all versions of the API. Default value is null |
Optional |
to (date) |
End date formatted as YYYY-MM-DD. Inclusive in version 3, exclusive in previous versions of the API. Default value is null |
Optional |
Authentication
#
Authenticate the user in the API
Returns a token to be used for all other calls. Note that the call (written with the full path below) does not contain the {language} parameter
There are no parameters for this call.
Donations
#
Get all donations sold for an organization
Returns all the donations that are sold for your organization (defaults to last 30 days).
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 |
from (date) |
Start date formatted as YYYY-MM-DD. Inclusive in all versions of the API. Default value is null |
Optional |
to (date) |
End date formatted as YYYY-MM-DD. Inclusive in version 3, exclusive in previous versions of the API. Default value is null |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
Events
An event is an activity unit in a unique time slot. The terms event and occurrence are used interchangeably in our platform.
#
Get events for an organization
Retrieves all activity events occurring in the active programs of an organization, for the given date range.
Arguments 'from' and 'to' are dates. If 'to' is omitted, retrieves only for one day specified by 'from'. When both 'from' and 'to' are omitted, returns events for today.
You can also limit the search to a given program given the 'programId' argument, and report the list of participants and their attendance for each returned event by passing 'showParticipants=true'.
This call is useful to build a calendar.
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 |
from (date) |
Start date formatted as YYYY-MM-DD. Inclusive in all versions of the API. Default value is null |
Optional |
to (date) |
End date formatted as YYYY-MM-DD. Inclusive in version 3, exclusive in previous versions of the API. Default value is null |
Optional |
programId (integer) |
Id of the program in which the event is. Default value is null |
Optional |
showParticipants (boolean) |
Option to show the list of participants and their attendance. Default value is False |
Optional |
showHidden (boolean) |
Option to return hidden items. Default value is False |
Optional |
showSkipped (boolean) |
Default value is False |
Optional |
showCanceled (boolean) |
Default value is False |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
JournalEntries
A journal entry is a record of a transaction that increases/decreases the balance of a financial account, keeping track of what Invoice, Payment or Reconciliation was affected. Since we are using the double entry bookkeeping system, every financially meaningful event will create 2 journal entries.
#
Get Journal Entries
Returns a list of all journal entries sorted by most recent first.
It is possible to specify a date range or only start (from) or end (to) date.
If no dates are specified, all the journal entries for the organization are returned.
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 |
from (date) |
Start date formatted as YYYY-MM-DD. Inclusive in all versions of the API. Default value is null |
Optional |
to (date) |
End date formatted as YYYY-MM-DD. Inclusive in version 3, exclusive in previous versions of the API. Default value is null |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
Keywords
Keywords summarize specific types of and are related to
#
Get keywords
Returns a list of supported keywords, with the option to specify a partner name
PARAMETERS | ||
---|---|---|
language (string) |
Language in which the localizable values should be returned. Part of base url. Value is either 'fr' or 'en' |
Required |
partner (string) |
Partner name. Default value is null |
Optional |
#
Get a keyword
Returns an individual keyword by id, with the option to specify a partner name
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) |
Keyword id |
Required |
partner (string) |
Partner name. Default value is null |
Optional |
LedgerCode
Ledger Entries allow an organization to map money flows to ledger book entries for accounting purposes.
#
Get Ledger Entries
Returns a list of all Ledger Entries by id, with the option to show archived items.
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 |
showArchived (boolean) |
Option to also show archived items. Default value is False |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
#
Get Ledger Entry
Returns details of a Ledger Entry by id.
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 |
ledgerCodeId (integer) |
Ledger Code id. |
Required |
Locations
Physical places where activities happen
#
Get locations for an organization
Returns all the locations that have been defined for your organization. You must specify area type and coordinates. You also have the option to specify a radius and an activity keyword id. You can also show children locations that have the given keyword
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 |
type (string) |
Shape of search area: circle (search by Radius), rectangle (search by BoundingBox) or polygon (search by Polygon). |
Optional |
coordinates (list of doubles) |
Pairs of points on a 2D map. Each pair has the format 45.00,73.00. Extra pairs are appended with a comma like so: 45.00,73.00,10.00,10.00. In the search by BoundingBox, the rectangle is defined by its top-left and bottom-right coordinates (so four numbers).In the search by Polygon, the polygon is defined by all its coordinates (an even number of numbers, and more than four numbers). The polygon points must be ordered either clockwise or counterclockwise to prevent the enclosed area from folding over itself and give unexpected results. |
Optional |
radius (integer) |
In the search by Radius, the circle is defined by its radius in km. Default value is null |
Optional |
keywordId (integer) |
Activity keyword id. Default value is null |
Optional |
showChildrenKeywords (boolean) |
Option to also show children locations containing the given keywords Default value is False |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
#
Get an organization's activities by location
You can get the location id from /org/{orgIdentifier}/locations. Returns a list of taking place at the given location, with the option to specify a keyword id and to show hidden and cancelled activities, activities in child locations and child locations containing the given keyword
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) |
Location id |
Required |
showHidden (boolean) |
Option to return hidden items. Default value is False |
Optional |
showCancelled (boolean) |
Option to also return cancelled items. Default value is False |
Optional |
showChildrenActivities (boolean) |
Option to also show activities in children locations. Default value is False |
Optional |
keywordId (integer) |
Activity keyword id. Default value is null |
Optional |
showChildrenKeywords (boolean) |
Option to also show children locations containing the given keywords Default value is False |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
#
Get a location for an organization
You can get the location id from /org/{orgIdentifier}/locations
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) |
Location id |
Required |
Memberships
A membership can take different forms: it can be a membership card, an annual fee, an activity-specific membership, etc.
#
Get the memberships for an organization
Returns a list of memberships ordered by id, with the option to show the hidden ones
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 |
showHidden (boolean) |
Option to return hidden items. Default value is False |
Optional |
showActiveonly (boolean) |
Default value is True |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
#
Get a membership for an organization
You can get the membership id from /org/{orgIdentifier}/memberships
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) |
Membership id |
Required |
#
Get persons in a membership for an organization
You can get the membership id from /org/{orgIdentifier}/memberships. Returns a list of persons ordered by id, with the option to specify the membership's status, start and end dates and whether to show the medical information (if any) for each person
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) |
Membership id |
Required |
status (string) |
Possible values are 'Active', 'Inactive', 'Expired', and 'All'. These values are case-insensitive. Default value is active |
Optional |
showMedicalInfo (boolean) |
Option to show the persons' medical information. Default value is False |
Optional |
from (date) |
Start date formatted as YYYY-MM-DD. Inclusive in all versions of the API. Default value is null |
Optional |
to (date) |
End date formatted as YYYY-MM-DD. Inclusive in version 3, exclusive in previous versions of the API. Default value is null |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
#
Get persons in a family membership for an organization
You can get the membership id from /org/{orgIdentifier}/memberships. Returns a list of family accounts ordered by id, with the option to specify the membership's status, start and end dates and whether to show the medical information (if any) for each person
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) |
Membership id |
Required |
status (string) |
Possible values are 'Active', 'Inactive', 'Expired', and 'All'. These values are case-insensitive. Default value is active |
Optional |
showMedicalInfo (boolean) |
Option to show the persons' medical information. Default value is False |
Optional |
from (date) |
Start date formatted as YYYY-MM-DD. Inclusive in all versions of the API. Default value is null |
Optional |
to (date) |
End date formatted as YYYY-MM-DD. Inclusive in version 3, exclusive in previous versions of the API. Default value is null |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
#
Get extra question answers for a membership
Get all extra question answers for all persons in a membership.
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) |
Membership id |
Required |
showArchived (boolean) |
Option to also show archived items. Default value is False |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
#
Get a person's extra questions answers
Get all extra question answers for a person in a membership.
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) |
Membership id |
Required |
personId (integer) |
Id of the person to get all extra question answers. |
Required |
#
Get all sold memberships
Get all the membership sold for this org (defaults to the last 30 days).
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 |
from (date) |
Start date formatted as YYYY-MM-DD. Inclusive in all versions of the API. Default value is null |
Optional |
to (date) |
End date formatted as YYYY-MM-DD. Inclusive in version 3, exclusive in previous versions of the API. Default value is null |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
Merchandise
#
Get all merchandise for an organization
Returns all the merchandise that is currently in the store of your organization.
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 |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
showArchived (boolean) |
Option to also show archived items. Default value is False |
Optional |
#
Get all merchandise sold for an organization
Returns all the merchandise that was sold for your organization (defaults to last 30 days).
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 |
from (date) |
Start date formatted as YYYY-MM-DD. Inclusive in all versions of the API. Default value is null |
Optional |
to (date) |
End date formatted as YYYY-MM-DD. Inclusive in version 3, exclusive in previous versions of the API. Default value is null |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
#
Get a single merchandise item
Returns a single merchandise item with the id provided.
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) |
Merchandise id |
Required |
MultiPass
#
Get all Multipasses for an organization
Returns all the multipasses that exist for this org.
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 |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
showArchived (boolean) |
Option to also show archived items. Default value is False |
Optional |
#
Get one single Multipass item
Returns the multipass with the specified id.
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) |
MultiPass id |
Required |
#
Get all multipass sold for an organization
Returns all the multipass that was sold for your organization (defaults to last 30 days).
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 |
from (date) |
Start date formatted as YYYY-MM-DD. Inclusive in all versions of the API. Default value is null |
Optional |
to (date) |
End date formatted as YYYY-MM-DD. Inclusive in version 3, exclusive in previous versions of the API. Default value is null |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
#
Get persons in a Multipass for an organization
You can get the multipass id from /org/{orgIdentifier}/multipass. Returns a list of persons ordered by id, with the option to show cancelled multipasses, and whether to show the medical information (if any) for each person
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) |
MultiPass id |
Required |
showArchived (boolean) |
Option to also show archived items. Default value is False |
Optional |
showMedicalInfo (boolean) |
Option to show the persons' medical information. Default value is False |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
#
Get persons in a family Multipass for an organization
You can get the multipass id from /org/{orgIdentifier}/multipass. Returns a list of family accounts ordered by id, with the option to show cancelled multipasses, and whether to show the medical information (if any) for each person
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) |
MultiPass id |
Required |
showMedicalInfo (boolean) |
Option to show the persons' medical information. Default value is False |
Optional |
showArchived (boolean) |
Option to also show archived items. Default value is False |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
Occurrences
An occurrence is an activity unit in a unique time slot. The terms event and occurrence are used interchangeably in our platform.
#
Get the participants for an occurrence
You can get the occurrence id from org/{orgIdentifier}/activities/{id}/occurrences. Returns a list of participants ordered by id for an occurrence, regardless of the related activity.
N. B. : The term participants has replaced what used to be attendance in V2
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) |
Occurrence id |
Required |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
Persons
Persons are the people registered in your database
#
Get the persons in an organization
A person can be a client (account owner), a participant, a membership member, a staff. The endpoint returns a list of persons ordered by id, with the option to show skills, medical information and archived persons.
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 |
showArchived (boolean) |
Option to also show archived items. Default value is False |
Optional |
showSkills (boolean) |
Option to show relevant skills. Default value is False |
Optional |
showMedicalInfo (boolean) |
Option to show the persons' medical information. Default value is False |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
personEmail (string) |
No description available |
Optional |
#
Get a person in an organization
A person can be a client (account owner), a participant, a membership member, a staff. You can get the person id from org/{orgIdentifier}/persons. The endpoint returns a person with the option to show their medical information.
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) |
Person id |
Required |
showMedicalInfo (boolean) |
Option to show the persons' medical information. Default value is False |
Optional |
#
Get a person by externalId in an organization
This endpoint searches the person by an external membership, and the person must be part of the searching organization.
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 (string) |
Id of the item before the /{id} in the url |
Required |
#
Get the registrations of a person in an organization
You can get the person id from org/{orgIdentifier}/persons. Returns a list of registrations ordered by id, with the option to show those from programs that have ended
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) |
Person id |
Required |
showEnded (boolean) |
Option to show registrations for programs that have ended. Registrations are only valid during a program's lifetime. Default value is False |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
#
Get the private lessons of a person in an organization
You can get the person id from org/{orgIdentifier}/persons. Returns a list of private lessons ordered by id, with the option to show lessons that have ended
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) |
Person id |
Required |
showEnded (boolean) |
Option to show registrations for programs that have ended. Registrations are only valid during a program's lifetime. Default value is False |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
#
Get the Tags of a person in an organization
You can get the person id from org/{orgIdentifier}/persons.
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 |
personId (integer) |
Id of the person to get all extra question answers. |
Required |
PrivateLessons
#
Get a single private lesson
Returns a private lesson with the id provided.
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) |
Private lesson id |
Required |
#
Get private lessons
Returns all private lessons for an organization, with the option of showing ones that were archived.
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 |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
showArchived (boolean) |
Option to also show archived items. Default value is False |
Optional |
Program
A program is a set of activities organized in a hierarchy. It can have categories and subcategories.
#
Get programs for an organization
Returns a list of programs ordered by id, with the option to show hidden and archived programs
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 |
showHidden (boolean) |
Option to return hidden items. Default value is False |
Optional |
showArchived (boolean) |
Option to also show archived items. Default value is False |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
#
Get a program's activities for an organization
You can get the program id from org/{orgIdentifier}/programs. Returns a list of ordered by id, with the option to show hidden and cancelled activities
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 |
showHidden (boolean) |
Option to return hidden items. Default value is False |
Optional |
showCancelled (boolean) |
Option to also return cancelled items. Default value is False |
Optional |
showOccurrences (boolean) |
Option to show the full list of activity occurrences. Default value is False |
Optional |
showTaxes (boolean) |
Default value is False |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
#
Get persons in a program for an organization
You can get the program id from org/{orgIdentifier}/programs. Returns a list of persons ordered by id, with the option to show their skills, registrations and medical information
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 |
status (PersonProgramStatusV3) |
Default value is Registered |
Optional |
showSkills (boolean) |
Option to show relevant skills. Default value is False |
Optional |
showRegistrations (boolean) |
Option to show the persons who registered. Default value is False |
Optional |
showMedicalInfo (boolean) |
Option to show the persons' medical information. Default value is False |
Optional |
showCancelledRegistrations (boolean) |
Default value is False |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
#
Get a program for an organization
You can get the program id from org/{orgIdentifier}/programs
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 |
#
Get extra question answers for a program
Get all extra question answers for all persons in a program.
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 |
showArchived (boolean) |
Option to also show archived items. Default value is False |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
#
Get a person's extra questions answers for a program
Get all extra question answers for a person in a program.
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 |
personId (integer) |
Id of the person to get all extra question answers. |
Required |
Registration
In Amilia, A registration is created when a user signs up for an activity, or drop-in activity.
#
Get registrations for an organization
Returns a list of registrations ordered by id, with the option to specify start and end dates.
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 |
showEnded (boolean) |
Option to show registrations for programs that have ended. Registrations are only valid during a program's lifetime. Default value is False |
Optional |
from (date) |
Start date formatted as YYYY-MM-DD. Inclusive in all versions of the API. Default value is null |
Optional |
to (date) |
End date formatted as YYYY-MM-DD. Inclusive in version 3, exclusive in previous versions of the API. Default value is null |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
#
Get registration by webhook registration id
Returns the webhook payload associated with the registration id.
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 |
registrationId (string) |
String Id received from the registration webhook. |
Required |
RentalContracts
#
Get the rental contracts for an organization
Returns a list of rental contracts ordered by id, with the option to show archived contracts and to filter by contract status
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 |
status (string) |
Possible values are 'All', 'Approved', 'Draft', and 'PendingApproval'. These values are case-insensitive. Default value is All |
Optional |
showArchived (boolean) |
Option to also show archived items. Default value is False |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 20 |
Optional |
#
Get a rental contract for an organization
You can get the rental contract id from /org/{orgIdentifier}/rentalcontracts
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) |
Rental contract id |
Required |
Reservation
#
Get reservations for an organization
Returns a list of reservations ordered by id, with the option to specify start and end dates.
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 |
from (date) |
Start date formatted as YYYY-MM-DD. Inclusive in all versions of the API. Default value is null |
Optional |
to (date) |
End date formatted as YYYY-MM-DD. Inclusive in version 3, exclusive in previous versions of the API. Default value is null |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
showCancelled (boolean) |
Option to also return cancelled items. Default value is False |
Optional |
#
Get reservations for a location in an organization
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) |
Location id |
Required |
includeParentLocations (boolean) |
Default value is False |
Optional |
includeChildLocations (boolean) |
Default value is False |
Optional |
from (date) |
Start date formatted as YYYY-MM-DD. Inclusive in all versions of the API. Default value is null |
Optional |
to (date) |
End date formatted as YYYY-MM-DD. Inclusive in version 3, exclusive in previous versions of the API. Default value is null |
Optional |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
showCancelled (boolean) |
Option to also return cancelled items. Default value is False |
Optional |
Staff
#
Get a staff member in an organization
The staff is a person in an organization that can be assigned to events such as: activities, private lessons, bookings or contracts. You can get the staff id from /org/{orgIdentifier}/staff.
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) |
Staff id |
Required |
#
Get All staff members in an organization
The staff is a person in an organization that can be assigned to events such as: activities, private lessons, bookings or contracts.
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 |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
#
Get Staff member availabilities in an organization
Availabilities are used to validate for conflicts when assigning a staff to an event. You can get the staff id from /org/{orgIdentifier}/staff.
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) |
Staff id |
Required |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
from (date) |
Start date formatted as YYYY-MM-DD. Inclusive in all versions of the API. Default value is null |
Optional |
to (date) |
End date formatted as YYYY-MM-DD. Inclusive in version 3, exclusive in previous versions of the API. Default value is null |
Optional |
#
Get All Staff member availabilities in an organization
Availabilities are used to validate for conflicts when assigning a staff to an event.
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 |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
from (date) |
Start date formatted as YYYY-MM-DD. Inclusive in all versions of the API. Default value is null |
Optional |
to (date) |
End date formatted as YYYY-MM-DD. Inclusive in version 3, exclusive in previous versions of the API. Default value is null |
Optional |
Tags
The tags API allows you to retrieve the list of tags you have defined in Amilia. You can then fetch activities provided a tag. This is useful when you want to group activities in ways not already covered by the program structure. Common tags look like 'Evening' or 'Paula'. Tags can be defined in your Amilia Account under Tags and then attached to your activities.
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 |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
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) |
Tag id |
Required |
Webhooks
#
Get webhooks for an organization
Returns a list of all webhooks for the organization, including their status.
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 |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
#
Create a new webhook for an organization
Allows you to create or update a webhook subscription. The model should contain name, url, context, version, action similar to the UI.
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 |
#
Delete a webhook for an organization
Allows you to delete a webhook subscription.
ID of the subscription to be deleted
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 |
subscriptionId (integer) |
No description available |
Optional |