GetSites
Returns a list of sites for your organization (by site_name in ascending order).
Request
Request Example
GET /sites HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: api.amp.active.com:8080
Request Headers
This API does not support pagination or sorting. In the request header, page_info is not required.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Parameters
None
Response
Records
This API will retrieve multiple records per API call.
Each record will contain all information of a single site. All sites are returned in a single API response.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 456
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"site_id" : 1,
"site_name" : "mock name data",
"address1" : "mock address1 data",
"address2" : "mock address2 data",
"city" : "mock city data",
"state" : "CA",
"zip_code" : "12345",
"country" : "US",
"geographic_area" : "mock geographicAreaName data",
"email_address" : "test@mock.com"
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].site_id |
int |
The ID of the site. |
body[].site_name |
String |
The name of the site. |
body[].address1 |
String |
The first address line of the site. |
body[].address2 |
String |
The second address line of the site. |
body[].city |
String |
The city of the site. |
body[].state |
String |
The state of the site. |
body[].zip_code |
String |
The zip code of the site. |
body[].country |
String |
The country of the site. |
body[].geographic_area |
String |
The geographic area of the site. |
body[].email_address |
String |
The email address of the site. |
GetOrganization
Returns information about the organization.
Request
Request Example
GET /organization HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: api.amp.active.com:8080
Request Headers
This API does not support pagination or sorting. In the request header, page_info is not required.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Parameters
None
Response
Records
This API will retrieve basic organization information.
One single record exists for an organization.The response body will always contain exactly one record.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 307
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"organization_id" : 100,
"name" : "Org",
"time_zone" : "Asia/ShangHai",
"country" : "China",
"retired" : "N",
"cui_url" : "https://apm.active.com/test/Home"
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].organization_id |
int |
The ID of the organization. |
body[].name |
String |
Name of the organization. |
body[].country |
String |
The specified Default Country on the Configuration – General page. |
body[].time_zone |
String |
The specified Time Zone on the Configuration – General page. |
body[].logo_on_member_app |
String |
The URL of the ACTIVE Net Captivate App logo. |
body[].retired |
String |
The retired flag of the organization, 'Y' for retired and 'N' for not retired. |
body[].cui_url |
String |
The URL of the online site/CUI |
GetCenters
Returns a list of centers for your organization (by center_name in ascending order).
Request
Request Example
GET /centers?show_on_member_app=Y HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: api.amp.active.com:8080
Request Headers
This API does not support pagination or sorting. In the request header, page_info is not required.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Parameters
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
show_on_member_app |
String |
Optional |
Filter for centers by their 'Show On the ACTIVE Net Captivate App' flag: Y or N. |
Response
Records
This API will retrieve multiple records per API call.
Each record will contain all information of a single center. All centers are returned in a single API response.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1791
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"center_id" : 1,
"center_name" : "mock name data",
"prevent_further_use" : true,
"site_id" : 1,
"site_name" : "mock siteName data",
"show_on_member_app" : "Y",
"member_app_image" : "https://active/servlet/downloadFile.sdi?uploadedfile_id=F23SDW22",
"latitude" : "20",
"longitude" : "20",
"description" : "test",
"customer_webpage_url" : "http://test.com",
"address1" : "mock address1 data",
"address2" : "mock address2 data",
"city" : "mock city data",
"state" : "CA",
"zip_code" : "12345",
"country" : "US",
"phone1" : "12345678",
"phone2" : "mock phone2 data",
"fax" : "mock fax data",
"default_hours_of_operation" : {
"default_opens" : null,
"default_closes" : null
},
"Sunday_hours_of_operation" : {
"closed_all_day" : false,
"opens" : null,
"closes" : null
},
"Monday_hours_of_operation" : {
"closed_all_day" : false,
"opens" : null,
"closes" : null
},
"Tuesday_hours_of_operation" : {
"closed_all_day" : false,
"opens" : null,
"closes" : null
},
"Wednesday_hours_of_operation" : {
"closed_all_day" : false,
"opens" : null,
"closes" : null
},
"Thursday_hours_of_operation" : {
"closed_all_day" : false,
"opens" : null,
"closes" : null
},
"Friday_hours_of_operation" : {
"closed_all_day" : false,
"opens" : null,
"closes" : null
},
"Saturday_hours_of_operation" : {
"closed_all_day" : false,
"opens" : null,
"closes" : null
}
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].center_id |
int |
The ID of the center. |
body[].center_name |
String |
The name of the center. |
body[].prevent_further_use |
boolean |
Prevent future use flag. |
body[].site_id |
int |
The site ID of the site where the center belongs to. |
body[].site_name |
String |
The name of the site where the center belongs to. |
body[].show_on_member_app |
String |
Whether the center is displayed on the ACTIVE Net Captivate app: 'Y' or 'N'. |
body[].member_app_image |
String |
The URL of the image which is displayed on the ACTIVE Net Captivate App > center details page. |
body[].latitude |
String |
The latitude the center. |
body[].longitude |
String |
The longitude of the center. |
body[].description |
String |
The description of the center. |
body[].customer_webpage_url |
String |
The text specified in the 'Customer Web Page URL' setting of the center. |
body[].address1 |
String |
The first address line of the center. |
body[].address2 |
String |
The second address line of the center. |
body[].city |
String |
The city of the center. |
body[].state |
String |
The state/province of the center. |
body[].zip_code |
String |
The zip code of the center. |
body[].country |
String |
The country of the center. |
body[].phone1 |
String |
The first phone number of the center. |
body[].phone2 |
String |
The second phone number of the center. |
body[].fax |
String |
The fax number of the center. |
body[].default_hours_of_operation |
Object |
Default opening and closing times of the center. |
body[].default_hours_of_operation.default_opens |
Time |
Default opening time of the center. |
body[].default_hours_of_operation.default_closes |
Time |
Default closing time of the center. |
body[].Sunday_hours_of_operation |
Object |
Opening and closing time on Sundays. |
body[].Sunday_hours_of_operation.closed_all_day |
boolean |
Flag to indicate whether the center is closed all day on Sundays. |
body[].Sunday_hours_of_operation.opens |
Time |
Opening time on Sundays. |
body[].Sunday_hours_of_operation.closes |
Time |
Closing time on Sundays. |
body[].Monday_hours_of_operation |
Object |
Opening and closing time time on Mondays. |
body[].Monday_hours_of_operation.closed_all_day |
boolean |
Flag to indicate whether the center is closed all day on Mondays. |
body[].Monday_hours_of_operation.opens |
Tiime |
Opening time on Mondays. |
body[].Monday_hours_of_operation.closes |
Time |
Closing time on Mondays. |
body[].Tuesday_hours_of_operation |
Object |
Opening and closing time on Tuesdays. |
body[].Tuesday_hours_of_operation.closed_all_day |
boolean |
Flag to indicate whether the center is closed all day on Tuesdays. |
body[].Tuesday_hours_of_operation.opens |
Time |
Opening time on Tuesdays. |
body[].Tuesday_hours_of_operation.closes |
Time |
Closing time on Tuesdays. |
body[].Wednesday_hours_of_operation |
Object |
Opening and closing time on Wednesdays. |
body[].Wednesday_hours_of_operation.closed_all_day |
boolean |
Flag to indicate whether the center is closed all day on Wednesdays. |
body[].Wednesday_hours_of_operation.opens |
Time |
Opening time on Wednesdays. |
body[].Wednesday_hours_of_operation.closes |
Time |
Closing time on Wednesdays. |
body[].Thursday_hours_of_operation |
Object |
Opening and closing time on Thursdays. |
body[].Thursday_hours_of_operation.closed_all_day |
boolean |
Flag to indicate whether the center is closed all day on Thursdays. |
body[].Thursday_hours_of_operation.opens |
Time |
Opening time on Thursdays. |
body[].Thursday_hours_of_operation.closes |
Time |
Closing time on Thursdays. |
body[].Friday_hours_of_operation |
Object |
Opening and closing time on Fridays. |
body[].Friday_hours_of_operation.closed_all_day |
boolean |
Flag to indicate whether the center is closed all day on Fridays. |
body[].Friday_hours_of_operation.opens |
Time |
Opening time on Fridays. |
body[].Friday_hours_of_operation.closes |
Time |
Closing time on Fridays. |
body[].Saturday_hours_of_operation |
Object |
Opening and closing time on Saturdays. |
body[].Saturday_hours_of_operation.closed_all_day |
boolean |
Flag to indicate whether the center is closed all day on Saturdays. |
body[].Saturday_hours_of_operation.opens |
Time |
Opening time on Saturdays. |
body[].Saturday_hours_of_operation.closes |
Time |
Closing time on Saturdays. |
GetSkills
Returns a list of skills for your organization (by skill_id in ascending order).
Request
Request Example
GET /skills HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: api.amp.active.com:8080
Request Headers
This API does not support pagination or sorting. In the request header, page_info is not required.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Parameters
None
Response
Records
This API will retrieve multiple records per API call.
Each record will contain all information of a single skill. All skills are returned in a single API response.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 282
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"skill_id" : 4,
"skill_title" : "swimming",
"skill_description" : "",
"available_for" : "Activities,Instructors,Officials,Customers,Programs"
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].skill_id |
int |
The ID of the skill. |
body[].skill_title |
String |
The title of the skill. |
body[].skill_description |
String |
The description of the skill. |
body[].available_for |
String |
Entities to which this skill applies. |
GetSkipDates
Returns a list of skip dates for the specified facility (by start date in ascending order).
Request
Request Example
GET /skipdates?facility_id=70 HTTP/1.1
Content-Type: application/json
Accept: application/json
page_info: {"page_number":1,"total_records_per_page":100,"order_by":"start_date","order_option": "asc"}
Host: api.amp.active.com:8080
Request Headers
This API supports pagination and sorting. For a list of supported sorting options, refer to the end of the Request Parameters section.
For more information about common header parameters, refer to Common header parameters.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
|
In the HTTP request header, you can include page_info and specify required pagination or sorting parameters. Note that for this API, you can specify a number up to 500 for the total_records_per_page parameter. |
Request Parameters
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
facility_id |
int |
Mandatory |
The facility id of the facility. |
You can sort the results by one of the following parameters
| Parameter | Description |
|---|---|
start_date |
The start date of skip dates. Order option: ascending or descending. |
start_time |
The start time of skip dates. Order option: ascending or descending. |
Response
Records
This API will retrieve multiple records per API call depending on the specified request parameters.
Each record will contain all information of a single skip date.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 335
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"skip_date_description" : "test-skipdates-description",
"skip_every_year" : true,
"date_from" : "2025-10-16",
"time_from" : "10:00:00",
"date_to" : "2025-10-17",
"time_to" : "10:00:00"
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].skip_date_description |
String |
Description of the skip dates. |
body[].skip_every_year |
boolean |
Whether the skip dates are effective every year. |
body[].date_from |
Date |
The start date of the skip dates. |
body[].time_from |
Date |
The start time of the skip dates. |
body[].date_to |
Date |
The end date of the skip dates. |
body[].time_to |
Date |
The end time of the skip dates. |
GetSeasons
Returns a list of seasons for your organization (by season_name in ascending order).
Request
Request Example
GET /seasons HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: api.amp.active.com:8080
Request Headers
This API does not support pagination or sorting. In the request header, page_info is not required.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Parameters
None
Response
Records
This API will retrieve multiple records per API call.
Each record will contain all information of a single season. All seasons are returned in a single API response.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1509
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"season_id" : 1,
"season_name" : "season 1",
"child_season" : [ {
"child_season_id" : 1,
"child_season" : "mock name data",
"start_date" : "2025-10-16 00:38:06",
"end_date" : "2025-10-16 00:38:06",
"prevent_further_use" : true,
"first_date_in_person" : "2025-10-16 00:38:06",
"first_date_in_person_non_residents" : "2025-10-16 00:38:06",
"first_date_in_person_members" : "2025-10-16 00:38:06",
"last_date_in_person" : "2025-10-16 00:38:06",
"first_date_on_internet" : "2025-10-16 00:38:06",
"first_date_on_internet_non_residents" : "2025-10-16 00:38:06",
"first_date_on_internet_members" : "2025-10-16 00:38:06",
"last_date_on_internet" : "2025-10-16 00:38:06"
} ],
"start_date" : "2025-10-16 00:38:06",
"end_date" : "2025-10-16 00:38:06",
"site_id" : 1,
"prevent_further_use" : true,
"first_date_in_person" : "2025-10-16 00:38:06",
"first_date_in_person_non_residents" : "2025-10-16 00:38:06",
"first_date_in_person_members" : "2025-10-16 00:38:06",
"last_date_in_person" : "2025-10-16 00:38:06",
"first_date_on_internet" : "2025-10-16 00:38:06",
"first_date_on_internet_non_residents" : "2025-10-16 00:38:06",
"first_date_on_internet_members" : "2025-10-16 00:38:06",
"last_date_on_internet" : "2025-10-16 00:38:06"
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].season_id |
int |
The ID of the season. |
body[].season_name |
String |
The name of the parent season. |
body[].child_season[].child_season_id |
int |
ID of the activity’s child season. |
body[].child_season[].child_season |
String |
Child season of the activity. |
body[].child_season[].start_date |
Date |
Start date of the child season. |
body[].child_season[].end_date |
Date |
End date of the child season. |
body[].child_season[].prevent_further_use |
boolean |
Prevent future use flag for the child season. |
body[].child_season[].first_date_in_person |
Datetime |
The default first registration date for in-person registrations for the child season. |
body[].child_season[].first_date_in_person_non_residents |
Datetime |
The default first registration date for in-person registrations for non-residents for the child season. |
body[].child_season[].first_date_in_person_members |
Datetime |
The default first registration date for in-person registrations for members for the child season. |
body[].child_season[].last_date_in_person |
Datetime |
The default last registration date for in-person registrations for the child season. |
body[].child_season[].first_date_on_internet |
Datetime |
The default first registration date for online registrations for the child season. |
body[].child_season[].first_date_on_internet_non_residents |
Datetime |
The default first registration date for online registrations for non-residents for the child season. |
body[].child_season[].first_date_on_internet_members |
Datetime |
The default first registration date for online registrations for members for the child season. |
body[].child_season[].last_date_on_internet |
Datetime |
The default last registration date for online registrations for the child season. |
body[].start_date |
Date |
The start date of the season. |
body[].end_date |
Date |
The end date of the season. |
body[].site_id |
int |
The ID of the site. |
body[].prevent_further_use |
boolean |
Prevent future use flag. |
body[].first_date_in_person |
Datetime |
The default first registration date for in-person registrations for the parent season. |
body[].first_date_in_person_non_residents |
Datetime |
The default first registration date for in-person registrations for non-residents for the parent season. |
body[].first_date_in_person_members |
Datetime |
The default first registration date for in-person registrations for members for the parent season. |
body[].last_date_in_person |
Datetime |
The default last registration date for in-person registrations for the parent season. |
body[].first_date_on_internet |
Datetime |
The default first registration date for online registrations for the parent season. |
body[].first_date_on_internet_non_residents |
Datetime |
The default first registration date for online registrations for non-residents for the parent season. |
body[].first_date_on_internet_members |
Datetime |
The default first registration date for online registrations for members for the parent season. |
body[].last_date_on_internet |
Datetime |
The default last registration date for online registrations for the parent season. |
GetActivities
Returns a list of activities for your request parameters (by activity_id in ascending order).
Request
Request Example
GET /activities?activity_name=name&activity_number=1234&activity_type_id=1&parent_season_id=123&activity_status_id=0&category_id=0&other_category_id=0&site_ids=15%2C26%2C37¢er_ids=30%2C26%2C53&days_of_week=1100101&first_date_range_from=2011-05-20&first_date_range_to=2017-05-20&last_date_range_from=2011-05-20&last_date_range_to=2017-05-20&modified_date_from=2011-05-20+00%3A00&modified_date_to=2017-05-20+23%3A59&gender=0&age_from=0&age_to=0&skill_id=0&show_on_member_app=Y HTTP/1.1
Content-Type: application/json
Accept: application/json
page_info: {"total_records_per_page":30, "page_number":2}
Host: api.amp.active.com:8080
Request Headers
This API supports pagination, but does not support sorting. In the request header, page_info is optional.
For more information about common header parameters, refer to Common header parameters.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
|
In the HTTP request header, you can include page_info and specify required pagination or sorting parameters. Note that for this API, you can specify a number up to 500 for the total_records_per_page parameter. |
Request Parameters
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
activity_name |
String |
Optional |
Activity name. All activities whose names fully or partially match the specified name are returned. |
activity_number |
String |
Optional |
Activity number. All activities whose activity numbers fully or partially match the specified activity number are returned. |
activity_type_id |
int |
Optional |
The ID of the activity type. |
parent_season_id |
int |
Optional |
The ID of the activity parent season. |
activity_status_id |
int |
Optional |
You can only specify one activity status: 0-Open, 1-Closed, 2-Cancelled, 3-Tentative, 4-On Hold, 5-Retired, 6-Date Conflicted |
category_id |
int |
Optional |
The ID of the activity category. |
other_category_id |
int |
Optional |
The ID of the activity other category. |
site_ids |
String |
Optional |
The IDs of the sites assigned to the activity. You can specify up to 5 sites, with each site separated by a comma. |
center_ids |
String |
Optional |
The center ID for the activity’s facilities. You can specify up to 5 centers, with each center separated by a comma. |
days_of_week |
String |
Optional |
If a meeting date is within the specified days of the week, then the activity is returned. (e.g. If the days of the week are Mon and Wed, the specified string should be 0101000) |
first_date_range_from |
YYYY-MM-DD |
Optional |
Activities whose first meeting date is on or after the specified date are returned. |
first_date_range_to |
YYYY-MM-DD |
Optional |
Activities whose first meeting date is on or before the specified date are returned. |
last_date_range_from |
YYYY-MM-DD |
Optional |
Activities whose last meeting date is on or after the specified date are returned. |
last_date_range_to |
YYYY-MM-DD |
Optional |
Activities whose last meeting date is on or before the specified date are returned. |
modified_date_from |
YYYY-MM-DD HH:MM |
Optional |
Activities last updated on or after the specified date and time are returned (HH:MM is optional). |
modified_date_to |
YYYY-MM-DD HH:MM |
Optional |
Activities last updated on or before the specified date and time are returned (HH:MM is optional). |
gender |
int |
Optional |
Genders eligible for registration. (0-Mixed, 1-Male, 2-Female, 13-Non-binary, 14-Prefer not to say. Organizations that have configured gender options can retrieve these gender options and their corresponding IDs through the GetGenders API). |
age_from |
int |
Optional |
Activities whose age ranges are fully or partially within the specified age range are returned. |
age_to |
int |
Optional |
Activities whose age ranges are fully or partially within the specified age range are returned. |
skill_id |
int |
Optional |
The ID of the skill. Activities whose configured skills include the skill specified are returned. Call GetSkills API to get the skill_id. |
show_on_member_app |
String |
Optional |
Filter for activities by their 'Show On The ACTIVE Net Captivate App' flag: Y or N |
Response
Records
This API will retrieve multiple records per API call depending on the specified request parameters.
One record will contain all information for a matching activity.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 2628
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"activity_name" : "name 1",
"activity_number" : "100",
"activity_id" : 1,
"modified_date_time" : "2025-10-16 00:38:07",
"activity_type_id" : 1,
"activity_type" : "mock activityType data",
"parent_season_id" : 1,
"parent_season" : "mock parentSeason data",
"child_season_id" : 1,
"child_season" : "mock childSeason data",
"activity_status_id" : 1,
"activity_status" : "Open",
"activity_department_id" : 1,
"activity_department" : "mock activityDepartment data",
"category_id" : 1,
"category" : "mock category data",
"other_category_id" : 1,
"other_category" : "mock subCategory data",
"site_id" : 1,
"site_name" : "mock siteName data",
"default_facilities" : "mock defaultFacilities data",
"default_beginning_date" : "2025-10-16",
"default_ending_date" : "2025-10-17",
"default_pattern_dates" : "mock defaultPatternDates data",
"gender_id" : 1,
"gender" : "Coed",
"enroll_min" : 1,
"enroll_max" : 1,
"show_on_member_app" : "mock showOnMemberApp data",
"age_min_year" : 1,
"age_min_month" : 1,
"age_min_week" : 1,
"age_max_year" : 1,
"age_max_month" : 1,
"age_max_week" : 1234
}, {
"activity_name" : "name 2",
"activity_number" : "200",
"activity_id" : 2,
"modified_date_time" : "2025-10-16 00:38:07",
"activity_type_id" : 1,
"activity_type" : "mock activityType data",
"parent_season_id" : 1,
"parent_season" : "mock parentSeason data",
"child_season_id" : 1,
"child_season" : "mock childSeason data",
"activity_status_id" : 1,
"activity_status" : "Open",
"activity_department_id" : 1,
"activity_department" : "mock activityDepartment data",
"category_id" : 1,
"category" : "mock category data",
"other_category_id" : 1,
"other_category" : "mock subCategory data",
"site_id" : 1,
"site_name" : "mock siteName data",
"default_facilities" : "mock defaultFacilities data",
"default_beginning_date" : "2025-10-16",
"default_ending_date" : "2025-10-17",
"default_pattern_dates" : "mock defaultPatternDates data",
"gender_id" : 1,
"gender" : "Coed",
"enroll_min" : 1,
"enroll_max" : 1,
"show_on_member_app" : "mock showOnMemberApp data",
"age_min_year" : 1,
"age_min_month" : 1,
"age_min_week" : 1,
"age_max_year" : 1,
"age_max_month" : 1,
"age_max_week" : 1234
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].activity_name |
String |
The name of the activity. |
body[].activity_number |
String |
The number of the activity. |
body[].activity_id |
int |
The ID of the activity. |
body[].modified_date_time |
String |
The last date and time when the activity was modified. |
body[].activity_type_id |
int |
ID of the activity type. |
body[].activity_type |
String |
The activity type of the activity. |
body[].parent_season_id |
int |
ID of the activity’s parent season. |
body[].parent_season |
String |
The parent season of the activity. |
body[].child_season_id |
int |
ID of the activity’s child season. |
body[].child_season |
String |
The child season (i.e. term) of the activity. |
body[].activity_status_id |
int |
ID of the activity status: 0-Open, 1-Closed, 2-Cancelled, 3-Tentative, 4-On Hold, 5-Retired, 6-Date Conflicted. |
body[].activity_status |
String |
The status of the activity. |
body[].activity_department_id |
int |
ID of the activity department. |
body[].activity_department |
String |
The department of the activity. |
body[].category_id |
int |
ID of the activity category. |
body[].category |
String |
The category of the activity. |
body[].other_category_id |
int |
ID of the activity other category. |
body[].other_category |
String |
The other category of the activity. |
body[].site_id |
int |
The activity’s site ID. |
body[].site_name |
String |
The site of the activity. |
body[].default_facilities |
String |
The name of the facilities that are reserved for the activity’s default pattern. |
body[].default_beginning_date |
Date |
The first meeting date of the activity default pattern. |
body[].default_ending_date |
Date |
The last meeting date of the activity default pattern. |
body[].default_pattern_dates |
String |
The days of the week, start time, and duration of the activity default pattern. |
body[].gender_id |
int |
Eligible genders for registration: 0-Mixed, 1-Male, 2-Female, 13-Non-binary, 14-Prefer not to say. Organizations that have configured gender options can retrieve these gender options and their corresponding IDs through the GetGenders API. |
body[].gender |
String |
Genders eligible for registration |
body[].age_min_year |
int |
Minimum participant age (year) configured for the activity. |
body[].age_min_month |
int |
Minimum participant age (month) configured for the activity. |
body[].age_min_week |
int |
Minimum participant age (week) configured for the activity. |
body[].age_max_year |
int |
Maximum participant age (year) configured for the activity. |
body[].age_max_month |
int |
Maximum participant age (month) configured for the activity. |
body[].age_max_week |
int |
Maximum participant age (week) configured for the activity. |
body[].enroll_min |
int |
The minimum number of participants for the activity. |
body[].enroll_max |
int |
The maximum number of participants for the activity. |
body[].show_on_member_app |
String |
Whether the activity is displayed on the ACTIVE Net Captivate App: 'Y' or 'N'. |
GetActivityDetail
Returns activity detail information for the specified activity.
Request
Request Example
GET /activities/1 HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: api.amp.active.com:8080
Request Headers
This API does not support pagination or sorting. In the request header, page_info is not required.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Path Parameters
/activities/{activityId}
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
activityId |
int |
Mandatory |
activity ID. |
Response
Records
This API will retrieve one record per API call.
One record will contain all activity information for the specified activity ID.
To retrieve information of another activity, repeat the API call with its activity ID.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 6488
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"activity_name" : "activity 1",
"activity_number" : "100",
"external_event_number" : "mock externalEventNumber data",
"activity_id" : 1,
"asset_id" : "mock assetId data",
"public_url" : "http://www.activenetwork.com/",
"activity_type_id" : 1,
"activity_type" : "mock activityType data",
"parent_season_id" : 1,
"parent_season" : "mock parentSeason data",
"child_season_id" : 1,
"child_season" : "mock childSeason data",
"activity_status_id" : 1,
"activity_status" : "Open",
"activity_department_id" : 1,
"activity_department" : "mock activityDepartment data",
"category_id" : 1,
"category" : "mock category data",
"other_category_id" : 1,
"other_category" : "mock subCategory data",
"catalog_description" : "mock description data",
"tax_receipt_eligibility" : true,
"usage_fee_name" : "mock usageFeeName data",
"site_name" : "mock siteName data",
"site_id" : 1,
"location_description" : "mock onlineActivityLocationDescription data",
"default_beginning_date" : "2025-10-16",
"default_ending_date" : "2025-10-17",
"date_description" : "mock onlineActivityDateDescription data",
"activity_patterns" : [ {
"pattern_name" : "mock patternName data",
"pattern_facilities" : [ {
"facility_name" : "mock facilityName data",
"facility_id" : 1,
"center_name" : "mock centerName data",
"center_id" : 1
} ],
"event_notes" : "mock eventNotes data",
"beginning_date" : "2025-10-16 00:38:03",
"ending_date" : "2025-10-16 00:38:03",
"weeks_of_month" : "mock weeksOfMonth data",
"pattern_dates" : [ {
"pattern_date" : "mock patternDate data"
} ],
"preparation_code" : {
"preparation_code_name" : "mock preparationCodeName data",
"setup_time" : 1,
"cleanup_time" : 1
}
} ],
"number_of_meeting_dates" : 1,
"number_of_weeks" : 1,
"number_of_enrolled" : 1,
"open_spaces" : "100",
"open_spaces_online" : "80",
"gender_id" : 1,
"gender" : "Coed",
"age_min_year" : 1,
"age_min_month" : 1,
"age_min_week" : 1,
"age_max_year" : 1,
"age_max_month" : 1,
"age_max_week" : 1234,
"min_grade" : "mock minGrade data",
"max_grade" : "mock maxGrade data",
"age_calc_date" : "2025-10-16 00:38:03",
"alternate_key_type" : "mock alternateKeyType data",
"alternate_key_status" : "mock alternateKeyStatus data",
"enroll_max" : 1,
"enroll_min" : 1,
"first_daytime_display_on_internet" : "2025-10-16 00:38:03",
"priority_enrollment_datetimes" : {
"first_daytime_person" : "2025-10-16 00:38:03",
"first_daytime_person_nonresidents" : "2025-10-16 00:38:03",
"first_daytime_members" : "2025-10-16 00:38:03",
"last_daytime_person" : "2025-10-16 00:38:03",
"first_daytime_internet" : "2025-10-16 00:38:03",
"first_daytime_internet_nonresidents" : "2025-10-16 00:38:03",
"first_daytime_internet_members" : "2025-10-16 00:38:03",
"last_daytime_internet" : "2025-10-16 00:38:03"
},
"enrollment_datetimes" : [ {
"first_daytime_person" : "2025-10-16 00:38:03",
"first_daytime_person_nonresidents" : "2025-10-16 00:38:03",
"first_daytime_members" : "2025-10-16 00:38:03",
"last_daytime_person" : "2025-10-16 00:38:03",
"first_daytime_internet" : "2025-10-16 00:38:03",
"first_daytime_internet_nonresidents" : "2025-10-16 00:38:03",
"first_daytime_internet_members" : "2025-10-16 00:38:03",
"last_daytime_internet" : "2025-10-16 00:38:03"
} ],
"user_notes" : "mock userNotes data",
"online_notes" : "mock onlineNotes data",
"receipt_notes" : "mock receiptNotes data",
"no_internet_reg" : true,
"hide_on_internet" : true,
"no_qty_based_enrollment" : true,
"use_pass_or_fail" : true,
"show_price_info_online" : true,
"show_scholarship_online" : true,
"allow_waiting_list" : true,
"online_new_activity" : true,
"online_new_until" : "2025-10-16 00:38:03",
"instructors" : "mock instructors data",
"supervisor" : "mock supervisor data",
"skills" : [ {
"skill_id" : 1,
"skill_title" : "mock skillTitle data",
"skill_description" : "mock skillDescription data",
"available_for" : "mock availableFor data"
} ],
"allow_private_lesson_bookings" : true,
"parent_activity_name" : "mock parentActivityName data",
"parent_activity_number" : "mock parentActivityNumber data",
"top_parent_activity_name" : "mock topParentActivityName data",
"top_parent_activity_number" : "mock topParentActivityNumber data",
"sub_activity_number" : "mock subActivityNumber data",
"organization" : {
"guid" : "1d041bb5-bc51",
"name" : "mock name data",
"url" : "http://www.activenetwork.com",
"address1" : "mock address1 data",
"address2" : "mock address2 data",
"city" : "mock city data",
"state" : "mock state data",
"zip" : "12345",
"fax" : "123456",
"email" : "test@mock.com",
"phone" : "1234567"
},
"activity_recurrences" : [ {
"activity_start_date" : "2025-10-16 00:38:03",
"activity_start_time" : "mock startTime data",
"activity_end_date" : "2025-10-16 00:38:03",
"activity_end_time" : "mock endTime data",
"frequency" : "mock frequency data",
"days" : "mock days data",
"activityExclusions" : [ {
"exclusion_start_date" : "2025-10-16 00:38:03",
"exclusion_end_date" : "2025-10-16 00:38:03"
} ]
} ],
"place" : {
"name" : "mock name data",
"address1" : "mock address1 data",
"address2" : "mock address2 data",
"city" : "mock city data",
"state" : "mock state data",
"zip" : "12345",
"country" : "mock country data"
},
"show_on_member_app" : "mock showOnMemberApp data",
"prerequisites_membership" : [ {
"prerequisite_id" : 1,
"group_number" : 1,
"package_id" : 1,
"package_name" : "mock packageName data"
} ],
"dropin_fee_charge_amount" : 1234,
"allow_dropin" : "mock allowDropin data"
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].activity_name |
String |
The name of the activity. |
body[].activity_number |
String |
The number of the activity. |
body[].external_event_number |
String |
The external number of the activity. |
body[].activity_id |
int |
The activity ID. |
body[].asset_id |
String |
The asset ID of the activity. |
body[].public_url |
String |
The public URL in the CUI where customers can register for the activity. |
body[].activity_type_id |
int |
ID of the activity type. |
body[].activity_type |
String |
The activity type of the activity. |
body[].parent_season_id |
int |
ID of the activity’s parent season. |
body[].parent_season |
String |
The parent season of the activity. |
body[].child_season_id |
int |
ID of the activity’s child season. |
body[].child_season |
String |
The child season of the activity. |
body[].activity_status_id |
int |
ID of the activity status: 0-Open, 1-Closed, 2-Cancelled, 3-Tentative, 4-On Hold, 5-Retired, 6-Date Conflicted. |
body[].activity_status |
String |
The status of the activity. |
body[].activity_department_id |
int |
ID of the activity department. |
body[].activity_department |
String |
The department of the activity. |
body[].category_id |
int |
ID of the activity category. |
body[].category |
String |
The category of the activity. |
body[].other_category_id |
int |
ID of the activity other category. |
body[].other_category |
String |
The other category of the activity. |
body[].catalog_description |
String |
The catalog description of the activity. |
body[].tax_receipt_eligibility |
boolean |
The tax receipt eligibility of the activity. |
body[].usage_fee_name |
String |
The usage fee name of the activity. |
body[].site_name |
String |
The site of the activity. |
body[].site_id |
int |
The site ID of the activity’s site. |
body[].location_description |
String |
The location description of the activity. |
body[].default_beginning_date |
Date |
The first meeting date of the activity default pattern. |
body[].default_ending_date |
Date |
The last meeting date of the activity default pattern. |
body[].date_description |
String |
The date description of the activity. |
body[].activity_patterns[].pattern_facilities[].facility_name |
String |
The facility name of the facility that is reserved for the activity. |
body[].activity_patterns[].pattern_facilities[].facility_id |
int |
The ID of the facility that is reserved for the activity. |
body[].activity_patterns[].pattern_facilities[].center_name |
String |
The center name of the facility that is reserved for the activity. |
body[].activity_patterns[].pattern_facilities[].center_id |
int |
The center ID of the facility that is reserved for the activity. |
body[].activity_patterns[].pattern_name |
String |
The name of the activity pattern. |
body[].activity_patterns[].event_notes |
String |
The event notes of the activity pattern. |
body[].activity_patterns[].beginning_date |
String |
The first meeting date of the activity pattern. |
body[].activity_patterns[].ending_date |
String |
The last meeting date of the activity pattern. |
body[].activity_patterns[].weeks_of_month |
String |
The weeks of the month configured in the activity pattern. |
body[].activity_patterns[].pattern_dates[].pattern_date |
String |
The days of the week, start time, and duration of the activity pattern. |
body[].activity_patterns[].preparation_code.preparation_code_name |
String |
The name of the prep code that is applied to the activity pattern. |
body[].activity_patterns[].preparation_code.setup_time |
int |
The setup time of the prep code that is applied to the activity pattern. |
body[].activity_patterns[].preparation_code.cleanup_time |
int |
The cleanup time of the prep code that is applied to the activity pattern. |
body[].number_of_meeting_dates |
int |
The number of meeting dates in the activity. |
body[].number_of_weeks |
int |
The number of calendar weeks in which the activity occurs. |
body[].number_of_enrolled |
int |
The number of enrollments in the activity. |
body[].open_spaces |
String |
The number of openings in the activity. |
body[].open_spaces_online |
String |
The number of openings of the activity for online registration. |
body[].gender_id |
int |
Eligible genders for registration: 0-Mixed, 1-Male, 2-Female, 13-Non-binary, 14-Prefer not to say. Organizations that have configured gender options can retrieve these gender options and their corresponding IDs through the GetGenders API. |
body[].gender |
String |
Genders eligible for registration. |
body[].age_max_year |
Integer |
Maximum participant age (year) of the activity. |
body[].age_max_month |
Integer |
Maximum participant age (month) of the activity. |
body[].age_max_week |
Integer |
Maximum participant age (week) of the activity. |
body[].age_min_year |
int |
Minimum participant age (year) of the activity. |
body[].age_min_month |
int |
Minimum participant age (month) of the activity. |
body[].age_min_week |
int |
Minimum participant age (week) of the activity. |
body[].min_grade |
String |
Minimum participant grade of the activity. |
body[].max_grade |
String |
Maximum participant grade of the activity. |
body[].age_calc_date |
String |
The calculation date of the participants' age. |
body[].alternate_key_type |
String |
The required alternate key type of the participant. |
body[].alternate_key_status |
String |
The required alternate key status of the participant. |
body[].enroll_min |
int |
The minimum number of participants that must be enrolled in the activity. |
body[].enroll_max |
Integer |
The maximum number of participants for the activity. Return null if unlimited. |
body[].priority_enrollment_datetimes.first_daytime_person |
String |
The first available registration date/time for in-person registration in the priority registration window. |
body[].priority_enrollment_datetimes.first_daytime_person_nonresidents |
String |
The first available registration date/time for in-person registration for non-residents in the priority registration window. |
body[].priority_enrollment_datetimes.first_daytime_members |
String |
The first available registration date/time for in-person registration for members in the priority registration window. |
body[].priority_enrollment_datetimes.last_daytime_person |
String |
The last available registration date/time for in-person registration in the priority registration window. |
body[].priority_enrollment_datetimes.first_daytime_internet |
String |
The first available registration date/time for online registration in the priority registration window. |
body[].priority_enrollment_datetimes.first_daytime_internet_nonresidents |
String |
The first available registration date/time for online registration for non-residents in the priority registration window. |
body[].priority_enrollment_datetimes.first_daytime_internet_members |
String |
The first available registration date/time for online registration in the priority registration window. |
body[].priority_enrollment_datetimes.last_daytime_internet |
String |
The last available registration date/time for online registration in the priority registration window. |
body[].enrollment_datetimes[].first_daytime_person |
String |
The first available registration date/time for in-person registration. |
body[].enrollment_datetimes[].first_daytime_person_nonresidents |
String |
The first available registration date/time for in-person registration for non-residents. |
body[].enrollment_datetimes[].first_daytime_members |
String |
The first available registration date/time for in-person registration for members. |
body[].enrollment_datetimes[].last_daytime_person |
String |
The last available registration date/time for in-person registration. |
body[].enrollment_datetimes[].first_daytime_internet |
String |
The first available registration date/time for online registration. |
body[].enrollment_datetimes[].first_daytime_internet_nonresidents |
String |
The first available registration date/time for online registration for non-residents. |
body[].enrollment_datetimes[].first_daytime_internet_members |
String |
The first available registration date/time for online registration. |
body[].enrollment_datetimes[].last_daytime_internet |
String |
The last available registration date/time for online registrations. |
body[].user_notes |
String |
The staff user notes of the activity. |
body[].online_notes |
String |
The online notes of the activity. |
body[].receipt_notes |
String |
The receipt notes of the activity. |
body[].no_internet_reg |
boolean |
No internet registration flag. |
body[].hide_on_internet |
boolean |
Hide on internet flag. |
body[].no_qty_based_enrollment |
boolean |
No quantity based enrollment flag. |
body[].use_pass_or_fail |
boolean |
Use pass or fail flag. |
body[].show_price_info_online |
boolean |
Show price online flag. |
body[].show_scholarship_online |
boolean |
Show scholarship online flag. |
body[].allow_waiting_list |
boolean |
Allow waiting list flag. |
body[].online_new_activity |
boolean |
The activity is displayed as a new activity or not in the CUI. |
body[].online_new_until |
String |
The activity is displayed as a new activity in the CUI until the specified date. |
body[].instructors |
String |
The full name of the instructor. Format: First name Last name. Multiple instructors are separated by comma. (e.g.: John Smith, John Brian) |
body[].supervisor |
String |
The name of the activity supervisor. Format: First name Last name. |
body[].skills[].skill_id |
int |
The ID of the skill. |
body[].skills[].skill_title |
String |
The title of the skill. |
body[].allow_private_lesson_bookings |
boolean |
Private lesson activity flag. |
body[].parent_activity_name |
String |
The activity name of the parent activity. |
body[].parent_activity_number |
String |
The activity number of the parent activity. |
body[].top_parent_activity_name |
String |
The activity name of the top parent activity. |
body[].top_parent_activity_number |
String |
The activity number of the top parent activity. |
body[].sub_activity_number |
String |
The activity number of the sub-activities. Multiple sub-activities are separated by commas (e.g. 1212.112, 1212.223, 1123.909). |
body[].organization.guid |
String |
Organization GUID. |
body[].organization.name |
String |
Organization name. |
body[].organization.url |
String |
Organization’s website. |
body[].organization.address1 |
String |
The first line address of the organization. |
body[].organization.address2 |
String |
The second line address of the organization. |
body[].organization.city |
String |
City of the organization. |
body[].organization.state |
String |
State for the organization. |
body[].organization.zip |
String |
Zip code of the organization. |
body[].organization.fax |
String |
Fax number of the organization. |
body[].organization.email |
String |
Email address of the organization. |
body[].organization.phone |
String |
Phone number of the organization. |
body[].activity_recurrences[].activity_start_date |
String |
Start date of the activity meeting dates pattern. |
body[].activity_recurrences[].activity_start_time |
String |
Start time of the activity meeting dates pattern. |
body[].activity_recurrences[].activity_end_date |
String |
End date of the activity meeting dates pattern. |
body[].activity_recurrences[].activity_end_time |
String |
End time of the activity meeting dates pattern. |
body[].activity_recurrences[].frequency |
String |
Frequency of the activity meeting dates. |
body[].activity_recurrences[].days |
String |
Days of the week of the activity meeting dates pattern. |
body[].activity_recurrences[].activityExclusions[].exclusion_start_date |
String |
Start date of the dates that are excluded from the pattern. |
body[].activity_recurrences[].activityExclusions[].exclusion_end_date |
String |
End date of the dates that are excluded from the pattern. |
body[].place.name |
String |
The name of the facility/center/site. |
body[].place.address1 |
String |
The first line address of the facility/center/site. |
body[].place.address2 |
String |
The second line address of the facility/center/site. |
body[].place.city |
String |
The city of the facility/center/site. |
body[].place.state |
String |
The state for the facility/center/site. |
body[].place.zip |
String |
The zip code of the facility/center/site. |
body[].place.country |
String |
The country of the facility/center/site. |
body[].show_on_member_app |
String |
Whether the activity is displayed on the ACTIVE Net Captivate App, 'Y' or 'N'. |
body[].prerequisites_membership |
Array |
The programs current membership in settings in prerequisites. |
body[].prerequisites_membership[].prerequisite_id |
int |
The id of current prerequisite. |
body[].prerequisites_membership[].group_number |
int |
The group id of the current membership. |
body[].prerequisites_membership[].package_id |
int |
Package IDs of the memberships configured in the ‘Current Membership in’ settings. |
body[].prerequisites_membership[].package_name |
String |
Package names of the memberships configured in the ‘Current Membership in’ settings. |
body[].allow_dropin |
String |
Whether the activity allows drop-in reservations: 'Y' or 'N'. |
body[].dropin_fee_charge_amount |
BigDecimal |
The charge amount for the drop-in reservation fee. |
GetActivityCategories
Returns a list of activity categories for your organization (by category_name in ascending order).
Request
Request Example
GET /activitycategories?show_on_member_app= HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: api.amp.active.com:8080
Request Headers
This API does not support pagination or sorting. In the request header, page_info is not required.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Parameters
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
show_on_member_app |
String |
Optional |
Filter for activity categories by their 'Show On The ACTIVE Net Captivate App' flag: Y or N. |
Response
Records
This API will retrieve multiple records per API call.
Each record will contain all information of a single activity category. All activity categories are returned in a single API response.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 533
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"activity_category_name" : "activity category 1",
"category_id" : 1,
"link_interest_list" : true,
"hide_on_internet" : true,
"show_on_member_app" : "mock showOnMemberApp data"
}, {
"activity_category_name" : "mock categoryName data",
"category_id" : 2,
"link_interest_list" : true,
"hide_on_internet" : true,
"show_on_member_app" : "mock showOnMemberApp data"
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].category_id |
int |
The ID of the activity category. |
body[].activity_category_name |
String |
The name of the activity category. |
body[].link_interest_list |
boolean |
Link interest list flag. |
body[].hide_on_internet |
boolean |
Hide on internet flag. |
body[].show_on_member_app |
String |
Whether activities with this activity category are displayed on the ACTIVE Net Captivate app. |
GetActivityOtherCategories
Returns a list of activity other categories for your organization (by other_category_name in ascending order).
Request
Request Example
GET /activityothercategories HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: api.amp.active.com:8080
Request Headers
This API does not support pagination or sorting. In the request header, page_info is not required.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Parameters
None
Response
Records
This API will retrieve multiple records per API call.
Each record will contain all information of a single activity other category. All activity other categories are returned in a single API response.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 427
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"other_category_name" : "other category 1",
"other_category_id" : 1,
"link_interest_list" : true,
"hide_on_internet" : true
}, {
"other_category_name" : "mock otherCategoryName data",
"other_category_id" : 2,
"link_interest_list" : true,
"hide_on_internet" : true
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].other_category_id |
int |
The ID of the activity other category. |
body[].other_category_name |
String |
The name of the activity other category. |
body[].link_interest_list |
boolean |
Link interest list flag. |
body[].hide_on_internet |
boolean |
Hide on internet flag. |
GetActivityFees
Returns activity fee information for the specified activity.
Request
Request Example
GET /activities/1/fees HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: api.amp.active.com:8080
Request Headers
This API does not support pagination or sorting. In the request header, page_info is not required.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Path Parameters
/activities/{activity_id}/fees
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
activity_id |
int |
Mandatory |
The ID of the activity. |
Response
Records
This API will retrieve one record per API call.
One record will contain all activity fee information for the specified activity ID.
To retrieve activity fee information of another activity, repeat the API call with its activity ID.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1515
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"normal_charges" : [ {
"charge_name" : "Test Charge Name",
"charge_type" : "Test Charge Type Name",
"discount_order" : 5,
"prefill_condition" : "Pre Fill",
"primary_fee" : false,
"default_amount" : 20,
"default_percentage" : 30,
"customer_type" : "Test Customer Type Name",
"description" : "Test Description",
"regional_pricings" : [ {
"country" : "Test Country",
"states" : "Test States",
"charge_amount" : 10
} ],
"gl_accounts" : [ {
"gl_account_name" : "gl account name",
"gl_account_number" : "gl account number"
} ],
"scheduled_fees" : [ {
"effective_date" : "2025-10-16 00:38:08",
"charge_amount" : 10
} ],
"activation_date" : "2025-10-16 00:38:08",
"expiration_date" : "2025-10-16 00:38:08"
} ],
"global_discounts" : [ {
"global_discount_name" : "glaccount 1",
"global_discount_order" : 1,
"global_discount_group_number" : 10,
"global_discount_amount" : 20,
"global_discount_percent" : 30,
"global_discount_retired" : true
} ],
"global_surcharges" : [ {
"global_surcharge_name" : "Test Surcharge Name",
"global_surcharge_amount" : 25,
"global_surcharge_percent" : 35,
"global_surcharge_retired" : true
} ]
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
array |
The body object in the response body. |
body[].normal_charges |
Array |
Normal Charges/Discount. |
body[].normal_charges[].charge_name |
String |
The charge name of the activity fee/discount/scholarship. |
body[].normal_charges[].charge_type |
String |
The charge type of the activity fee/discount/scholarship. |
body[].normal_charges[].discount_order |
int |
The order that a discount shall be applied. |
body[].normal_charges[].prefill_condition |
String |
The prefill condition of the activity fee/discount/scholarship. |
body[].normal_charges[].primary_fee |
boolean |
The primary fee flag for the activity fee. |
body[].normal_charges[].default_amount |
BigDecimal |
The default amount of the activity fee/discount/scholarship. |
body[].normal_charges[].default_percentage |
BigDecimal |
The default percentage of the activity discount/scholarship. |
body[].normal_charges[].customer_type |
String |
The customer type that qualifies for the activity fee/discount/scholarship. |
body[].normal_charges[].description |
String |
The description of the activity fee/discount/scholarship. |
body[].normal_charges[].regional_pricings |
Array |
Regional pricing array. |
body[].normal_charges[].regional_pricings[].country |
String |
Regional pricing country. |
body[].normal_charges[].regional_pricings[].states |
String |
Regional pricing states. |
body[].normal_charges[].regional_pricings[].charge_amount |
BigDecimal |
The charge amount of the regional pricing |
body[].normal_charges[].gl_accounts |
Array |
The GL account information of the fee, discount, or scholarship. |
body[].normal_charges[].gl_accounts[].gl_account_name |
String |
G/L account name. |
body[].normal_charges[].gl_accounts[].gl_account_number |
String |
G/L account number. |
body[].normal_charges[].scheduled_fees |
Array |
The scheduled fee change configured for this fee. |
body[].normal_charges[].scheduled_fees[].effective_date |
Date |
Effective date. |
body[].normal_charges[].scheduled_fees[].charge_amount |
BigDecimal |
Charge amount. |
body[].normal_charges[].activation_date |
Date |
The activation date of the fee, discount or scholarship. |
body[].normal_charges[].expiration_date |
Date |
The expiration date of the fee, discount or scholarship. |
body[].global_discounts |
Array |
Global discounts. |
body[].global_discounts[].global_discount_name |
String |
The name of the applicable global discount. |
body[].global_discounts[].global_discount_order |
int |
The order of the applicable global discount. |
body[].global_discounts[].global_discount_group_number |
int |
The group number of the applicable global discount. |
body[].global_discounts[].global_discount_amount |
BigDecimal |
The amount/percent of the applicable global discount. (e.g. 10.20 means $10.20). |
body[].global_discounts[].global_discount_percent |
BigDecimal |
The amount/percent of the applicable global discount. (e.g. 10.20 means 10.20%). |
body[].global_discounts[].global_discount_retired |
boolean |
Is the global discount retired? |
body[].global_surcharges |
Array |
Global surcharges. |
body[].global_surcharges[].global_surcharge_name |
String |
The name of the applicable global surcharge. |
body[].global_surcharges[].global_surcharge_amount |
BigDecimal |
The amount of the applicable global surcharge. (e.g. 10.20 means $10.20). |
body[].global_surcharges[].global_surcharge_percent |
BigDecimal |
The percent of the applicable global surcharge. (e.g. 10.20 means 10.20%). |
body[].global_surcharges[].global_surcharge_retired |
boolean |
Is the global surcharge retired? (true, false) |
GetActivityTypes
Returns a list of activity types for your organization (by activity_type_name in ascending order).
Request
Request Example
GET /activitytypes?show_on_member_app=Y HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: api.amp.active.com:8080
Request Headers
This API does not support pagination or sorting. In the request header, page_info is not required.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Parameters
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
show_on_member_app |
String |
Optional |
Filter for activity categories by their 'Show On The ACTIVE Net Captivate App' flag: Y or N. |
Response
Records
This API will retrieve multiple records per API call.
Each record will contain all information of a single activity type. All activity types are returned in a single API response.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 459
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"activity_type_id" : 1,
"activity_type_name" : "activityType1",
"prevent_further_use" : true,
"show_on_member_app" : "mock showOnMemberApp data"
}, {
"activity_type_id" : 2,
"activity_type_name" : "mock name data",
"prevent_further_use" : true,
"show_on_member_app" : "mock showOnMemberApp data"
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].activity_type_name |
String |
The name of the activity type. |
body[].activity_type_id |
int |
The ID of the activity type. |
body[].prevent_further_use |
boolean |
Prevent future use flag. |
body[].show_on_member_app |
String |
Whether activities with this activity type are displayed on the ACTIVE Net Captivate app. |
GetActivityEnrollment
Returns activity enrollment details for the specified activity (by customer_id in ascending order).
Request
Request Example
GET /activityenrollment?activity_id=1&customer_ids=1%2C2&enrollment_status=1&date_after=2017-12-20+00%3A00 HTTP/1.1
Content-Type: application/json
Accept: application/json
page_info: {"total_records_per_page":30, "page_number":2}
Host: api.amp.active.com:8080
Request Headers
This API supports pagination, but does not support sorting. In the request header, page_info is optional.
For more information about common header parameters, refer to Common header parameters.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
|
In the HTTP request header, you can include page_info and specify required pagination or sorting parameters. Note that for this API, you can specify a number up to 500 for the total_records_per_page parameter. |
Request Parameters
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
activity_id |
int |
Optional if customer_ids is specified, otherwise required. |
The ID number of the required activity. Returns all customers enrolled in the specified activity. |
customer_ids |
String |
Optional if activity_id is specified, otherwise required. |
The ID numbers of the required customers (up to 100 comma-separated customer IDs can be specified). Returns enrollments for all specified customers. |
enrollment_status |
int |
Optional |
You can specify one enrollment status to search customer enrollment information: 1-Enrolled, 2-Withdrawn, 3- Waitlisted, 4 - Waitlist Removed, 5-Trial, 6-All. Default value is 1. |
date_after |
YYYY-MM-DD HH:MM |
Optional |
Customers who enrolled, withdrawn, waitlisted, waitlist removed, enrolled trail class on or after this specified date and time are returned (HH:MM is optional). |
Response
Records
This API will retrieve multiple records per API call depending on the specified activity ID.
Each record will contain all information of a single activity enrollee.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1049
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"activity_id" : 1,
"activity_name" : "Mock Activity",
"enrollment_status" : null,
"first_name" : "First Name",
"last_name" : "Last Name",
"customer_id" : 1245,
"customer_date_modified" : "2016-10-09 10:12:00",
"customer_email" : "test@test.com",
"receipt_number" : 1001007.005,
"has_active_membership" : false,
"trial_class_date" : null,
"last_transaction_date" : null,
"withdraw_date" : null,
"total_fee" : 99.99,
"total_paid" : 99.99,
"total_due" : 0,
"date_registered" : "2017-10-09 10:12:00",
"waitlisted_date" : null,
"waitlist_removed_date" : null,
"quantity" : 2,
"payers" : [ {
"payer_first_name" : "First Name",
"payer_last_name" : "Last Name",
"payer_customer_id" : 1245,
"payer_email" : "test@test.com",
"payer_company_name" : null,
"payer_company_phone" : null
} ]
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].activity_id |
int |
ID of the activity. |
body[].activity_name |
String |
Name of the activity. |
body[].enrollment_status |
String |
The enrollment status of the customer in the activity: 'Enrolled', 'Withdrawn', 'Waitlisted', 'Waitlist Removed' or 'Trial'. |
body[].first_name |
String |
First name of the customer. |
body[].last_name |
String |
Last name of the customer. |
body[].customer_id |
int |
ID of the customer. |
body[].customer_date_modified |
Datetime |
The most recent date and time when the customer information was modified. |
body[].customer_email |
String |
Email address of the customer. |
body[].receipt_number |
BigDecimal |
Receipt number of the last transaction. |
body[].has_active_membership |
boolean |
Whether the customer has an active membership. |
body[].trial_class_date |
Datetime |
The meeting date the customer selected when doing trial class enrollment. |
body[].last_transaction_date |
Datetime |
Date of the customer’s last transaction. |
body[].withdraw_date |
Datetime |
The date and time when the customer withdrew from the activity. |
body[].total_fee |
BigDecimal |
The total fee for the activity. |
body[].total_paid |
BigDecimal |
The total amount paid for the activity. |
body[].total_due |
BigDecimal |
The total due amount for the activity. |
body[].date_registered |
Datetime |
The date and time the customer enrolled for the activity. |
body[].waitlisted_date |
Datetime |
The date the customer was added to waitlist. |
body[].waitlist_removed_date |
Datetime |
The date the customer was removed from waitlist. |
body[].quantity |
int |
The number of seats enrolled by the customer. |
body[].payers |
Array |
Payers of the enrollment. |
body[].payers[].payer_first_name |
String |
First name of the payer. Only displays when the payer is an individual customer. |
body[].payers[].payer_last_name |
String |
Last name of the payer. Only displays when the payer is an individual customer. |
body[].payers[].payer_customer_id |
int |
Customer ID of the payer. Only displays when the payer is an individual customer. |
body[].payers[].payer_email |
String |
Email address of the payer. Only displays when the payer is an individual customer. |
body[].payers[].payer_company_name |
String |
Name of the company. Only displays when the payer is a company. |
body[].payers[].payer_company_phone |
String |
Phone 1 of the company. Only displays when the payer is a company. |
GetActivityExpandedDetail
Returns activity, activity enrollment, customer and custom question answer fields for the specified activities(by activity_id in ascending order).
Request
Request Example
GET /activityexpandeddetail?activity_ids=1%2C2&enrollment_status=1&date_after=2018-12-20+00%3A00 HTTP/1.1
Content-Type: application/json
Accept: application/json
page_info: {"total_records_per_page":30, "page_number":2}
Host: api.amp.active.com:8080
Request Headers
This API supports pagination, but does not support sorting.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
|
In the HTTP request header, you can include page_info and specify required pagination or sorting parameters. Note that for this API, you can specify a number up to 500 for the total_records_per_page parameter. |
Request Parameters
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
activity_ids |
int |
Mandatory |
The IDs of the activity. |
enrollment_status |
int |
Optional |
You can specify one enrollment status to search customer enrollment information: 1-Enrolled, 2-Withdrawn, 3- Waitlisted, 4 - Waitlist Removed, 5-Trial, 6-All. Default value is 1. |
date_after |
YYYY-MM-DD HH:MM |
Optional |
Customers who enrolled, withdrawn, waitlisted, waitlist removed, enrolled trial class on or after this specified date and time are returned (HH:MM is optional). |
Response
Records
This API will retrieve multiple records per API call.
Each record will contain all information of a single activity.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 4280
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"activity_id" : 1,
"activity_name" : "Mock Activity",
"activity_status" : "Open",
"activity_category" : "Category",
"activity_other_category" : "Sub Category",
"activity_patterns" : [ {
"pattern_name" : "Default Pattern",
"beginning_date" : "2025-10-16 00:38:08",
"ending_date" : "2025-10-17 00:38:08",
"weeks_of_month" : "11111",
"pattern_dates" : [ {
"pattern_date" : "Sunday,01:00 AM,1h"
} ]
} ],
"first_name" : "First Name",
"last_name" : "Last Name",
"customer_id" : 1245,
"customer_email" : "email@test.com",
"trial_class_date" : null,
"enrollment_status" : "Enrolled",
"date_registered" : "2025-10-16 00:38:08",
"has_active_membership" : false,
"home_phone" : "9876543210",
"work_phone" : "7418529630",
"cell_phone" : "1234567890",
"mobile_carrier" : null,
"age" : "20.3",
"age_category" : null,
"gender" : "Male",
"residential_address1" : "Address 1",
"residential_address2" : "Address 2",
"residential_city" : "City",
"residential_state_or_province" : "State",
"residential_zip_code" : "7539514",
"families" : [ {
"family_id" : 7410,
"head_of_household" : "head of household full name",
"head_of_household_customer_id" : 1234,
"head_of_household_customer_first_name" : "head of household first name",
"head_of_household_customer_last_name" : "head of household last name",
"head_of_household_customer_email" : "head_of_household@email.com"
} ],
"payers" : [ {
"payer_first_name" : "First Name",
"payer_last_name" : "Last Name",
"payer_customer_id" : 1245,
"payer_email" : "test@test.com",
"payer_company_name" : null,
"payer_company_phone" : null
} ],
"question_answers" : [ {
"question_title" : "question title",
"question_text" : "question text",
"question_id" : 123,
"answer" : "answer",
"time_stamp" : "2025-10-16 00:38:08"
} ]
}, {
"activity_id" : 2,
"activity_name" : "Mock Activity",
"activity_status" : "Open",
"activity_category" : "Category",
"activity_other_category" : "Sub Category",
"activity_patterns" : [ {
"pattern_name" : "Default Pattern",
"beginning_date" : "2025-10-16 00:38:08",
"ending_date" : "2025-10-17 00:38:08",
"weeks_of_month" : "11111",
"pattern_dates" : [ {
"pattern_date" : "Sunday,01:00 AM,1h"
} ]
} ],
"first_name" : "First Name",
"last_name" : "Last Name",
"customer_id" : 1245,
"customer_email" : "email@test.com",
"trial_class_date" : null,
"enrollment_status" : "Enrolled",
"date_registered" : "2025-10-16 00:38:08",
"has_active_membership" : false,
"home_phone" : "9876543210",
"work_phone" : "7418529630",
"cell_phone" : "1234567890",
"mobile_carrier" : null,
"age" : "20.3",
"age_category" : null,
"gender" : "Male",
"residential_address1" : "Address 1",
"residential_address2" : "Address 2",
"residential_city" : "City",
"residential_state_or_province" : "State",
"residential_zip_code" : "7539514",
"families" : [ {
"family_id" : 7410,
"head_of_household" : "head of household full name",
"head_of_household_customer_id" : 1234,
"head_of_household_customer_first_name" : "head of household first name",
"head_of_household_customer_last_name" : "head of household last name",
"head_of_household_customer_email" : "head_of_household@email.com"
} ],
"payers" : [ {
"payer_first_name" : "First Name",
"payer_last_name" : "Last Name",
"payer_customer_id" : 1245,
"payer_email" : "test@test.com",
"payer_company_name" : null,
"payer_company_phone" : null
} ],
"question_answers" : [ {
"question_title" : "question title",
"question_text" : "question text",
"question_id" : 123,
"answer" : "answer",
"time_stamp" : "2025-10-16 00:38:08"
} ]
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].activity_id |
int |
The ID of the activity. |
body[].activity_name |
String |
The name of the activity. |
body[].activity_status |
String |
The status of the activity. |
body[].activity_category |
String |
The category of the activity. |
body[].activity_other_category |
String |
The other category of the activity. |
body[].activity_patterns[].pattern_name |
String |
The name of the activity pattern. |
body[].activity_patterns[].beginning_date |
String |
The first meeting date of the activity pattern. |
body[].activity_patterns[].ending_date |
String |
The last meeting date of the activity pattern. |
body[].activity_patterns[].weeks_of_month |
String |
The weeks of the month configured in the activity pattern. |
body[].activity_patterns[].pattern_dates[].pattern_date |
String |
The days of the week, start time, and duration of the activity pattern. |
body[].first_name |
String |
First name of the customer. |
body[].last_name |
String |
Last name of the customer. |
body[].customer_id |
int |
ID of the customer. |
body[].customer_email |
String |
Email address of the customer. |
body[].trial_class_date |
Datetime |
The meeting date the customer selected when doing trial class enrollment. |
body[].enrollment_status |
String |
The enrollment status of the customer in the activity: 'Enrolled', 'Withdrawn', 'Waitlisted' or 'Waitlist Removed' or 'Trial'. |
body[].date_registered |
Datetime |
The date and time the customer enrolled for the activity. |
body[].has_active_membership |
boolean |
Whether the customer has an active membership. |
body[].home_phone |
String |
The home phone number of the customer. |
body[].work_phone |
String |
The work phone number of the customer. |
body[].cell_phone |
String |
The cell phone number of the customer. |
body[].mobile_carrier |
String |
The mobile carrier of the customer’s cell phone. |
body[].age |
String |
Age of the customer. |
body[].age_category |
String |
Age category of the customer. |
body[].gender |
String |
Gender of the customer. |
body[].residential_address1 |
String |
The first line of the customer’s residential address. |
body[].residential_address2 |
String |
The second line of the customer’s residential address. |
body[].residential_city |
String |
The city of the customer’s residential address. |
body[].residential_state_or_province |
String |
The state/province of the customer’s residential address. |
body[].residential_zip_code |
String |
The zip code of the customer’s residential address. |
body[].families[].family_id |
int |
Family ID. |
body[].families[].head_of_household |
String |
Head of household of this family. |
body[].families[].head_of_household_customer_id |
Integer |
Customer ID of the head of household. |
body[].families[].head_of_household_customer_first_name |
String |
First name of the head of the household. |
body[].families[].head_of_household_customer_last_name |
String |
Last name of the head of the household. |
body[].families[].head_of_household_customer_email |
String |
Email of the head of the household. |
body[].payers |
Array |
Payers of the enrollment. |
body[].payers[].payer_first_name |
String |
First name of the payer. Only displays when the payer is an individual customer. |
body[].payers[].payer_last_name |
String |
Last name of the payer. Only displays when the payer is an individual customer. |
body[].payers[].payer_customer_id |
int |
Customer ID of the payer. Only displays when the payer is an individual customer. |
body[].payers[].payer_email |
String |
Email address of the payer. Only displays when the payer is an individual customer. |
body[].payers[].payer_company_name |
String |
Name of the company. Only displays when the payer is a company. |
body[].payers[].payer_company_phone |
String |
Phone 1 of the company. Only displays when the payer is a company. |
body[].question_answers[].question_title |
String |
The title of the custom question. |
body[].question_answers[].question_text |
String |
The question text which will be displayed during a transaction. |
body[].question_answers[].question_id |
int |
ID of the custom question. |
body[].question_answers[].answer |
String |
The answer of custom question. Multiple answers are separated by commas |
body[].question_answers[].time_stamp |
Datetime |
The date and time when the customer answered the question. |
GetActivityDates
Returns a list of activity dates from today up to 90 days in the future for the specified activity ID (equivalent to in the Administration Home > Registration Settings > Activities > specific activity > Activity Dates page > Individual dates section).
Request
Request Example
GET /activitydates?activity_id=1 HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: api.amp.active.com:8080
Request Headers
This API doesn’t support sort option or pagination, all records will be returned in one call.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Parameters
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
activity_id |
int |
Mandatory |
The id of the activity. |
Response
Records
This API will retrieve multiple records per API call.
Each record will contain all information of a single activity date.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 453
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"activity_id" : 1,
"activity_date_id" : 1,
"activity_facility_id" : 1,
"activity_facility_name" : "Gymnasium",
"activity_center_id" : 2,
"activity_center_name" : "Swimming pool",
"start_date_time" : "2025-10-16 08:00:00",
"end_date_time" : "2025-10-16 10:00:00",
"available_spots" : "10"
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].activity_id |
int |
The activity ID.. |
body[].activity_date_id |
int |
The date ID of this activity date. |
body[].activity_facility_id |
int |
The facility ID of the facility reserved on this activity date. |
body[].activity_facility_name |
String |
The facility name of the facility reserved onthis activity date. |
body[].activity_center_id |
int |
The center ID of the facility reserved on this activity date. |
body[].activity_center_name |
String |
The center name of the facility reserved on this activity date. |
body[].start_date_time |
Datetime |
The start date and time of the activity for this activity date. |
body[].end_date_time |
Datetime |
The end date and time of the activity for this activity date. |
body[].available_spots |
Datetime |
Available spots on this activity date. It is blank if available spots are unlimited. |
GetCustomers
Returns a list of customers for your request parameters (by customer_id in ascending order).
Request
Request Example
GET /customers?customer_id=7250&site_ids=5&gender=&first_name=&last_name=&min_age=&max_age=&modified_date_from=2016-06-11+00%3A00&activity_id=&customer_ids=&alternate_key_ids=1&prospect=&birth_date=&residential_zip_code=&residential_address1=&email=&home_phone= HTTP/1.1
Content-Type: application/json
Accept: application/json
page_info: {"total_records_per_page":3, "page_number":1}
Host: api.amp.active.com:8080
Request Headers
This API supports pagination, but does not support sorting. In the request header, page_info is optional.
For more information about common header parameters, refer to Common header parameters.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
|
In the HTTP request header, you can include page_info and specify required pagination or sorting parameters. Note that for this API, you can specify a number up to 500 for the total_records_per_page parameter. |
Request Parameters
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
customer_id |
int |
Optional |
The ID of the customer. |
site_ids |
String |
Optional |
The ID of site assigned to the customer. You can specify up to 5 sites, with each site separated by a comma. |
gender |
int |
Optional |
Customer gender. (0-Mixed, 1-Male, 2-Female, 13-Non-binary, 14-Prefer not to say. Organizations that have configured gender options can retrieve these gender options and their corresponding IDs through the GetGenders API). |
first_name |
String |
Optional |
First name of the customer. All customers whose first names start with the specified first name are returned. |
last_name |
String |
Optional |
Last name of the customer. All customers whose last names start with the specified last name are returned. |
min_age |
int |
Optional |
Customers whose age are older than or equal to the specified minimum participant age are returned. |
max_age |
int |
Optional |
Customers whose age are younger than or equal to the specified maximum participant age are returned. |
modified_date_from |
YYYY-MM-DD HH:MM |
Optional if activity_id, customer_ids or alternate_key_ids are specified or prospect = true, otherwise required. |
Return a list of customers whose information was last modified on or after the specified date and time (HH:MM is optional). |
activity_id |
int |
Optional if customer_ids, alternate_key_ids or modified_date_from are specified or prospect = true, otherwise required. |
The ID of the activity. Customers who enrolled in the specified activity are returned. |
customer_ids |
int |
Optional if activity_id, alternate_key_ids or modified_date_from are specified or prospect = true, otherwise required. |
You can specify up to 500 customer IDs, with each customer ID separated by a comma. |
alternate_key_ids |
String |
Optional if activity_id, customer_ids or modified_date_from are specified or prospect = true, otherwise required. |
The alternate key IDs of the customers. You can specify up to 100 alternate key IDs, with each ID separated by a comma. |
prospect |
Boolean |
Optional if activity_id, customer_ids, alternate_key_ids or modified_date_from are specified, otherwise required. |
You can specify boolean value to only search prospect or non-prospect customers. |
birth_date |
Date |
Optional |
Customer’s date of birth (YYYY-MM-DD) |
residential_zip_code |
String |
Optional |
Customer’s residential postal code. If the first three digits are provided, this API can be used to perform a fuzzy search. However, if all the digits are provided, this API can only be used for an exact search. |
residential_address1 |
String |
Optional |
The first line of the customer’s residential address. You can enter part of an address to perform a fuzzy search. Note that this parameter is case insensitive. |
String |
Optional |
The email address of the customer. |
|
home_phone |
String |
Optional |
The home phone number of the customer (excluding the country code) A minimum of six digits is required for a home phone number search. |
Response
Records
This API will retrieve multiple records per API call depending on the specified request parameters.
One record will contain all information of a matching customer.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 3554
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"customer_id" : 1,
"encrypted_customer_id" : "",
"customer_title" : "Mr.",
"first_name" : "First name",
"middle_name" : "middle name",
"last_name" : "last name",
"legal_name" : "legal name",
"customer_type" : null,
"geographic_area" : "SH",
"residential_address1" : "address 1",
"residential_address2" : "address 2",
"residential_city" : "city1",
"residential_state_or_province" : "state1",
"residential_zip_code" : "9011",
"mailing_address1" : "mailing address 1",
"mailing_address2" : "mailing address 2",
"mailing_city" : "mailing city",
"mailing_state_or_province" : "mailing state",
"mailing_zip_code" : "12345",
"mailing_name" : "mailing name",
"occupation" : "Engineer",
"home_phone" : null,
"work_phone" : null,
"cell_phone" : null,
"mobile_carrier" : null,
"fax_phone" : null,
"pager_phone" : null,
"other_phone" : null,
"email" : "abc@outlook.com",
"additional_email" : "additional email",
"birth_date" : "2025-10-16",
"age_category" : "10-26 (0-)",
"gender" : "",
"grade" : "4th",
"age" : "30.2",
"resident_status" : null,
"residency_expire_date" : "2025-10-16",
"retired_status" : null,
"special_handling" : false,
"head_of_household" : false,
"families" : [ {
"family_id" : 1,
"household_size" : 3,
"head_of_household" : null,
"head_of_household_customer_id" : 123,
"head_of_household_customer_first_name" : "Jack",
"head_of_household_customer_last_name" : "Linkin",
"head_of_household_customer_email" : "abc@test.com",
"external_id" : 10,
"family_role" : "Mother"
} ],
"has_active_membership" : false,
"alternate_keys" : [ {
"alternate_key_type" : "KeyType1",
"alternate_key_status" : "KeyStatus",
"alternate_key_id" : "001"
} ],
"emergency_contact1_first_name" : "emergencyFirstName1",
"emergency_contact1_last_name" : "emergencyLastName1",
"emergency_contact1_phone" : null,
"emergency_contact1_relation" : "emergency relation 1",
"emergency_contact1_other_phone" : null,
"emergency_contact2_first_name" : "emergencyFirstName2",
"emergency_contact2_last_name" : "emergencyLastName2",
"emergency_contact2_phone" : null,
"emergency_contact2_relation" : "emergency relation 2",
"emergency_contact2_other_phone" : null,
"no_mail" : false,
"date_time_modified" : "2025-10-15 00:39:31",
"customer_notes" : "Outstanding customer",
"customer_medical_alert" : "Food allergy: peanuts",
"customer_general_alert" : "Needs Chairs",
"no_postal_mail" : false,
"not_online_activated" : false,
"login_created" : "2025-10-16 00:00:00",
"login_used" : "2025-10-16 00:00:00",
"interest_date" : "2025-10-16",
"country" : "China",
"late_fee_date" : "2025-10-16",
"agree_receive_text_message" : false,
"created_on" : "Online",
"photo_key" : "333FD3",
"skills" : [ {
"skill_id" : 2,
"skill_title" : "Swimming",
"evaluation_date" : "2018-11-10",
"evaluator" : "Admin Test",
"expiry_date" : "2028-11-10",
"evaluator_comment" : "Swimming"
} ],
"last_transaction_date" : "2025-10-15 00:39:31",
"guardian_email" : null,
"guardian_contact_id" : 0
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].customer_id |
int |
The ID of the customer. |
body[].encrypted_customer_id |
String |
The encrypted ID of the customer. |
body[].customer_title |
String |
The title of the customer. |
body[].first_name |
String |
The first name of the customer. |
body[].middle_name |
String |
The middle name of the customer. |
body[].last_name |
String |
The last name of the customer. |
body[].legal_name |
String |
The legal name of the customer. |
body[].customer_type |
String |
The customer type of the customer. |
body[].geographic_area |
String |
The geographic area of the customer. |
body[].residential_address1 |
String |
The first line of the customer’s residential address. |
body[].residential_address2 |
String |
The second line of the customer’s residential address. |
body[].residential_city |
String |
The city of the customer’s residential address. |
body[].residential_state_or_province |
String |
The state/province of the customer’s residential address. |
body[].residential_zip_code |
String |
The zip code of the customer’s residential address. |
body[].mailing_address1 |
String |
The first line of the customer’s mailing address. |
body[].mailing_address2 |
String |
The second line of the customer’s mailing address. |
body[].mailing_city |
String |
The city of the customer’s mailing address. |
body[].mailing_state_or_province |
String |
The state/province of the customer’s mailing address. |
body[].mailing_zip_code |
String |
The zip code of the customer’s mailing address. |
body[].mailing_name |
String |
The customer’s mailing name that used on mail-outs and statements. |
body[].occupation |
String |
The customer’s occupation description. |
body[].home_phone |
String |
The home phone number of the customer. |
body[].work_phone |
String |
The work phone number of the customer. |
body[].cell_phone |
String |
The cell phone number of the customer. |
body[].mobile_carrier |
String |
The mobile carrier of the customer’s cell phone. |
body[].fax_phone |
String |
The fax number of the customer. |
body[].pager_phone |
String |
The pager phone number of the customer. |
body[].other_phone |
String |
The other phone number of the customer. |
body[].email |
String |
The email address of the customer. |
body[].guardian_email |
String |
The guardian email address of the customer which age under 13. |
body[].guardian_contact_id |
int |
The guardian customer ID. |
body[].additional_email |
String |
The additional email address of the customer. |
body[].birth_date |
Date |
Customer’s date of birth. |
body[].age_category |
String |
Age category of the customer. |
body[].gender |
String |
Gender of the customer. |
body[].grade |
String |
The school grade of the customer. |
body[].age |
String |
Age of the customer. |
body[].resident_status |
String |
Customer’s resident status. |
body[].residency_expire_date |
Date |
Customer’s residency expiration date. |
body[].retired_status |
String |
Customer’s retirement status. |
body[].special_handling |
boolean |
Whether the customer needs special handling. |
body[].head_of_household |
boolean |
Whether the customer is the head of household. |
body[].families[].family_id |
int |
Family ID. |
body[].families[].household_size |
int |
The number of persons in the household of this family. |
body[].families[].head_of_household |
String |
Head of household of this family. |
body[].families[].head_of_household_customer_id |
Integer |
Customer ID of the head of household. |
body[].families[].head_of_household_customer_first_name |
String |
First name of the head of the household. |
body[].families[].head_of_household_customer_last_name |
String |
Last name of the head of the household. |
body[].families[].head_of_household_customer_email |
String |
Email of the head of the household. |
body[].families[].external_id |
int |
Family external ID. |
body[].families[].family_role |
String |
Family role. |
body[].has_active_membership |
boolean |
Whether the customer has an active membership. |
body[].alternate_keys[].alternate_key_type |
String |
Alternate key type. |
body[].alternate_keys[].alternate_key_status |
String |
Alternate key status. |
body[].alternate_keys[].alternate_key_id |
String |
Alternate key ID. |
body[].emergency_contact1_first_name |
String |
The first name of the customer’s first emergency contact. |
body[].emergency_contact1_last_name |
String |
The last name of the customer’s first emergency contact. |
body[].emergency_contact1_phone |
String |
The phone number of the customer’s first emergency contact. |
body[].emergency_contact1_relation |
String |
The relationship between the customer and his/her first emergency contact. |
body[].emergency_contact1_other_phone |
String |
The other phone number of the customer’s first emergency contact. |
body[].emergency_contact2_first_name |
String |
The first name of the customer’s second emergency contact. |
body[].emergency_contact2_last_name |
String |
The last name of the customer’s second emergency contact. |
body[].emergency_contact2_phone |
String |
The phone number of the customer’s second emergency contact. |
body[].emergency_contact2_relation |
String |
The relationship between the customer and his/her second emergency contact. |
body[].emergency_contact2_other_phone |
String |
The other phone number of the customer’s second emergency contact. |
body[].no_mail |
boolean |
Whether the customer agree on receiving promotional emails. |
body[].date_time_modified |
datetime |
The most recent date and time when the customer information was modified. Format 'YYYY-MM-DD HH:MM:SS' (example: 2016-06-11 23:00:00) |
body[].customer_notes |
String |
Customer notes. |
body[].customer_medical_alert |
String |
Customer medical alert. |
body[].customer_general_alert |
String |
Customer general alert (staff use only). |
body[].no_postal_mail |
boolean |
Whether the customer agree to receive postal mails. |
body[].not_online_activated |
boolean |
Whether the customer is activated in the CUI. |
body[].login_created |
Date |
The customer’s CUI account creation time. |
body[].login_used |
Date |
The customer’s most recent login time in the CUI. |
body[].interest_date |
Date |
The date when the customer’s interest charge is generated. |
body[].country |
String |
Country of the customer. |
body[].late_fee_date |
Date |
The date when the customer’s late fee is generated. |
body[].agree_receive_text_message |
boolean |
Whether the customer agrees to receive text message. |
body[].created_on |
String |
The customer account is created on the staff side or online. |
body[].photo_key |
String |
The key to retrieve the required customer photo. Note that the photo_key is static for each customer. If the customer photo is updated in the AUI, the photo_key for the customer remains unchanged. |
body[].skills[].skill_id |
int |
The ID of the skill. |
body[].skills[].skill_title |
String |
The title of the skill. |
body[].skills[].evaluation_date |
Date |
The evaluation date of the customer’s skill. |
body[].skills[].evaluator |
String |
The system user’s name who evaluated customer’s skill. |
body[].skills[].expiry_date |
Date |
The expiry date of the customer’s skill. |
body[].skills[].evaluator_comment |
String |
The comment the system user left when evaluate the customer’s skill. |
body[].last_transaction_date |
Date |
Date of the customer’s last transaction. |
PostCustomers
All request parameters follow the required or optional configurations on the Administration Home > Population Settings > Configuration page.
Request
Request Example
POST /customers HTTP/1.1
Content-Type: application/json
Accept: application/json
Content-Length: 1611
Host: api.amp.active.com:8080
{
"body": [
{
"first_name": "xxx1",
"last_name": "ddd",
"email": "yyy@gmail.com",
"birth_date": "2005-01-11",
"middle_name": "1212",
"SSN": "123456",
"mailing_address1": "mailing_address1",
"mailing_address2": "mailing_address2",
"mailing_city": "LA",
"mailing_state_or_province_id": 44,
"mailing_zip_code": "12345",
"mailing_name": "mailing_name",
"residential_address1": "residential_address1",
"residential_address2": "residential_address2",
"residential_city": "residential_city",
"residential_state_or_province_id": 44,
"residential_zip_code": "12345",
"additional_email": "xxx@gmail.com",
"gender_id": 1,
"resident": true,
"head_of_household": true,
"no_mail": true,
"no_postal_mail": true,
"customer_notes": "this is notes",
"customer_medical_alert": "this is medical alert",
"customer_general_alert": "this is general alert",
"families": [
{
"family_id": 2
}
],
"preferred_language_id": 2,
"h_area": "223",
"h_phone": "1234567",
"h_ext": "1233333",
"w_area": "223",
"w_phone": "1234567",
"w_ext": "1233333",
"c_area": "223",
"c_phone": "1234567",
"c_ext": "1233333"
}
]
}
Request Headers
This API does not support pagination or sorting. In the request header, page_info is not required.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Body
| Path | Type | Description |
|---|---|---|
|
|
Customer list to be added |
|
|
Customer’s first name. |
|
|
The last name of the customer. |
|
|
The email address of the customer. |
|
|
Customer’s date of birth.Format: yyyy-MM-dd |
|
|
Middle Name of the Customer. |
|
|
Social Security number. |
|
|
The first line of the customer’s mailing address. |
|
|
The second line of the customer’s mailing address. |
|
|
The city of the customer’s mailing address. |
|
|
The state/province of the customer’s mailing address. |
|
|
The zip code of the customer’s mailing address. |
|
|
The customer’s mailing name that used on mail-outs and statements. |
|
|
The first line of the customer’s residential address. |
|
|
The second line of the customer’s residential address. |
|
|
The city of the customer’s residential address. |
|
|
The state/province ID of the customer’s residential address. |
|
|
The zip code of the customer’s residential address. |
|
|
The additional email address of the customer. |
|
|
The gender ID of the customer. |
|
|
Customer’s resident status. |
|
|
Whether the customer is the head of household. If it is ‘true’, the auto-created family under the new customer will assign the customer as the ‘head of household’; If it is ‘false’, the customer will not be assigned as the ‘head of household’. |
|
|
Whether the customer agree on receiving promotional emails. false means to agree to receive promotional emails. |
|
|
Whether the customer agree to receive postal mails. false means to agree to receive promotional mails. |
|
|
Customer notes. |
|
|
Customer medical alert. |
|
|
Customer general alert (staff use only). |
|
|
The preferred language of the customer. English= 1; French=2; Spanish=3 |
|
|
Family list to be add into. |
|
|
Family ID. |
|
|
Home phone area code. |
|
|
Home phone phone number. |
|
|
Home phone extension number. |
|
|
Work phone area code. |
|
|
Work phone phone number. |
|
|
Work phone extension number. |
|
|
Cell phone area code. |
|
|
Cell phone phone number. |
|
|
Cell phone extension number. |
Response
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 468
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"successfully_updated_customer" : [ {
"customer_id" : 1,
"first_name" : "first_name",
"last_name" : "last_name",
"email" : "email"
} ],
"failed_updated_customer" : [ {
"first_name" : "first_name",
"last_name" : "last_name",
"email" : "email",
"failed_error" : "error"
} ]
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
response header. |
headers.response_code |
String |
response code. |
headers.response_message |
String |
response message. |
body |
Array |
The response body. |
body[].successfully_updated_customer |
Array |
The information of successfully updated customers. |
body[].successfully_updated_customer[].customer_id |
int |
ActiveNet customer ID of the successfully updated customer. |
body[].successfully_updated_customer[].first_name |
String |
First name of the successfully updated customer. |
body[].successfully_updated_customer[].last_name |
String |
Last name of the successfully updated customer. |
body[].successfully_updated_customer[].email |
String |
Email of the successfully updated customer. |
body[].failed_updated_customer |
Array |
The information of the customers who failed to update. |
body[].failed_updated_customer[].email |
String |
Email of the customer who failed to update. |
body[].failed_updated_customer[].first_name |
String |
First name of the customer who failed to update. |
body[].failed_updated_customer[].last_name |
String |
Last name of the customer who failed to update. |
body[].failed_updated_customer[].failed_error |
String |
Error for the customer who failed to update. |
GetCustomerPhoto
Downloads the customer photo for the specified photo_key.
Request
Request Example
GET /customerphoto?photo_key=010FD14A2F HTTP/1.1
Content-Type: image/jpeg
Accept: image/jpeg
Host: api.amp.active.com:8080
Request Headers
This API does not support pagination or sorting. In the request header, page_info is not required.
Request Parameters
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
photo_key |
String |
Mandatory |
The key to retrieve the required customer photo. To determine the photo key for the required customer, call the GetCustomers API. In the API response, the photo_key field of the required customer record contains the photo key. Note that the photo_key is static for each customer. If the customer photo is updated in the AUI, the photo_key for the customer remains unchanged. |
Response
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Headers
| Name | Description |
|---|---|
|
image/jpeg |
Response Body
GetCustomerPhoto API responses do not have a response body. For a valid API request, the required photo is downloaded automatically. Note that Customer photos are in PNG, JPG, BMP or GIF formats.
GetCustomQuestionAnswers
Return a list of custom question answers for your request parameters ((by customer_id, and then by question in ascending order).
Request
Request Example
GET /customquestionanswers?activity_id=1234&package_id=&program_id=&permit_number=&customer_id= HTTP/1.1
Content-Type: application/json
Accept: application/json
page_info: {}
Host: api.amp.active.com:8080
Request Headers
This API supports pagination, but does not support sorting. In the request header, page_info is optional.
For more information about common header parameters, refer to Common header parameters.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
|
In the HTTP request header, you can include page_info and specify required pagination or sorting parameters. Note that for this API, you can specify a number up to 500 for the total_records_per_page parameter. |
Request Parameters
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
activity_id |
int |
Mandatory (at least one of the following parameters must be provided: 'activity_id', 'package_id', 'program_id', 'permit_number', 'customer_id'.) |
The ID of the activity. For the specified activity, all customers' answers to custom questions entered during activity registration are returned. |
package_id |
int |
Mandatory (at least one of the following parameters must be provided: 'activity_id', 'package_id', 'program_id', 'permit_number', 'customer_id'.) |
The ID of the package. For the specified membership package, all customers' answers to custom questions entered during enrollment are returned. |
program_id |
int |
Mandatory (at least one of the following parameters must be provided: 'activity_id', 'package_id', 'program_id', 'permit_number', 'customer_id'.) |
The ID of the FlexReg/daycare program. For the specified FlexReg/daycare program, all customers' answers to custom questions entered during program enrollment are returned. |
permit_number |
int |
Mandatory (at least one of the following parameters must be provided: 'activity_id', 'package_id', 'program_id', 'permit_number', 'customer_id'.) |
The number of the permit. For the specified permit, all customers' answers to custom questions entered during reservation are returned. |
customer_id |
int |
Mandatory (at least one of the following parameters must be provided: 'activity_id', 'package_id', 'program_id', 'permit_number', 'customer_id'.) |
The ID of the required customer. If only the customer_id parameter is provided, then this customer’s answers to custom questions entered during account creation are returned. If customer_id is provided together with other parameters, then the customer_id is used as a filter. For example, if activity_id and customer_id are provided, then custom questions answered by the specified customer for the specified activity during registration are returned. |
Response
Records
This API will retrieve multiple records per API call depending on the specified request parameters.
One record will contain all information of a single answer to a custom question. For example, if a customer answered five questions, then five records are returned.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 870
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"customer_id" : 8520,
"first_name" : "first name",
"last_name" : "last name",
"question_answers" : [ {
"question" : "Question?",
"question_id" : 17,
"answer" : "Answer!",
"time_stamp" : "2017-07-05 00:00:00"
} ],
"answer_for" : "1-Activity registration",
"receipt_number" : 3000847.005,
"activity_name" : "name",
"activity_number" : "1234",
"activity_id" : 123,
"activity_status" : "Open",
"program_name" : null,
"program_number" : null,
"program_id" : null,
"program_status" : null,
"event_type" : null,
"event_name" : null,
"permit_number" : null,
"permit_status" : null,
"package_name" : null,
"package_id" : null
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].customer_id |
int |
Customer ID. |
body[].first_name |
String |
Customer’s first name. |
body[].last_name |
String |
Customer’s last name. |
body[].question_answers |
Array |
Question and answers the customer answered. |
body[].question_answers[].question |
String |
Custom question. |
body[].question_answers[].question_id |
int |
ID of the custom question. |
body[].question_answers[].answer |
String |
The answer of custom question. Multiple answers are separated by commas |
body[].question_answers[].time_stamp |
Datetime |
The date and time when the customer answered the question. |
body[].answer_for |
String |
The module in which the customer answered the question. |
body[].receipt_number |
BigDecimal |
On which receipt the customer answered the question. |
body[].activity_name |
String |
The name of the activity associated with the question and answer. |
body[].activity_number |
String |
The number of the activity associated with the question and answer. |
body[].activity_id |
int |
The activity ID of the activity associated with the question and answer. |
body[].activity_status |
String |
The status of the activity associated with the question and answer. |
body[].program_name |
String |
The name of the daycare program associated with the question and answer. |
body[].program_number |
String |
The number of the daycare program associated with the question and answer. |
body[].program_id |
int |
The program ID of the program associated with the question and answer. |
body[].program_status |
String |
The status of the daycare program associated with the question and answer. |
body[].event_type |
String |
The type of the event associated with the question and answer. |
body[].event_name |
String |
The name of the event associated with the question and answer. |
body[].permit_number |
int |
The number of the permit associated with the question and answer. |
body[].permit_status |
String |
The status of the permit associated with the question and answer. |
body[].package_name |
String |
The name of the package associated with the question and answer. |
body[].package_id |
int |
The package ID of the package associated with the question and answer. |
GetProspectCustomQuestionAnswers
Return a list of prospect custom question answers for your request parameters ((by customer_id in ascending order).
Request
Request Example
GET /prospectcustomquestionanswers?customer_ids=1%2C2 HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: api.amp.active.com:8080
Request Headers
This API supports pagination, but does not support sorting. In the request header, page_info is optional.
For more information about common header parameters, refer to Common header parameters.
| Name | Description |
|---|---|
|
application/json |
Request Parameters
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
customer_ids |
String |
Mandatory |
You can specify up to 500 customer IDs, with each ID separated by a comma. |
Response
Records
This API will retrieve multiple records per API call depending on the specified request parameters.
One record will contain a customer id and an array of prospect custom questions.
One record of prospect custom questions will contain a question text and an array of answers
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 375
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"customer_id" : 1,
"prospect_answers" : [ {
"question" : "Question 1",
"answer" : [ "Answer 1", "Answer 2", "Answer 3" ]
}, {
"question" : "Question 2",
"answer" : [ "Answer 4", "Answer 5", "Answer 6" ]
} ]
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].customer_id |
int |
The ID of the customer. |
body[].prospect_answers[].question |
String |
Prospect custom question. |
body[].prospect_answers[].answer |
Array |
The answers of prospect custom question. Multiple answers are separated by commas |
GetCustomQuestions
Return a list of custom questions for your request parameters (by custom_question_id in ascending order).
Request
Request Example
GET /customquestions?activity_id=1234&custom_question_id=&program_id=&package_id=&event_type_id=&account_creation_type=&process=&modified_date_from=&modified_date_to= HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: api.amp.active.com:8080
Request Headers
This API does not support pagination or sorting. In the request header, page_info is not required.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Parameters
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
custom_question_id |
int |
Mandatory (only one parameter among 'activity_id', 'package_id', 'program_id' and 'custom_question_id' should be specified) |
The custom question ID. |
activity_id |
int |
Mandatory (only one parameter among 'activity_id', 'package_id', 'program_id', 'event_type_id', 'account_creation_type' and 'custom_question_id' should be specified) |
The activity ID. Questions associated with the activity are returned. |
program_id |
int |
Mandatory (only one parameter among 'activity_id', 'package_id', 'program_id', 'event_type_id', 'account_creation_type' and 'custom_question_id' should be specified) |
The daycare program ID. Questions associated with the daycare program are returned. |
package_id |
int |
Mandatory (only one parameter among 'activity_id', 'package_id', 'program_id', 'event_type_id', 'account_creation_type' and 'custom_question_id' should be specified) |
The package ID. Questions associated with the package are returned. |
event_type_id |
int |
Mandatory (only one parameter among 'activity_id', 'package_id', 'program_id', 'event_type_id', 'account_creation_type' and 'custom_question_id' should be specified) |
The id of the event type. |
account_creation_type |
int |
Mandatory (only one parameter among 'activity_id', 'package_id', 'program_id', 'event_type_id', 'account_creation_type' and 'custom_question_id' should be specified) |
The type of account creation: 1- individual; 2 - family |
process |
int |
Optional |
The process the questions are attached for. 1- All. Retrieve all questions attached to a package/activity/program; 2-Sale.It is only applicable for membership. Retrieve questions attached to a package except for 'renew only'; 3-Renew. It is only applicable for membership. Retrieve renew only questions attached to a package. |
modified_date_from |
YYYY-MM-DD HH:MM |
Optional |
Custom questions last updated on or after the specified date and time are returned (HH:MM is optional). |
modified_date_to |
YYYY-MM-DD HH:MM |
Optional |
Custom questions last updated on or before the specified date and time are returned (HH:MM is optional). |
Response
Records
This API will retrieve multiple records per API call depending on the specified request parameters.
One record will contain all information of a matching custom question.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1271
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"custom_question_id" : 1,
"modified_date_time" : "2025-10-16 00:38:39",
"custom_question_title" : "Question Title",
"prevent_further_use" : true,
"custom_question_text" : "mock customQuestionText data",
"display" : "Public Only",
"answer_type" : "Auto-fill Conditional",
"answer_required" : true,
"use_answer_code" : true,
"answer_format" : "Free form",
"maximum_length" : 1,
"default_answer" : "mock defaultAnswer data",
"question_scope" : "Ask for every transaction",
"multiple_choice_answers" : [ {
"default_response" : true,
"answer_code" : "mock answerCode data",
"answer" : "mock answer data",
"sub_question" : 1,
"demographic" : "mock demorgraphic data"
}, {
"default_response" : true,
"answer_code" : "mock answerCode data",
"answer" : "mock answer data",
"sub_question" : 1,
"demographic" : "mock demorgraphic data"
} ],
"auto_fill_conditional_answers" : [ {
"answer" : "mock answer data",
"age_from" : 1,
"age_to" : 1,
"gender" : "mock gender data"
} ]
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].custom_question_id |
int |
The custom question ID. |
body[].modified_date_time |
String |
The last date and time when the custom question was modified. |
body[].custom_question_title |
String |
The title of the custom question. |
body[].prevent_further_use |
boolean |
The prevent further use flag for the question. |
body[].custom_question_text |
String |
The question text which will be displayed during a transaction. |
body[].display |
String |
Where the question will be displayed: 'Admin Only', 'Public Only' or 'Both'. |
body[].answer_type |
String |
The answer type. |
body[].answer_required |
boolean |
The 'Answer Required' flag for the question. |
body[].use_answer_code |
boolean |
The 'Use Answer Code' flag for the question. |
body[].answer_format |
String |
The defined format of the answer. Only applicable to 'single' answer type questions. |
body[].maximum_length |
int |
The maximum length of the answer. |
body[].default_answer |
String |
The default answer for the question. Only applicable to 'single' answer type questions. |
body[].question_scope |
String |
The name of the facilities that are reserved for the activity’s default pattern. |
body[].multiple_choice_answers[] |
Array |
OnOnly applicable to answer types except 'User Entry' and 'Auto-fill Conditional'. |
body[].multiple_choice_answers[].default_response |
boolean |
The default response flag. |
body[].multiple_choice_answers[].answer_code |
String |
The code of the answer. |
body[].multiple_choice_answers[].answer |
String |
The predefined answer. |
body[].multiple_choice_answers[].sub_question |
int |
The custom_question_id of the sub question which will be triggered by the answer. |
body[].multiple_choice_answers[].demographic |
String |
The demographic information for customers who qualify for the answer. |
body[].auto_fill_conditional_answers[] |
Array |
The last meeting date in the activity default pattern. |
body[].auto_fill_conditional_answers[].answer |
String |
The predefined answer which will be auto filled for customers who meet the specified condition. |
body[].auto_fill_conditional_answers[].age_from |
int |
The minimum age of customers who qualify for the answer. |
body[].auto_fill_conditional_answers[].age_to |
int |
The maximum age of customers who qualify for the answer. |
body[].auto_fill_conditional_answers[].gender |
String |
The gender of customers who qualify for the answer. |
GetMembershipPackages
Returns a list of membership packages for your request parameters (by package_name in ascending order if it is not specified).
Request
Request Example
GET /membershippackages?package_name=test&package_status_id=0&modified_date_from=2011-05-20+00%3A00&modified_date_to=2017-05-20+23%3A59&site_ids=1%2C2%2C3%2C12&package_category_id=0&gender=0&age_from=-1&age_to=-1 HTTP/1.1
Content-Type: application/json
Accept: application/json
page_info: {"order_by":"package_name","page_number":2,"total_records_per_page":30,"order_option":"ASC"}
Host: api.amp.active.com:8080
Request Headers
This API supports pagination and sorting. For a list of supported sorting options, refer to the end of the Request Parameters section.
For more information about common header parameters, refer to Common header parameters.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
|
In the HTTP request header, you can include page_info and specify required pagination or sorting parameters. |
Request Parameters
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
package_name |
String |
Optional |
Packages whose package names fully or partially match the specified name are returned. |
package_status_id |
int |
Optional |
Packages with the specified status are returned (0-Open, 1-Closed). |
modified_date_from |
YYYY-MM-DD HH:MM |
Optional |
Membership package last updated on or after the specified date and time are returned (HH:MM is optional). |
modified_date_to |
YYYY-MM-DD HH:MM |
Optional |
Membership package last updated on or before the specified date and time are returned (HH:MM is optional). |
package_category_id |
int |
Optional |
The ID of the package category. |
site_ids |
String |
Optional |
The site assigned to the package. You can specify up to 5 sites, with each site separated by a comma. |
gender |
int |
Optional |
Genders eligible for registration. 0-Mixed, 1-Male, 2-Female, 13-Non-binary, 14-Prefer not to say. Organizations that have configured gender options can retrieve these gender options and their corresponding IDs through the GetGenders API. |
age_from |
int |
Optional |
Participant age range. All packages whose age ranges partially match the specified range are returned. |
age_to |
int |
Optional |
Participant age range. All packages whose age ranges partially match the specified range are returned. |
You can sort the results by one of the following parameters
| Parameter | Description |
|---|---|
package_name |
Membership package name. Order option: ascending or descending. |
Response
Records
This API will retrieve multiple records per API call depending on the specified request parameters.
One record will contain all information of a matching membership package.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 4284
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"package_name" : "Membership 1",
"package_id" : 1,
"modified_date_time" : "2025-10-16 00:41:44",
"description" : "mock description data",
"package_category_name" : "mock packageCategoryName data",
"package_status" : "Open",
"catalog_description" : "mock catalogDescription data",
"eligibility_percentage" : true,
"site_name" : "mock siteName data",
"usage_fee_name" : "mock usageFeeName data",
"package_start_date" : "2025-10-16 00:41:44",
"specific_end_date" : "2025-10-16 00:41:44",
"specific_number_of_days" : 1,
"specific_time_period" : "mock specificTimePeriod data",
"force_expiration_date" : "mock forceExpirationDate data",
"specific_renew_period" : true,
"force_auto_renew" : true,
"max_sellable_uses" : 1,
"max_timeperiods" : 1,
"max_uses" : 1,
"max_uses_per_day" : 1,
"max_uses_per_week" : 1,
"membership_expire_warn_days" : 1,
"family_membership" : true,
"all_family_members" : true,
"select_family_members" : true,
"auto_allocate_to_immediate_family_members" : true,
"family_member_count_min" : 1,
"family_member_count_max" : 1,
"family_member_age_min" : 1,
"max_passes" : 1,
"residency_type" : "Both",
"package_gender" : "Coed",
"ages_min" : 1,
"ages_max" : 1,
"new_alternate_key_type_links_names" : "mock newAlternateKeyTypeLinksName data",
"new_alternate_key_status_links_names" : "mock newAlternateKeyStatusLinksName data",
"renewable_membership" : true,
"membership_discount" : true,
"qualify_member_registration_dates" : true,
"hide_on_internet" : true,
"available_as_prerequisite" : true,
"after_scan_print_receipt" : true,
"cancellation_options" : "mock cancellationOptions data",
"disable_transfer_usage_fee" : true,
"disable_renew_usage_fee" : true,
"automatic_cancellation" : "mock automaticCancellation data",
"selected_entry_points" : "mock selectedEntryPointsList data",
"qualify_commission_option" : true
}, {
"package_name" : "Membership 2",
"package_id" : 2,
"modified_date_time" : "2025-10-16 00:41:44",
"description" : "mock description data",
"package_category_name" : "mock packageCategoryName data",
"package_status" : "Open",
"catalog_description" : "mock catalogDescription data",
"eligibility_percentage" : true,
"site_name" : "mock siteName data",
"usage_fee_name" : "mock usageFeeName data",
"package_start_date" : "2025-10-16 00:41:44",
"specific_end_date" : "2025-10-16 00:41:44",
"specific_number_of_days" : 1,
"specific_time_period" : "mock specificTimePeriod data",
"force_expiration_date" : "mock forceExpirationDate data",
"specific_renew_period" : true,
"force_auto_renew" : true,
"max_sellable_uses" : 1,
"max_timeperiods" : 1,
"max_uses" : 1,
"max_uses_per_day" : 1,
"max_uses_per_week" : 1,
"membership_expire_warn_days" : 1,
"family_membership" : true,
"all_family_members" : true,
"select_family_members" : true,
"auto_allocate_to_immediate_family_members" : true,
"family_member_count_min" : 1,
"family_member_count_max" : 1,
"family_member_age_min" : 1,
"max_passes" : 1,
"residency_type" : "Both",
"package_gender" : "Coed",
"ages_min" : 1,
"ages_max" : 1,
"new_alternate_key_type_links_names" : "mock newAlternateKeyTypeLinksName data",
"new_alternate_key_status_links_names" : "mock newAlternateKeyStatusLinksName data",
"renewable_membership" : true,
"membership_discount" : true,
"qualify_member_registration_dates" : true,
"hide_on_internet" : true,
"available_as_prerequisite" : true,
"after_scan_print_receipt" : true,
"cancellation_options" : "mock cancellationOptions data",
"disable_transfer_usage_fee" : true,
"disable_renew_usage_fee" : true,
"automatic_cancellation" : "mock automaticCancellation data",
"selected_entry_points" : "mock selectedEntryPointsList data",
"qualify_commission_option" : true
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].package_name |
String |
The name of the membership package. |
body[].package_id |
int |
The ID of the membership package. |
body[].modified_date_time |
String |
The last date and time when the membership package was modified. |
body[].description |
String |
The description of the membership package. |
body[].package_category_name |
String |
The category of the membership package. |
body[].package_status |
String |
The status of the membership package. |
body[].catalog_description |
String |
The catalog description of the membership package. |
body[].eligibility_percentage |
boolean |
The tax receipt eligibility of the membership package. |
body[].site_name |
String |
The site name of the membership package. |
body[].usage_fee_name |
String |
The usage fee name of the membership package. |
body[].package_start_date |
Date |
The date when the membership package becomes valid. |
body[].specific_end_date |
Date |
The date when the membership package expires. |
body[].specific_number_of_days |
int |
After the membership package is sold, in this number of days the membership will expire. |
body[].specific_time_period |
String |
After the membership package is sold, in this time interval (weekly, monthly etc.) the membership remains valid. |
body[].force_expiration_date |
String |
The specific date of the month that the membership expires. |
body[].specific_renew_period |
boolean |
Renew for specific period annually flag. |
body[].force_auto_renew |
boolean |
Always auto renew flag. |
body[].max_sellable_uses |
int |
The maximum number of uses that can be sold to a customer. |
body[].max_timeperiods |
int |
The maximum number of fixed periods that can be sold to a customer. |
body[].max_uses |
int |
The default number of uses (punches or admissions) sold for the membership package. |
body[].max_uses_per_day |
int |
The maximum number of times a membership package can be used on a day. |
body[].max_uses_per_week |
int |
The maximum number of times a membership package can be used in a 7-day period. |
body[].membership_expire_warn_days |
int |
The number of days before the membership package expires to display a warning message during pass validation. |
body[].family_membership |
boolean |
Family membership package flag. |
body[].all_family_members |
boolean |
Automatically allocate to all family members flag. |
body[].select_family_members |
boolean |
Allow user to select family members flag. |
body[].auto_allocate_to_immediate_family_members |
boolean |
Select immediate family members by default flag. |
body[].family_member_count_min |
int |
The minimum number of customers that must be included in the membership package. |
body[].family_member_count_max |
int |
The maximum number of customers that must be included in the membership package. |
body[].family_member_age_min |
int |
Minimum age of a member in the family membership package. |
body[].max_passes |
int |
Maximum number of passes for the membership package. |
body[].residency_type |
String |
Residency type of the membership package. |
body[].package_gender |
String |
Genders eligible for package sale. |
body[].ages_min |
int |
Minimum participant age (year) of the membership package. |
body[].ages_max |
int |
Maximum participant age (year) of the membership package. |
body[].new_alternate_key_type_links_names |
String |
The required alternate key types of the participant. Multiple alternate key types are separated by commas. |
body[].new_alternate_key_status_links_names |
String |
The required alternate key status of the participant. Multiple alternate key statuses are separated by commas. |
body[].renewable_membership |
boolean |
Renewable membership flag. |
body[].membership_discount |
boolean |
Qualifies for "If member" fees flag. |
body[].qualify_member_registration_dates |
boolean |
Qualifies for member registration dates flag. |
body[].hide_on_internet |
boolean |
Hide on internet flag. |
body[].available_as_prerequisite |
boolean |
Available as prerequisite flag. |
body[].after_scan_print_receipt |
boolean |
Print receipt with each scan flag. |
body[].cancellation_options |
String |
Cancellation options for the membership package. |
body[].disable_transfer_usage_fee |
boolean |
Disable usage fee on transfers flag. |
body[].disable_renew_usage_fee |
boolean |
Disable usage fee on renewals flag. |
body[].automatic_cancellation |
String |
Allow automatic cancellation option. |
body[].selected_entry_points |
String |
Selected entry points for the package. Multiple entry points are separated by commas. |
body[].qualify_commission_option |
boolean |
Qualifies for commission option flag. |
GetMemberships
Returns membership information for your request parameters (by membership_id in ascending order).
Request
Request Example
GET /memberships?customer_id=1&package_id=1&modified_date_from=2015-01-01+00%3A00&modified_date_to=2017-12-12+23%3A59&package_status_id=0&active_memberships_only=&encode_customer_id=ankwWDRtYm5QU2MvbU01K1BnNGM4Zz09 HTTP/1.1
Content-Type: application/json
Accept: application/json
page_info: {"total_records_per_page":50, "page_number":1}
Host: api.amp.active.com:8080
Request Headers
This API supports pagination, but does not support sorting. In the request header, page_info is optional.
For more information about common header parameters, refer to Common header parameters.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
|
In the HTTP request header, you can include page_info and specify required pagination or sorting parameters. |
Request Parameters
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
customer_id |
int |
Optional |
Customer ID. |
package_id |
int |
Optional |
Package ID. |
modified_date_from |
YYYY-MM-DD HH:MM |
Optional |
Memberships last updated on or after the specified date and time are returned (HH:MM is optional). |
modified_date_to |
YYYY-MM-DD HH:MM |
Optional |
Memberships last updated on or before the specified date and time are returned (HH:MM is optional). |
package_status_id |
int |
Optional |
Memberships with packages in the specified status (0-Open, 1-Closed) are returned. |
active_memberships_only |
String |
Optional |
Specify 'Y' to search for only active memberships. |
encode_customer_id |
String |
Optional |
Encoded Customer ID (only used if customer_id parameter not passed). |
Response
Records
This API will retrieve multiple records per API call depending on the specified request parameters.
One record will contain all information of a matching membership.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1622
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"customer_id" : 1,
"package_id" : 1,
"customer_first_name" : null,
"customer_last_name" : null,
"customer_since_date" : null,
"primary_member_first_name" : null,
"primary_member_last_name" : null,
"member_since_date" : null,
"membership_id" : 0,
"primary_member_customer_id" : 0,
"membership_status" : null,
"effective_date" : null,
"expiration_date" : null,
"automatic_renewal" : false,
"last_renewed_date" : null,
"suspended_from_date" : null,
"suspended_until_date" : null,
"scheduled_automatic_cancellation" : null,
"scheduled_automatic_cancellation_date" : null,
"automatic_cancellation_reason" : null,
"scheduled_cancellation" : null,
"scheduled_cancellation_date" : null,
"scheduled_cancellation_reason" : null,
"total_number_of_uses" : null,
"number_of_uses_used" : null,
"remaining_number_of_uses_left" : null,
"package_name" : null,
"package_status_id" : 0,
"package_site_id" : null,
"package_category_id" : 0,
"family_package" : false,
"entry_point" : null,
"package_retention_eligible" : false,
"member_pass_number" : null,
"primary_member_pass_number" : null,
"suspension_reason" : null,
"cancellation_date" : null,
"cancellation_reason" : null,
"modified_date_time" : "2016-10-10 11:11:11",
"qualify_member_registration_dates" : false,
"renew_url" : null,
"pass_holders" : null
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[0].customer_id |
int |
Customer ID |
body[0].package_id |
int |
The membership package ID in which the member is enrolled. |
body[0].customer_first_name |
String |
The first name of the customer. |
body[0].customer_last_name |
String |
The last name of the customer. |
body[0].customer_since_date |
Date |
The date on which the customer record was created. |
body[0].primary_member_first_name |
String |
The first name of the primary member to which the membership package is assigned. |
body[0].primary_member_last_name |
String |
The last name of the primary member to which the membership package is assigned. |
body[0].member_since_date |
Date |
The original date on which the customer purchased a valid retention eligible membership within the defined retention period. For one customer, there is only one member since date. |
body[0].membership_id |
int |
The membership ID. |
body[0].primary_member_customer_id |
int |
The primary customer ID to which the membership package is assigned. |
body[0].membership_status |
String |
The status (active, expired, suspended, cancelled, etc.) of the membership package. |
body[0].effective_date |
Date |
The effective date of the membership package. |
body[0].expiration_date |
Date |
The expiration date of the membership package |
body[0].automatic_renewal |
boolean |
Whether automatic renewal is enabled for the membership package. |
body[0].last_renewed_date |
Date |
The most recent renewal date for the membership package. |
body[0].suspended_from_date |
Date |
The date from which the membership package was suspended. |
body[0].suspended_until_date |
Date |
The date to which the membership package is suspended. |
body[0].scheduled_automatic_cancellation |
boolean |
Whether the membership package is scheduled for a future automatic cancellation at renewal. |
body[0].scheduled_automatic_cancellation_date |
Date |
The date when the automatic cancellation at renewal will be executed. |
body[0].automatic_cancellation_reason |
String |
The reason the member stopped the automatic renewal of the membership package. |
body[0].scheduled_cancellation |
boolean |
Whether the membership package is scheduled for a future cancellation. |
body[0].scheduled_cancellation_date |
Date |
The date when the scheduled cancellation will be executed. |
body[0].scheduled_cancellation_reason |
String |
The reason the membership package is scheduled for a future cancellation. |
body[0].total_number_of_uses |
int |
The maximum number of uses/punches available for the membership package, when the membership package has defined usage restrictions. |
body[0].number_of_uses_used |
int |
The number of uses/punches that were used for the membership package, when the membership package has defined usage restrictions. |
body[0].remaining_number_of_uses_left |
int |
The remaining number of uses/punches available for the membership package, when the membership package has defined usage restrictions. |
body[0].package_name |
String |
The name of the membership package. |
body[0].package_status_id |
int |
Package status ID (0-Open, 1-Closed). |
body[0].package_site_id |
int |
The ID of the membership package’s associated site. |
body[0].package_category_id |
int |
The ID of the membership package’s associated category. |
body[0].family_package |
boolean |
Whether a package is a family package or not. |
body[0].entry_point |
String |
The entry points to which the pass holder of the membership package can access. |
body[0].package_retention_eligible |
boolean |
Whether a package is a retention eligible package or not. |
body[0].member_pass_number |
String |
The pass number on the member’s pass card associated with the membership package. |
body[0].primary_member_pass_number |
String |
The pass number on the primary member’s pass card associated with the membership package. |
body[0].suspension_reason |
String |
The reason the membership package is suspended. |
body[0].cancellation_date |
Date |
The termination date for the whole membership package. Note, the cancellation upon a single renewal period of the membership package is not considered as a membership cancellation. Only when the membership status of the membership package is changed to 'cancelled' and the whole membership package is cancelled, then the membership package is consider as cancelled. |
body[0].cancellation_reason |
String |
The reason the membership package was terminated. |
body[0].modified_date_time |
Datetime |
The latest modified date and time of the membership. |
body[0].qualify_member_registration_dates |
boolean |
Qualifies for member registration dates flag. |
GetMembershipPackageCategories
Returns a list of membership package categories for your organization (by category_name in ascending order).
Request
Request Example
GET /membershippackagecategories HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: api.amp.active.com:8080
Request Headers
This API does not support pagination or sorting. In the request header, page_info is not required.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Parameters
None
Response
Records
This API will retrieve multiple records per API call.
Each record will contain all information of a single membership category. All membership categories are returned in a single API response.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 269
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"category_id" : 0,
"category_name" : null,
"description" : null,
"retention_eligible" : false,
"qualify_commission" : false
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].category_id |
int |
The ID of the package category. |
body[].category_name |
String |
The name of the package category. |
body[].description |
String |
The description of the package category. |
body[].retention_eligible |
boolean |
The retention eligible flag of the package category. |
body[].qualify_commission |
boolean |
The commission tracking flag of the package category. |
GetMembershipUsages
Returns membership usage information for your request parameters (by membershipusage_id in ascending order).
Request
Request Example
GET /membershipusages?usage_date=2017-07-01&customer_id=7100&package_id=&alternate_key_type=&entry_point_id=&entry_point=&from_daily_time=&to_daily_time= HTTP/1.1
Content-Type: application/json
Accept: application/json
page_info: {"total_records_per_page":50, "page_number":1}
Host: api.amp.active.com:8080
Request Headers
This API supports pagination, but does not support sorting. In the request header, page_info is optional.
For more information about common header parameters, refer to Common header parameters.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
|
In the HTTP request header, you can include page_info and specify required pagination or sorting parameters. Note that for this API, you can specify a number up to 500 for the total_records_per_page parameter. |
Request Parameters
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
usage_date |
YYYY-MM-DD |
Mandatory |
Date of the required membership and/or alternate key usage data. |
customer_id |
int |
Optional |
The ID for the required customer. |
package_id |
int |
Optional |
The required membership package ID. |
alternate_key_type |
String |
Optional |
The required alternate key type name. |
entry_point_id |
int |
Optional |
ID of the entry point where the membership and/or alternate key was used. |
entry_point |
String |
Optional |
The name of the entry point where the membership and/or alternate key was used. |
from_daily_time |
HH:MM |
Optional |
The required daily time range for the membership and/or alternate key usage data. |
to_daily_time |
HH:MM |
Optional |
The required daily time range for the membership and/or alternate key usage data. |
Response
Records
This API will retrieve multiple records per API call depending on the specified request parameters.
One record will contain all information of a matching membership usage.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 825
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"customer_id" : 1,
"customer_first_name" : "Jim",
"customer_last_name" : "Zhao",
"package_id" : 1001,
"package_name" : "Test-Package1",
"pass_number" : "XIA0001",
"alternate_key_type" : "KeyType1",
"alternate_key_status" : "KeyStatus1",
"alternate_key_id" : "K0001",
"checkin_date" : "2017-07-01",
"checkin_day_of" : "Saturday",
"checkin_time" : "10:30",
"qty" : 1,
"check_in_entry_point_id" : 11,
"checkin_entry_point" : "EntryPoint01",
"checkout_date" : "2017-07-01",
"checkout_day_of" : "Saturday",
"checkout_time" : "12:30",
"check_out_entry_point_id" : 12,
"checkout_entry_point" : "OutEntryPoint01"
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].customer_id |
Integer |
The ID for the member. |
body[].customer_first_name |
String |
The first name of the member. |
body[].customer_last_name |
String |
The last name of the member. |
body[].package_id |
Integer |
The membership package ID. |
body[].package_name |
String |
The membership package name. |
body[].pass_number |
String |
The member’s pass card number. |
body[].alternate_key_type |
String |
The alternate key type name. |
body[].alternate_key_status |
String |
The alternate key status name. |
body[].alternate_key_id |
String |
The member’s alternate key ID. |
body[].checkin_date |
Date |
The member check-in date. |
body[].checkin_day_of |
String |
The member check-in day. |
body[].checkin_time |
String |
The member check-in time. |
body[].qty |
Integer |
The quantity of the membership usage. |
body[].check_in_entry_point_id |
Integer |
The ID of the entry point where the member checked-in. |
body[].checkin_entry_point |
String |
The member check-in entry point name. |
body[].checkout_date |
Date |
The member check-out date. |
body[].checkout_day_of |
String |
The member check-out day. |
body[].checkout_time |
String |
The member check-out time. |
body[].check_out_entry_point_id |
Integer |
The ID of the entry point where the member checked-out. |
body[].checkout_entry_point |
String |
The member check-out entry point name. |
GetMembershipPackageFees
Returns membership package fee information for the specified membership package.
Request
Request Example
GET /membershippackages/1/fees HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: api.amp.active.com:8080
Request Headers
This API does not support pagination or sorting. In the request header, page_info is not required.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Path Parameters
/membershippackages/{packageId}/fees
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
packageId |
int |
Mandatory |
The ID of the membership package. |
Response
Records
This API will retrieve one record per API call.
One record will contain all package fee information for the specified package ID.
To retrieve package fee information of another membership package, repeat the API call with its package ID.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1126
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"package_fees" : [ {
"charge_name" : "Test Charge Name",
"charge_type" : "Test Charge Type Name",
"discount_order" : 5,
"prifill_condition" : "Always",
"primary_fee" : true,
"default_amount" : 20,
"default_percentage" : 30,
"customer_type" : "Individual",
"description" : "Test Description",
"gl_accounts" : [ {
"gl_account_name" : "gl account name",
"gl_account_number" : "8234 TX-8"
} ],
"scheduled_fees" : [ {
"effective_date" : "2025-10-16 00:41:43",
"charge_amount" : 10
} ],
"activation_date" : "2025-10-16 00:41:43",
"expiration_date" : "2025-10-16 00:41:43"
} ],
"global_discounts" : [ {
"global_discount_name" : "glaccount 1",
"global_discount_order" : 1,
"global_discount_group_number" : 10,
"global_discount_amount" : -20,
"global_discount_percent" : 30,
"global_discount_retired" : true
} ]
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].package_fees |
Object[] |
The package fee structure in response. |
body[].package_fees[].charge_name |
String |
The charge name of the package fee/discount/scholarship. |
body[].package_fees[].charge_type |
String |
The charge type of the package fee/discount/scholarship. |
body[].package_fees[].discount_order |
Integer |
The order in which a discount will be applied. |
body[].package_fees[].prifill_condition |
String |
The prefill condition for the package fee/discount/scholarship. |
body[].package_fees[].primary_fee |
boolean |
The primary fee flag for the fee. |
body[].package_fees[].default_amount |
Bigdecimal |
The default amount of the package fee/discount/scholarship. |
body[].package_fees[].default_percentage |
Bigdecimal |
The percentage of the package discount/scholarship. |
body[].package_fees[].customer_type |
String |
The customer type that qualifies for the package fee/discount/scholarship. |
body[].package_fees[].description |
String |
The description of the package fee/discount/scholarship. |
body[].package_fees[].gl_accounts |
Object[] |
The G/L account information of the package fee/discount/scholarship. |
body[].package_fees[].gl_accounts[].gl_account_name |
String |
G/L account name. |
body[].package_fees[].gl_accounts[].gl_account_number |
String |
G/L account number. |
body[].package_fees[].scheduled_fees |
Object[] |
The scheduled fee change of the package fee. |
body[].package_fees[].scheduled_fees[].effective_date |
Date |
Effective date of the scheduled fee change. |
body[].package_fees[].scheduled_fees[].charge_amount |
Bigdecimal |
Charge amount of the schedule fee change. |
body[].package_fees[].activation_date |
Date |
The activation date of the package fee/discount/scholarship. |
body[].package_fees[].expiration_date |
Date |
The expiration date of the package fee/discount/scholarship. |
body[].global_discounts |
Object[] |
The global discounts in response. |
body[].global_discounts[].global_discount_name |
String |
The name of the applicable global discount. |
body[].global_discounts[].global_discount_order |
int |
The order of the applicable global discount. |
body[].global_discounts[].global_discount_group_number |
int |
The group number of the applicable global discount. |
body[].global_discounts[].global_discount_amount |
Bigdecimal |
The amount of the applicable global discount (fixed discount). |
body[].global_discounts[].global_discount_percent |
Bigdecimal |
The percentage of the applicable global discount (percentage discount). |
body[].global_discounts[].global_discount_retired |
boolean |
Global discount retired flag. |
GetFlexRegPrograms
Returns a list of Flex Registration programs for your request parameters (by program_id in ascending order if it is not specified).
Request
Request Example
GET /flexregprograms?program_name=name&program_number=1234&program_type_id=1&parent_season_id=123&program_status_id=0&category_id=0&other_category_id=0&site_ids=15%2C26%2C37¢er_ids=30%2C26%2C53&days_of_week=1111111&modified_date_from=2011-05-20+00%3A00&modified_date_to=2017-05-20+23%3A59&reservation_unit=0&gender=0&age_from=0&age_to=0&show_on_member_app= HTTP/1.1
Content-Type: application/json
Accept: application/json
page_info: {"order_by":"program_id", "page_number":2, "total_records_per_page":30, "order_option":"ASC"}
Host: api.amp.active.com:8080
Request Headers
This API supports pagination and sorting. For a list of supported sorting options, refer to the end of the Request Parameters section.
For more information about common header parameters, refer to Common header parameters.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
|
In the HTTP request header, you can include page_info and specify required pagination or sorting parameters. Note that for this API, you can specify a number up to 500 for the total_records_per_page parameter. |
Request Parameters
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
program_name |
String |
Optional |
Program name. All programs whose names fully or partially match the specified name are returned. |
program_number |
String |
Optional |
Program number. All programs whose program numbers fully or partially match the specified program number are returned. |
program_type_id |
int |
Optional |
The program type ID of the program. |
parent_season_id |
int |
Optional |
The parent season ID of the program. |
program_status_id |
int |
Optional |
The status of the program. (0-Open, 1-Closed, 2-Tentative, 3-On Hold, 4-Retired) |
category_id |
int |
Optional |
The category ID of the program. |
other_category_id |
int |
Optional |
The other category ID of the program. |
reservation_unit |
int |
Optional |
The reservation unit of the program. (0-Same as billing unit, 1-Daily, 2-Weekly, 3-Monthly, 4-No choices). |
site_ids |
String |
Optional |
The site IDs assigned to the program. You can specify up to 5 sites, with each site separated by a comma. |
center_ids |
String |
Optional |
The Center ID for the program’s facilities. You can specify up to 5 centers, with each center separated by a comma. |
days_of_week |
String |
Optional |
Days of week the program occurs. Programs that have at least one meeting date within the specified days of week are returned (e.g. to find programs that occur on Monday and/or Wednesday, the specified parameter should be 0101000). |
modified_date_from |
YYYY-MM-DD HH:MM |
Optional |
FlexReg programs last updated on or after the specified date and time are returned (HH:MM is optional). |
modified_date_to |
YYYY-MM-DD HH:MM |
Optional |
FlexReg programs last updated on or before the specified date and time are returned (HH:MM is optional). |
gender |
int |
Optional |
Gender eligible for registration (0-Mixed, 1-Male, 2-Female, 13-Non-binary, 14-Prefer not to say. Organizations that have configured gender options can retrieve these gender options and their corresponding IDs through the GetGenders API). |
age_from |
int |
Optional |
Programs whose age ranges are fully or partially within the specified range are returned. |
age_to |
int |
Optional |
Programs whose age ranges are fully or partially within the specified range are returned. |
show_on_member_app |
String |
Optional |
Filter for FlexReg programs by their 'Show On The ACTIVE Net Captivate App' flag: Y or N |
You can sort the results by one of the following parameters
| Parameter | Description |
|---|---|
program_name |
Program name. Order option: ascending or descending. |
program_number |
Program number. Order option: ascending or descending. |
Response
Records
This API will retrieve multiple records per API call depending on the specified request parameters.
One record will contain all information of a matching Flex Registration program.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1815
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"program_name" : "program 1",
"program_number" : "mock programNumber data",
"program_id" : 1,
"modified_date_time" : "2025-10-16 00:39:46",
"program_type" : "mock programType data",
"parent_season" : "mock parentSeason data",
"child_season" : "mock childSeason data",
"program_status" : "mock programStatus data",
"program_department" : "mock department data",
"category" : "mock category data",
"sub_category" : "mock otherCategory data",
"reservation_unit" : "Weekly",
"site_name" : "mock siteName data",
"gender" : "Coed",
"age_min_year" : 1,
"age_min_month" : 1,
"age_min_week" : 1,
"age_max_year" : 1,
"age_max_month" : 1,
"age_max_week" : 1,
"show_on_member_app" : "mock showOnMemberApp data",
"category_id" : 1
}, {
"program_name" : "program 2",
"program_number" : "mock programNumber data",
"program_id" : 2,
"modified_date_time" : "2025-10-16 00:39:46",
"program_type" : "mock programType data",
"parent_season" : "mock parentSeason data",
"child_season" : "mock childSeason data",
"program_status" : "mock programStatus data",
"program_department" : "mock department data",
"category" : "mock category data",
"sub_category" : "mock otherCategory data",
"reservation_unit" : "mock reservationUnit data",
"site_name" : "mock siteName data",
"gender" : "mock gender data",
"age_min_year" : 1,
"age_min_month" : 1,
"age_min_week" : 1,
"age_max_year" : 1,
"age_max_month" : 1,
"age_max_week" : 1,
"show_on_member_app" : "mock showOnMemberApp data",
"category_id" : 1
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].program_name |
String |
The name of the program. |
body[].program_number |
String |
The number of the program. |
body[].program_id |
int |
The ID of the program. |
body[].modified_date_time |
String |
The last date and time when the Flex Registration program was modified. |
body[].program_type |
String |
The program type of the program. |
body[].parent_season |
String |
The parent season of the program. |
body[].child_season |
String |
The child season of the program. |
body[].program_status |
String |
The status of the program. |
body[].program_department |
String |
The department of the program. |
body[].category |
String |
The category of the program. |
body[].sub_category |
String |
The other category of the program. |
body[].reservation_unit |
String |
The reservation unit of the program. |
body[].site_name |
String |
The site name of the program. |
body[].gender |
String |
Genders eligible for program registration. |
body[].age_max_year |
Integer |
Maximum participant age (year) of the program. |
body[].age_max_month |
Integer |
Maximum participant age (month) of the program. |
body[].age_max_week |
Integer |
Maximum participant age (week) of the program. |
body[].age_min_year |
int |
Minimum participant age (year) of the program. |
body[].age_min_month |
int |
Minimum participant age (month) of the program. |
body[].age_min_week |
int |
Minimum participant age (week) of the program. |
body[].show_on_member_app |
String |
Whether the program displayed on the ACTIVE Net Captivate App: 'Y' or 'N'. |
body[].category_id |
int |
Category ID of the category to which the program belongs. |
GetFlexRegProgramDetail
Returns program detail information for a specific Flex Registration program.
Request
Request Example
GET /flexregprograms/1 HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: api.amp.active.com:8080
Request Headers
This API does not support pagination or sorting. In the request header, page_info is not required.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Path Parameters
/flexregprograms/{program_id}
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
program_id |
int |
Mandatory |
The program ID of the program. |
Response
Records
This API will retrieve one record per API call.
One record will contain all Flex Registration program information for the specified Flex Registration program ID.
To retrieve information of another Flex Registration program, repeat the API call with its Flex Registration program ID.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 3982
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"program_name" : "program_1",
"program_number" : "1234",
"program_id" : 1,
"updated_date" : "2025-10-16 00:39:43",
"program_type" : "mock programType data",
"parent_season" : "mock parentSeason data",
"child_season" : "mock childSeason data",
"program_status" : "Open",
"program_department" : "mock department data",
"category" : "mock category data",
"sub_category" : "mock otherCategory data",
"supervisor" : "Test Supervisor",
"catalog_description" : "mock description data",
"reservation_unit" : "mock reservationUnit data",
"tax_receipt_eligibility" : true,
"site_name" : "mock siteName data",
"site_id" : 1,
"show_on_member_app" : "mock showOnMemberApp data",
"gender" : "mock gender data",
"age_min_year" : 1,
"age_min_month" : 1,
"age_min_week" : 1,
"age_max_year" : 1,
"age_max_month" : 1,
"age_max_week" : 1,
"min_grade" : "mock minGrade data",
"max_grade" : "mock maxGrade data",
"age_calc_date" : "2025-10-16 00:39:43",
"number_of_enrollments" : 1,
"open_spaces" : "100",
"start_date" : "2025-10-16 00:39:43",
"end_date" : "2025-10-16 00:39:43",
"first_date_in_person" : "2025-10-16 00:39:43",
"first_date_in_person_non_residents" : "2025-10-16 00:39:43",
"first_date_in_person_members" : "2025-10-16 00:39:43",
"last_date_in_person" : "2025-10-16 00:39:43",
"first_date_display_on_internet" : "2025-10-16 00:39:43",
"first_date_on_internet" : "2025-10-16 00:39:43",
"first_date_on_internet_non_residents" : "2025-10-16 00:39:43",
"first_date_on_internet_members" : "2025-10-16 00:39:43",
"last_date_on_internet" : "2025-10-16 00:39:43",
"allow_waiting_list" : true,
"bypass_date_range" : true,
"allow_individual_session_selection" : true,
"allow_hour_edit" : true,
"use_pass_or_fail" : true,
"show_price_info_online" : true,
"show_scholarship_online" : true,
"allow_block_booking" : true,
"require_block_booking" : true,
"hide_on_internet" : true,
"allow_authorized_pickups" : true,
"online_booking_advance_hours" : 1,
"online_booking_changes_advance_hours" : 1,
"asset_id" : "d9333bc0-b87",
"public_url" : "http://www.activenetwork.com",
"place" : {
"name" : "mock name data",
"address1" : "mock address1 data",
"address2" : "mock address2 data",
"city" : "mock city data",
"state" : "mock state data",
"zip" : "12345",
"country" : "mock country data"
},
"organization" : {
"guid" : "1d041bb5-b",
"name" : "mock name data",
"url" : "http://www.activenetwork.com",
"address1" : "mock address1 data",
"address2" : "mock address2 data",
"city" : "mock city data",
"state" : "mock state data",
"zip" : "12345",
"fax" : "mock fax data",
"email" : "test@mock.com",
"phone" : "123456"
},
"prerequisites_membership" : [ {
"prerequisite_id" : 0,
"group_number" : 0,
"package_id" : 0,
"package_name" : null
} ],
"sessions" : [ {
"session_id" : 1,
"session_name" : "mock sessionName data",
"session_description" : "mock description data",
"facility_name" : "mock facilityName data",
"facility_id" : 1,
"center_name" : "mock centerName data",
"center_id" : 1,
"min_enrollment" : 1,
"max_enrollment" : 1,
"number_of_enrollment" : 1,
"first_date" : "2025-10-16 00:39:43",
"last_date" : "2025-10-16 00:39:43",
"week_of_month" : "mock weeksOfMonth data",
"days_of_week" : "mock weekDays data",
"beginning_time" : "2025-10-16 00:39:43",
"ending_time" : "2025-10-16 00:39:43"
} ]
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].program_name |
String |
The name of the program. |
body[].program_number |
String |
The number of the program. |
body[].program_id |
int |
The program ID of the program. |
body[].updated_date |
Date |
The date of the last update to the program. |
body[].program_type |
String |
The program type of the program. |
body[].parent_season |
String |
The parent season of the program. |
body[].child_season |
String |
The child season of the program. |
body[].program_status |
String |
The status of the program. |
body[].program_department |
String |
The department of the program. |
body[].category |
String |
The category of the program. |
body[].sub_category |
String |
The other category of the program. |
body[].supervisor |
String |
The program supervisor. |
body[].catalog_description |
String |
The catalog description of the program. |
body[].reservation_unit |
String |
The reservation unit of the program. |
body[].tax_receipt_eligibility |
boolean |
The tax receipt eligibility of the program. |
body[].site_name |
String |
The site of the program. |
body[].site_id |
int |
The site ID of the program. |
body[].show_on_member_app |
String |
Whether the program is displayed on the ACTIVE Net Captivate app. |
body[].gender |
String |
Genders eligible for program registration. |
body[].age_max_year |
int |
Minimum participant age (year) of the program. |
body[].age_max_month |
int |
Maximum participant age (month) of the program. |
body[].age_max_week |
int |
Maximum participant age (week) of the program. |
body[].age_min_year |
int |
Minimum participant age (year) of the program. |
body[].age_min_month |
int |
Minimum participant age (month) of the program. |
body[].age_min_week |
int |
Minimum participant age (week) of the program. |
body[].min_grade |
String |
Minimum participant grade of the program. |
body[].max_grade |
String |
Maximum participant grade of the program. |
body[].age_calc_date |
Date |
The start date for calculating participant age. |
body[].number_of_enrollments |
int |
The number of enrollments in the program. |
body[].open_spaces |
String |
The number of openings in the program. |
body[].start_date |
Date |
The start date and time of the program. This is the earliest date and time of all sessions attached to the program. |
body[].end_date |
Date |
The end date and time of the program. This is the latest date and time of all sessions attached to the program. |
body[].first_date_in_person |
Date |
The first available registration date/time for in-person registration. |
body[].first_date_in_person_non_residents |
Date |
The first available registration date/time for in-person registration for non-residents. |
body[].first_date_in_person_members |
Date |
The first available registration date/time for in-person registration for members. |
body[].last_date_in_person |
Date |
The last available registration date/time for in-person registration. |
body[].first_date_on_internet |
Date |
The first available registration date/time for online registrations. |
body[].first_date_on_internet_non_residents |
Date |
The first available registration date/time for online registrations for non-residents. |
body[].first_date_on_internet_members |
Date |
The last available registration date/time for members. |
body[].last_date_on_internet |
Date |
The last available registration date/time for online registration. |
body[].allow_waiting_list |
boolean |
Allow waiting list flag. |
body[].bypass_date_range |
boolean |
Bypass date range flag. |
body[].allow_individual_session_selection |
boolean |
Allow individual session selection flag. |
body[].allow_hour_edit |
boolean |
Allow hour edit flag. |
body[].use_pass_or_fail |
boolean |
Use pass or fail flag. |
body[].show_price_info_online |
boolean |
Show system generated price information online flag. |
body[].show_scholarship_online |
boolean |
Show scholarship online flag. |
body[].allow_block_booking |
boolean |
Allow block booking flag. |
body[].require_block_booking |
boolean |
Require block booking flag. |
body[].hide_on_internet |
boolean |
Hide on internet flag. |
body[].allow_authorized_pickups |
boolean |
Allow choosing authorized pickups during enrolment flag. |
body[].online_booking_advance_hours |
int |
New online bookings must be made at least this number of hours in advance. |
body[].asset_id |
String |
Asset ID of the Program. |
body[].public_url |
String |
The public URL in the CUI where customers can register for the progam. |
body[].sessions |
Array |
The program’s sessions. |
body[].sessions[].session_id |
int |
The id of the session which has this facility associated. |
body[].sessions[].session_name |
String |
The name of the session which has this facility associated. |
body[].sessions[].session_description |
String |
The description of the session. |
body[].sessions[].facility_name |
String |
Name of the facility associated with the session. |
body[].sessions[].facility_id |
int |
ID of the facility associated with the session. |
body[].sessions[].center_name |
String |
Center name of the facility associated with the session. |
body[].sessions[].center_id |
int |
Center ID of the facility associated with the session. |
body[].sessions[].min_enrollment |
int |
Minimum enrollment for the session. |
body[].sessions[].max_enrollment |
int |
Maximum enrollment for the session. |
body[].sessions[].number_of_enrollment |
int |
Number of enrollments in the session. |
body[].sessions[].first_date |
Date |
First date of the session. |
body[].sessions[].last_date |
Date |
Last date of the session. |
body[].sessions[].week_of_month |
String |
Week of the month for the session. |
body[].sessions[].days_of_week |
String |
Days of the week for the session. |
body[].sessions[].beginning_time |
Date |
Beginning time of the session. |
body[].sessions[].ending_time |
Date |
Ending time of the session. |
body[].place |
Object |
The program’s place information. |
body[].place.name |
String |
The name of the center/site. |
body[].place.address1 |
String |
The Address line 1 of the center/site. |
body[].place.address2 |
String |
The address line 2 of the center/site. |
body[].place.city |
String |
The city name of the center/site. |
body[].place.state |
String |
The state for the center/site. |
body[].place.zip |
String |
The zip code of the center/site. |
body[].place.country |
String |
The country of the center/site. |
body[].organization |
Object |
The program’s organization information. |
body[].organization.guid |
String |
Organization GUID. |
body[].organization.name |
String |
Organization name. |
body[].organization.url |
String |
Organization’s website. |
body[].organization.address1 |
String |
Address 1 of the organization. |
body[].organization.address2 |
String |
Address 2 of the organization. |
body[].organization.city |
String |
The city of the organization. |
body[].organization.state |
String |
The state for the organization. |
body[].organization.zip |
String |
The zip of the organization. |
body[].organization.fax |
String |
The fax of the organization. |
body[].organization.email |
String |
The email of the organization. |
body[].organization.phone |
String |
The phone of the organization. |
body[].prerequisites_membership |
Array |
The programs current membership in settings in prerequisites. |
body[].prerequisites_membership[].prerequisite_id |
int |
The id of current prerequisite. |
body[].prerequisites_membership[].group_number |
int |
The group id of the current membership. |
body[].prerequisites_membership[].package_id |
int |
The package id of the current membership. |
body[].prerequisites_membership[].package_name |
String |
The package name of current membership. |
body[].online_booking_changes_advance_hours |
int |
Online booking changes/cancellations must be made at least this number of hours in advance. |
body[].first_date_display_on_internet |
Date |
The first date/time on which this program is displayed online. |
GetFlexRegProgramFees
Returns program fee information for a specific Flex Registration program.
Request
Request Example
GET /flexregprograms/5/fees HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: api.amp.active.com:8080
Request Headers
This API does not support pagination or sorting. In the request header, page_info is not required.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Path Parameters
/flexregprograms/{program_id}/fees
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
program_id |
int |
Mandatory |
The program ID of the program. |
Response
Records
This API will retrieve one record per API call.
One record will contain all Flex Registration program fee information for the specified Flex Registration program ID.
To retrieve fee information of another Flex Registration program, repeat the API call with its Flex Registration program ID.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1537
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"normal_charges" : [ {
"charge_name" : "mock chargeName data",
"charge_type" : "mock chargeType data",
"unit_of_measure" : "mock unitOfMeasure data",
"discount_order" : 1234,
"prefill_condition" : "mock prefillCondition data",
"default_amount" : 1234,
"default_percentage" : 1234,
"customer_type" : "mock customerType data",
"description" : "mock description data",
"qualified_session_id" : 1234,
"qualified_session_name" : "mock qualifiedDcSssionName data",
"per_week_qualification_min" : 1234,
"per_week_qualification_max" : 1234,
"glaccounts" : [ {
"gl_account_name" : "mock glaccount name",
"gl_account_number" : "7283 TX-9"
} ],
"scheduled_fees" : [ {
"effective_date" : "2025-10-16 00:39:44",
"charge_amount" : 1
} ],
"activation_date" : "2025-10-16 00:39:44",
"expiration_date" : "2025-10-16 00:39:44",
"discountable" : true
} ],
"global_discounts" : [ {
"global_discount_name" : "mock globalDiscountName data",
"global_discount_order" : 1,
"global_discount_group_number" : 1,
"global_discount_amount" : 1234,
"global_discount_percent" : 1234,
"global_discount_retired" : true
} ],
"starting_price_per_day" : 1234,
"configure_fee" : 10,
"program_id" : 1234
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].normal_charges[] |
Object[] |
The program fee list |
body[].normal_charges[].charge_name |
String |
The charge name of the program fee/discount/scholarship. |
body[].normal_charges[].charge_type |
String |
The charge type of the program fee/discount/scholarship. |
body[].normal_charges[].unit_of_measure |
String |
The unit of measure of the program fee/discount/scholarship. |
body[].normal_charges[].discount_order |
Integer |
The order in which a discount will be applied. |
body[].normal_charges[].prefill_condition |
String |
The prefill condition for the program fee/discount/scholarship. |
body[].normal_charges[].default_amount |
Bigdecimal |
The amount of the program fee/discount/scholarship. |
body[].normal_charges[].default_percentage |
Bigdecimal |
The percentage of the program fee/discount/scholarship. |
body[].normal_charges[].customer_type |
String |
The customer type that qualifies for the program fee/discount/scholarship. |
body[].normal_charges[].description |
String |
The description of the program fee/discount/scholarship. |
body[].normal_charges[].qualified_session_id |
Integer |
The ID of the session qualifying for this charge. |
body[].normal_charges[].qualified_session_name |
String |
The name of the session qualifying for this charge. |
body[].normal_charges[].per_week_qualification_min |
Integer |
The minimum days required per week to qualify for this charge. |
body[].normal_charges[].per_week_qualification_max |
Integer |
The maximum days required per week to qualify for this charge. |
body[].normal_charges[].glaccounts[] |
Object[] |
The G/L account information of the program fee/discount/scholarship. |
body[].normal_charges[].glaccounts[].gl_account_name |
String |
G/L account name. |
body[].normal_charges[].glaccounts[].gl_account_number |
String |
G/L account number. |
body[].normal_charges[].scheduled_fees[] |
Object[] |
The scheduled fee change configured for the program fee/discount/scholarship. |
body[].normal_charges[].scheduled_fees[].effective_date |
Date |
Effective date of the scheduled fee change. |
body[].normal_charges[].scheduled_fees[].charge_amount |
Bigdecimal |
Charge amount of the schedule fee change. |
body[].normal_charges[].activation_date |
Date |
The activation date of the program fee/discount/scholarship. |
body[].normal_charges[].expiration_date |
Date |
The expiration date of the program fee/discount/scholarship. |
body[].normal_charges[].discountable |
boolean |
Yes if the current charge is of the Fee type and can be discounted. |
body[].global_discounts[] |
Object[] |
The program global discount list. |
body[].global_discounts[].global_discount_name |
String |
The name of the applicable global discount. |
body[].global_discounts[].global_discount_order |
int |
The order of the applicable global discount. |
body[].global_discounts[].global_discount_group_number |
int |
The group number of the applicable global discount. |
body[].global_discounts[].global_discount_amount |
Bigdecimal |
The amount of the applicable global discount (fixed discount). |
body[].global_discounts[].global_discount_percent |
Bigdecimal |
The percentage of the applicable global discount (percentage discount). |
body[].global_discounts[].global_discount_retired |
boolean |
Global discount retired flag. |
body[].starting_price_per_day |
BigDecimal |
The calculated starting price per day. |
body[].configure_fee |
Bigdecimal |
The configure fee of the program. |
GetFlexRegProgramTypes
Returns a list of Flex Registration program types for your organization (by program_type_name in ascending order).
Request
Request Example
GET /flexregprogramtypes HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: api.amp.active.com:8080
Request Headers
This API does not support pagination or sorting. In the request header, page_info is not required.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Parameters
None
Response
Records
This API will retrieve multiple records per API call.
Each record will contain all information of a single Flex Registration program type. All Flex Registration program types are returned in a single API response.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 358
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"program_type_id" : 1,
"program_type_name" : "program type - 1"
}, {
"program_type_id" : 2,
"program_type_name" : "program type - 2"
}, {
"program_type_id" : 3,
"program_type_name" : "program type - 3"
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].program_type_id |
int |
The ID of the program type. |
body[].program_type_name |
String |
The name of the program type. |
GetFacilityTypes
Returns a list of facility types for your organization (by description in ascending order).
Request
Request Example
GET /facilitytypes HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: api.amp.active.com:8080
Request Headers
This API does not support pagination or sorting. In the request header, page_info is not required.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Parameters
None
Response
Records
This API will retrieve multiple records per API call.
Each record will contain all information of a single facility type. All facility types are returned in a single API response.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 254
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"description" : "facility type1",
"prevent_further_use" : true,
"hide_on_internet" : true,
"facility_type_id" : 1
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].description |
String |
Description of the facility type. |
body[].facility_type_id |
int |
The ID of the facility type. |
body[].prevent_further_use |
boolean |
Prevent future use flag. |
body[].hide_on_internet |
boolean |
The 'Hide on internet' flag of the facility type. |
GetScheduleTypes
Returns a list of schedule types of your organization (by schedule_type_id in ascending order).
Request
Request Example
GET /scheduletypes HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: api.amp.active.com:8080
Request Headers
This API does not support pagination or sorting. In the request header, page_info is not required.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Parameters
None
Response
Records
This API will retrieve multiple records per API call.
Each record will contain all information of a single schedule type. All schedule types are returned in a single API response.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 648
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"schedule_type_id" : 1,
"description" : "Internal Reservation",
"site_id" : 1,
"site_name" : "Site - 1",
"type_code" : null,
"booking_assignment" : null,
"apply_reservation_charge" : false,
"auto_complete_if_no_charge" : false,
"hide_notes_section" : false,
"hide_disclaimer_section" : false,
"hide_checklist_section" : false,
"hide_approval_stages_section" : false,
"hide_custom_questions_section" : false,
"default_customer" : "None (prompt for customer)"
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].schedule_type_id |
int |
The ID of the schedule type. |
body[].description |
String |
The description of the schedule type. |
body[].site_id |
int |
The ID of the site assigned to the schedule type. |
body[].site_name |
String |
The name of the site assigned to the schedule type. |
body[].type_code |
String |
The type code of the schedule type. |
body[].booking_assignment |
String |
The booking assignment of the schedule type. |
body[].apply_reservation_charge |
boolean |
The 'Apply reservation charges' flag of the schedule type. |
body[].auto_complete_if_no_charge |
boolean |
The 'Auto complete receipt if no charges' flag of the schedule type. |
body[].hide_notes_section |
boolean |
The 'Hide Notes section' flag of the schedule type. |
body[].hide_disclaimer_section |
boolean |
The 'Hide Disclaimers section' flag of the schedule type. |
body[].hide_checklist_section |
boolean |
The 'Hide Checklist Items section' flag of the schedule type. |
body[].hide_approval_stages_section |
boolean |
The 'Hide Approval Stages section' flag of the schedule type. |
body[].hide_custom_questions_section |
boolean |
The 'Hide Custom Questions section' flag of the schedule type. |
body[].default_customer |
String |
The default customer setting of the schedule type. |
GetFacilityDetail
Returns facility detail information for the specified facility by using facility_id.
Request
Request Example
GET /facilities/189 HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: api.amp.active.com:8080
Request Headers
This API does not support pagination or sorting. In the request header, page_info is not required.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Parameters
/facilities/{facility_id}
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
facility_id |
int |
Mandatory |
The ID of the facility. |
Response
Records
This API will retrieve one record per API call.
One record will contain all facility detail information for the specified facility ID.
To retrieve detail information of another facility, repeat the API call with its facility ID.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 3065
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"facility_id" : 189,
"facility_number" : "1234",
"facility_name" : "facility name",
"prevent_further_use" : false,
"description" : "Description",
"facility_type" : "Basketball Court",
"center_name" : "Center",
"center_id" : 3,
"address1" : "Address1",
"address2" : "Address2",
"city" : "City",
"state" : "AK",
"zip_code" : "1234567",
"latitude" : "30.215",
"longitude" : "65.2376",
"default_minimum_capacity" : 20,
"default_maximum_capacity" : 50,
"event_capacities" : [ {
"event_type_id" : 123,
"event_type_description" : "Type description",
"minimum_capacity" : 10,
"maximum_capacity" : 20
} ],
"maximum_attendance_at_one_time" : 20,
"reserve_by" : "Minute",
"start_on" : null,
"minimum_reservation_time" : "30 minute(s)",
"maximum_reservation_time" : "60 minute(s)",
"internet_reservation_type" : 0,
"internet_reservation_process" : 2,
"disclaimer" : "Disclaimers",
"disclaimer_text" : "This is another disclaimer",
"prep_code" : "Basketball Court Setup",
"setup_time" : 30,
"teardown_time" : 30,
"hide_on_internet" : false,
"prohibit_internet_permits" : false,
"exclude_from_league_scheduling" : false,
"max_per_cust_per_day_per_facility" : 5,
"musco_lighting_id" : "musco lighting id",
"sklogix_lighting_id" : "sklogix lighting id",
"facility_notes" : "Notes",
"aui_reservation_min_limit" : "0 Hour(s)",
"aui_reservation_max_limit" : "0 Hour(s)",
"cui_reservation_min_limit" : "1 Day(s)",
"cui_reservation_min_limit_nonresident" : "2 Day(s)",
"cui_reservation_max_limit" : "3 Day(s)",
"cui_reservation_max_limit_nonresident" : "4 Day(s)",
"online_reservation_open_time" : "00:40:55",
"amenities" : "Amenity1,Amenity2",
"checkin_time" : "00:40:55",
"checkout_time" : "00:40:55",
"facility_extra_details" : [ {
"extra_detail_description" : "Extra Detail Description",
"detail_name" : "Detail name",
"data_url" : "www.google.com"
} ],
"facility_rental_blocks" : [ {
"block_description" : "Block Description",
"block_start_time" : "00:40:55",
"block_end_time" : "00:40:55"
} ],
"facility_date_ranges" : [ {
"date_range_description" : "Date RangeDescription",
"date_range_start_date" : "00:40:55",
"date_range_end_date" : "00:40:55"
} ],
"facility_users" : "User1,User2",
"facility_final_approvers" : "Approver1,Approver2",
"display_on_map" : true,
"sub_facilities" : [ {
"facility_id" : 198,
"facility_name" : "Sub Facility"
} ],
"entry_points" : [ {
"entry_point_id" : 852,
"entry_point_name" : "Point Name"
} ],
"dressing_rooms" : [ {
"dressing_room_id" : 1,
"dressing_room_name" : "RoomA"
} ]
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].facility_id |
int |
The ID of the facility. |
body[].facility_number |
String |
The 10-character number or abbreviation of the facility. |
body[].facility_name |
String |
The name of the facility. |
body[].prevent_further_use |
boolean |
The 'Prevent further use' flag |
body[].description |
String |
Description of the facility. |
body[].facility_type |
String |
Description of the facility type. |
body[].center_name |
String |
Name of the center where the facility is located. |
body[].center_id |
int |
ID of the center where the facility is located. |
body[].address1 |
String |
The address line1 of the facility/Center. |
body[].address2 |
String |
The address line2 of the facility/Center. |
body[].city |
String |
City of the facility/Center. |
body[].state |
String |
State or province of the facility’s/center’s address. |
body[].zip_code |
String |
Zip or postal code of the facility’s/center’s address. |
body[].latitude |
String |
The latitude of the facility’s/center’s address. |
body[].longitude |
String |
The longitude of the facility’s/center’s address. |
body[].default_minimum_capacity |
int |
The minimum attendance required to reserve this facility. |
body[].default_maximum_capacity |
int |
The maximum attendance allowed to reserve this facility. |
body[].event_capacities |
Array |
The minimum/maximum capacities of the event type. |
body[].event_capacities[].event_type_id |
int |
The ID of the event type. |
body[].event_capacities[].event_type_description |
String |
Description of the event type. |
body[].event_capacities[].minimum_capacity |
int |
The minimum capacity of the event type. |
body[].event_capacities[].maximum_capacity |
int |
The maximum capacity of the event type. |
body[].maximum_attendance_at_one_time |
int |
The maximum attendance for quantity-based reservations. |
body[].reserve_by |
String |
Reservation time increment description. |
body[].start_on |
String |
The day of the week on which weekly reservations start. Only applicable when the facility is reserved by week. |
body[].minimum_reservation_time |
String |
The minimum time required for a reservation. A blank space separates the time and unit. |
body[].maximum_reservation_time |
String |
The maximum time required for a reservation. A blank space separates the time and unit. |
body[].internet_reservation_type |
int |
The reservation type determines how the blocks of time are reserved for a permit. 0- Regular Reservation (Individual days are booked as separate time blocks in the permit.); 1- Continuous Reservation (Individual days are booked as a continuous time block in the permit with a single check-in and check-out time). |
body[].internet_reservation_process |
int |
The facility reservation process for the public site: 1- Reservation Request (Customers can only request to reserve a facility on the customer site. Staff users contact the user to finalize the permit and accept payment.); 2-Permit (A permit is created immediately and payment is made when reserving a facility). |
body[].disclaimer |
String |
Description of the default disclaimer used by this facility. |
body[].disclaimer_text |
String |
Description text of the default disclaimer used by this facility. |
body[].prep_code |
String |
The preparation code of the facility. |
body[].setup_time |
int |
The default setup time of the facility. (unit: minutes). |
body[].teardown_time |
int |
The default teardown time of the facility. (unit: minutes). |
body[].hide_on_internet |
boolean |
Whether this facility is hidden in the CUI/public site. |
body[].prohibit_internet_permits |
boolean |
Whether reservations from the CUI/public site are allowed. |
body[].exclude_from_league_scheduling |
boolean |
Whether this facility is excluded from league facility scheduling. |
body[].max_per_cust_per_day_per_facility |
int |
The maximum number of reservations per day for this facility per customer. |
body[].musco_lighting_id |
String |
Musco lighting system lighting ID. |
body[].sklogix_lighting_id |
String |
SkyLogix lighting system lighting ID. |
body[].facility_notes |
String |
Notes of the facility. |
body[].aui_reservation_min_limit |
String |
In the AUI, users must reserve this facility no later than this number of days/hours in advance. |
body[].aui_reservation_max_limit |
String |
In the AUI, users must reserve this facility no earlier than this number of days/hours in advance. |
body[].cui_reservation_min_limit |
String |
In the CUI/public site, customers must reserve this facility no later than this number of days/hours in advance. |
body[].cui_reservation_min_limit_nonresident |
String |
In the CUI/public site, non-resident customers must reserve this facility no later than this number of days/hours in advance. |
body[].cui_reservation_max_limit |
String |
In the CUI/public site, customers can reserve this facility no earlier than this number of days/hours in advance. |
body[].cui_reservation_min_limit_nonresident |
String |
In the CUI/public site, non-resident customers must reserve this facility no earlier than this number of days/hours in advance. |
body[].online_reservation_open_time |
Time |
The first date the facility is open to online reservations. |
body[].amenities |
String |
Amenities associated with the facility. |
body[].checkin_time |
Time |
Default check-in time. |
body[].checkout_time |
Time |
Default checkout time. |
body[].facility_extra_details |
Array |
Extra details of the facility. |
body[].facility_extra_details[].extra_detail_description |
String |
Description of the extra detail. |
body[].facility_extra_details[].detail_name |
String |
The name of the extra detail. |
body[].facility_extra_details[].data_url |
String |
URL of the page that is displayed when online customers click the Description hyperlink on the customer site. |
body[].facility_rental_blocks |
Array |
Rental blocks of this facility. |
body[].facility_rental_blocks[].block_description |
String |
Description of the rental block. |
body[].facility_rental_blocks[].block_start_time |
Time |
The start time of the rental block. |
body[].facility_rental_blocks[].block_end_time |
Time |
The end time of the rental block. |
body[].facility_date_ranges |
Array |
Date ranges of this facility. |
body[].facility_date_ranges[].date_range_description |
String |
Description of the date range. |
body[].facility_date_ranges[].date_range_start_date |
Date |
The start date of the date range. |
body[].facility_date_ranges[].date_range_end_date |
Date |
The end date of the date range. |
body[].facility_users |
String |
System users who can reserve the. Commas separate multiple users. |
body[].facility_final_approvers |
String |
System users who are the final approvers for the facility. Commas separate multiple approvers. |
body[].display_on_map |
boolean |
Whether the facility is displayed on the map. |
body[].sub_facilities |
Array |
The facility sub-facilities. |
body[].sub_facilities[].facility_id |
int |
The ID of the sub-facility. |
body[].sub_facilities[].facility_name |
String |
The name of the sub-facility. |
body[].entry_points |
Array |
Entry points associated with the facility. |
body[].entry_points[].entry_point_id |
int |
The ID of the entry point. |
body[].entry_points[].entry_point_name |
String |
The name of the entry point. |
body[].dressing_rooms |
Array |
Dressing rooms associated with the facility. |
body[].dressing_rooms[].dressing_room_id |
int |
The ID of the dressing room. |
body[].dressing_rooms[].dressing_room_name |
String |
The name of dressing room. |
GetFacilities
Returns a list of facilities for your request parameters (by facility_id in ascending order if it is not specified).
Request
Request Example
GET /facilities?facility_id=1&modified_date_from=2011-05-20+00%3A00&modified_date_to=2017-05-20+23%3A59&facility_name=name&facility_number=1234&facility_type_id=1&prevent_further_use=true¢er_ids=30%2C26%2C53&site_ids=15%2C26%2C37&amenity_id=1111111&prep_code_id=0&reserve_by=0&show_on_member_app=Y HTTP/1.1
Content-Type: application/json
Accept: application/json
page_info: {"order_by":"facility_name", "page_number":2, "total_records_per_page":50, "order_option":"ASC"}
Host: api.amp.active.com:8080
Request Headers
This API supports pagination and sorting. For a list of supported sorting options, refer to the end of the Request Parameters section.
For more information about common header parameters, refer to Common header parameters.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
|
In the HTTP request header, you can include page_info and specify required pagination or sorting parameters. Note that for this API, you can specify a number up to 500 for the total_records_per_page parameter. |
Request Parameters
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
facility_id |
int |
Optional |
The ID of the facility. The facilities whose ID fully match the specified ID are returned. |
modified_date_from |
YYYY-MM-DD HH:MM |
Optional |
Facilities whose latest update is on or after the specified date and time are returned (HH:MM is optional). |
modified_date_to |
YYYY-MM-DD HH:MM |
Optional |
Facilities whose latest update is on or before the specified date and time are returned (HH:MM is optional). |
facility_name |
String |
Optional |
Facility name. All facilities whose names fully or partially match the specified name are returned. |
facility_number |
String |
Optional |
The number of the facility. All facilities whose facility numbers fully or partially match the specified facility number are returned. |
facility_type_id |
int |
Optional |
The ID of the facility type. |
prevent_further_use |
boolean |
Optional |
The 'Prevent further use' flag of the facility. |
center_ids |
String |
Optional |
The center ID of the facility. You can specify up to 5 centers, with each center separated by a comma. |
site_ids |
String |
Optional |
The site ID of the facility’s center. You can specify up to 5 sites, with each site separated by a comma. |
amenity_id |
int |
Optional |
The ID of the amenity which is associated with the facility. |
prep_code_id |
int |
Optional |
The ID of the prep code which is associated with the facility. |
reserve_by |
int |
Optional |
Reservation time increment: 1-minute; 2-hour; 3-day; 4-week; 5-month; 6-defined date range; 7-rental block; 8-overnight. |
show_on_member_app |
String |
Optional |
Filter for facilities by their 'Show On ACTIVE Net Captivate' flag: 'Y' or 'N'. |
You can sort the results by one of the following parameters
| Parameter | Description |
|---|---|
facility_name |
The name of the facility. Order option: ascending or descending. |
facility_number |
The number of the facility. Order option: ascending or descending. |
Response
Records
This API will retrieve multiple records per API call depending on the specified request parameters.
One record will contain all information of a matching facility.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 2360
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"facility_id" : 189,
"modified_date_time" : "2025-10-16 00:40:57",
"facility_number" : "1234",
"facility_name" : "facility name",
"prevent_further_use" : false,
"description" : "Description",
"facility_type" : "Basketball Court",
"center_name" : "Center",
"center_id" : 3,
"default_minimum_capacity" : 20,
"default_maximum_capacity" : 50,
"reserve_by" : "Minute",
"start_on" : null,
"disclaimer" : "Disclaimers",
"prep_code" : "Basketball Court Setup",
"setup_time" : 30,
"teardown_time" : 30,
"hide_on_internet" : false,
"amenities" : "Amenity1,Amenity2",
"capacity_track_current_in" : 0,
"capacity_track_maximum" : 0,
"show_on_member_app" : "N",
"member_app_image" : "1",
"open_blocks" : [ {
"date" : "2025-10-16",
"time_block_on_date" : "12:10 AM - 12:30 AM"
} ],
"calculated_open_pattern" : [ {
"date_range" : "From 2019 to 2019, Oct 1 to Oct 20",
"days_of_week" : "Sun,Mon,Tue",
"opening_times" : "8:00 AM - 10:00 AM,11:00 AM - 3:00 PM"
} ]
}, {
"facility_id" : 189,
"modified_date_time" : "2025-10-16 00:40:57",
"facility_number" : "1234",
"facility_name" : "facility name",
"prevent_further_use" : false,
"description" : "Description",
"facility_type" : "Basketball Court",
"center_name" : "Center",
"center_id" : 3,
"default_minimum_capacity" : 20,
"default_maximum_capacity" : 50,
"reserve_by" : "Minute",
"start_on" : null,
"disclaimer" : "Disclaimers",
"prep_code" : "Basketball Court Setup",
"setup_time" : 30,
"teardown_time" : 30,
"hide_on_internet" : false,
"amenities" : "Amenity1,Amenity2",
"capacity_track_current_in" : 0,
"capacity_track_maximum" : 0,
"show_on_member_app" : "N",
"member_app_image" : "1",
"open_blocks" : [ {
"date" : "2025-10-16",
"time_block_on_date" : "12:10 AM - 12:30 AM"
} ],
"calculated_open_pattern" : [ {
"date_range" : "From 2019 to 2019, Oct 1 to Oct 20",
"days_of_week" : "Sun,Mon,Tue",
"opening_times" : "8:00 AM - 10:00 AM,11:00 AM - 3:00 PM"
} ]
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].facility_id |
int |
The ID of the facility. |
body[].modified_date_time |
datetime |
The last date and time when the facility was modified. |
body[].facility_number |
String |
The number of the facility. |
body[].facility_name |
String |
The name of the facility. |
body[].prevent_further_use |
boolean |
The 'Prevent further use' flag. |
body[].description |
String |
Description of the facility. |
body[].facility_type |
String |
The description of the facility’s type. |
body[].center_name |
String |
The name of the center where the facility is located. |
body[].center_id |
int |
The ID of the center where the facility is located. |
body[].default_minimum_capacity |
int |
The default minimum attendance required to reserve this facility. |
body[].default_maximum_capacity |
int |
The default maximum attendance allowed to reserve this facility. |
body[].reserve_by |
String |
Reservation time increment description. |
body[].start_on |
String |
The day of the week on which weekly reservations start. Only applicable when the facility is reserved by week. |
body[].disclaimer |
String |
The default disclaimer used by this facility. |
body[].prep_code |
String |
The prep code of the facility. |
body[].setup_time |
int |
The default setup time of the facility (unit: minutes). |
body[].teardown_time |
int |
The default teardown time of the facility (unit: minutes). |
body[].hide_on_internet |
boolean |
Hide on Internet flag. |
body[].amenities |
String |
Description of amenities associated with the facility. Commas separate multiple amenities associated with this facility. |
body[].capacity_track_current_in |
int |
The total number of people currently in the facility. |
body[].capacity_track_maximum |
int |
The configured Maximum Capacity of entry points associated with the facility. |
body[].show_on_member_app |
String |
Whether the facility is displayed on the ACTIVE Net Captivate app. |
body[].member_app_image |
String |
The URL of the image which is displayed on the Member Experience App > facility detail page. |
body[].open_blocks |
Array |
Open blocks in the next 30 days. |
body[].open_blocks[].date |
date |
Date on which the facility has an open block. |
body[].open_blocks[].time_block_on_date |
String |
Time durations for an open block. Format: start time - end time; multiple time durations are separated by commas. If the date has no open blocks, then this field is blank. |
body[].calculated_open_pattern |
Array |
Open pattern information. |
body[].calculated_open_pattern[].date_range |
String |
Open during this date range. |
body[].calculated_open_pattern[].days_of_week |
String |
Open on these days of week. |
body[].calculated_open_pattern[].opening_times |
String |
Open time block information, multiple time blocks are separated by commas. |
GetEquipment
Returns a list of equipment items for the specified request parameters (by equipment_id in ascending order by default).
Request
Request Example
GET /equipment?equipment_id=1&modified_date_from=2011-05-20+00%3A00&modified_date_to=2017-05-20+23%3A59&open_block_date_from=2017-05-20¢er_ids=30%2C26%2C53&bookable_or_lendable=0&show_on_member_app=Y HTTP/1.1
Content-Type: application/json
Accept: application/json
page_info: {"order_by":"facility_id", "page_number":2, "total_records_per_page":50, "order_option":"ASC"}
Host: api.amp.active.com:8080
Request Headers
This API supports pagination, but does not support sorting. In the request header, page_info is optional.
For more information about common header parameters, refer to Common header parameters.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
|
In the HTTP request header, you can include page_info and specify required pagination or sorting parameters. Note that for this API, you can specify a number up to 500 for the total_records_per_page parameter. |
Request Parameters
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
equipment_id |
int |
Optional |
The ID of the equipment item. At least one of the following parameters must be provided: 'equipment_id', 'center_ids', 'modified_date_from' and 'modified_date_to'. |
center_ids |
String |
Optional |
Center IDs. You can specify up to 5 center IDs, with each center ID separated by a comma. |
bookable_or_lendable |
int |
Optional |
Filter for equipment by their Bookable or Lendable property: 0-Both; 1-Bookable; 2-Lendable |
modified_date_from |
YYYY-MM-DD HH:MM |
Optional |
Equipments whose latest update is on or after the specified date and time are returned (HH:MM is optional). |
modified_date_to |
YYYY-MM-DD HH:MM |
Optional |
Equipments whose latest update is on or before the specified date and time are returned (HH:MM is optional). |
show_on_member_app |
String |
Optional |
To retrieve equipment items which are displayed in the ACTIVE Net Captivate app, specify 'Y' or 'N' |
open_block_date_from |
YYYY-MM-DD |
Optional |
The begin date for get open block dates. |
Response
Records
This API will retrieve multiple records per API call depending on the specified request parameters.
One record will contain all information of a matching equipment item.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1014
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"equipment_name" : "facility name",
"equipment_id" : 189,
"equipment_number" : "1234",
"equipment_type_id" : 0,
"center_id" : 3,
"status" : 0,
"total_quantity" : 0,
"default_setup" : 30,
"default_cleanup" : 30,
"show_on_member_app" : "N",
"bookable_or_lendable" : "",
"open_blocks" : [ {
"date" : "2025-10-16",
"time_block_on_date" : "12:10 AM - 12:30 AM"
} ]
}, {
"equipment_name" : "facility name",
"equipment_id" : 189,
"equipment_number" : "1234",
"equipment_type_id" : 0,
"center_id" : 3,
"status" : 0,
"total_quantity" : 0,
"default_setup" : 30,
"default_cleanup" : 30,
"show_on_member_app" : "N",
"bookable_or_lendable" : "Lendable",
"open_blocks" : [ {
"date" : "2025-10-16",
"time_block_on_date" : "12:10 AM - 12:30 AM"
} ]
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].equipment_name |
String |
Equipment name |
body[].equipment_id |
int |
ID of the equipment |
body[].equipment_number |
String |
Equipment number |
body[].equipment_type_id |
String |
ID of the equipment type |
body[].center_id |
int |
Center ID of the equipment |
body[].status |
int |
Status of the equipment |
body[].total_quantity |
int |
Total quantity of the equipment item |
body[].default_setup |
int |
The default setup time required for the equipment item. Unit: minutes. |
body[].default_cleanup |
int |
The default cleanup time required for the equipment item. Unit: minutes. |
body[].show_on_member_app |
String |
Whether this equipment item is displayed on the ACTIVE Net Captivate app. |
body[].bookable_or_lendable |
String |
The equipment item is 'Bookable' or 'Lendable'. |
body[].open_blocks |
Array |
Open block information |
body[].open_blocks[].date |
date |
Date on which the equipment item has an open block. |
body[].open_blocks[].time_block_on_date |
String |
Time durations for an open block. Format: start time - end time; multiple time durations are separated by commas. If the date has no open blocks, then this field is blank. |
GetEquipmentTypes
Returns a list of equipment types for your organization (by description in ascending order).
Request
Request Example
GET /equipmenttypes?show_on_member_app=Y HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: api.amp.active.com:8080
Request Headers
This API does not support pagination or sorting. In the request header, page_info is not required.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Parameters
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
show_on_member_app |
String |
Optional |
Filter for equipment items by their 'Show On ACTIVE Net Captivate' flag: 'Y' or 'N' |
Response
Records
This API will retrieve multiple records per API call.
Each record will contain all information of a single equipment type. All equipment types are returned in a single API response.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 297
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"description" : "Equipment type1",
"equipment_type_id" : 1,
"show_on_member_app" : "Y",
"prevent_further_use" : false,
"bookable_lendable" : "Bookable"
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].description |
String |
Description of the equipment type. |
body[].equipment_type_id |
int |
ID of the equipment type. |
body[].show_on_member_app |
String |
If equipment with this equipment type are displayed in the ACTIVE Net Captivate app: Y or N. |
body[].prevent_further_use |
boolean |
Prevent future use flag. |
body[].bookable_lendable |
String |
If equipment with this equipment type are bookable or lendable: 'Bookable' or 'Lendable'. |
GetFacilitySchedules
Returns a list of reservation schedules for the specified facilities during the specified date range (by facility_name in ascending order).
Request
Request Example
GET /facilityschedules?date_from=2025-10-16+00%3A00&date_to=2025-10-16+00%3A00&facility_ids=2548%2C6548 HTTP/1.1
Content-Type: application/json
Accept: application/json
page_info: {"total_records_per_page":50, "page_number":2}
Host: api.amp.active.com:8080
Request Headers
This API supports pagination and sorting. For a list of supported sorting options, refer to the end of the Request Parameters section.
For more information about common header parameters, refer to Common header parameters.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
|
In the HTTP request header, you can include page_info and specify required pagination or sorting parameters. |
Request Parameters
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
date_from |
YYYY-MM-DD HH:MM |
Mandatory |
All facility schedules with start dates on or after this date and time are returned (HH:MM is optional). date_from must be a date in the future. |
date_to |
YYYY-MM-DD HH:MM |
Mandatory |
All facility schedules with end dates on or before this date and time are returned (HH:MM is optional). date_to must be a date later than date_from. |
facility_ids |
String |
Mandatory |
IDs of facilities. You can specify up to 10 facility IDs, with each ID separated by a comma. |
Response
Records
This API will retrieve multiple records per API call depending on the specified request parameters.
One record will contain all information of a matching facility schedule.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1557
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"facility_id" : 2548,
"facility_name" : "facility name",
"facility_type" : "Room",
"facility_type_id" : 35,
"facility_number" : "96548",
"permit_creation_date" : null,
"setup_from_time" : "2025-10-16 00:40:59",
"setup_to_time" : "2025-10-16 02:40:59",
"start_date_time" : "2025-10-16 00:40:59",
"end_date_time" : "2025-10-16 03:40:59",
"tear_down_from_time" : null,
"tear_down_to_time" : null,
"schedule_type" : "Schedule Type",
"event_type" : "Meeting",
"event_type_id" : 3,
"event_description" : null,
"center_name" : "Center name",
"center_id" : 124,
"site_name" : "Site Name",
"site_id" : 55,
"attendance" : 10,
"permit_status" : "Approved",
"permit_number" : 9000360,
"activity_name" : "activity name",
"activity_number" : "9548",
"activity_status" : "Open",
"session_name" : "DC Session",
"league_name" : null,
"customer_type" : "Normal",
"customer_id" : null,
"customer_first_name" : null,
"customer_last_name" : null,
"has_active_membership" : false,
"dressing_rooms" : [ {
"dressing_room_id" : 1,
"dressing_room_name" : "room1",
"dressing_room_occupant" : "ocup1",
"dressing_room_home_or_away_status" : "home"
} ],
"schedule_type_id" : 7,
"company_id" : null,
"company_name" : null,
"company_type" : null
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].facility_id |
int |
The ID of the facility. |
body[].facility_name |
String |
The name of the facility. |
body[].facility_type |
String |
The description of the facility type. |
body[].facility_type_id |
int |
The ID of the facility type. |
body[].facility_number |
String |
The facility number of the facility. |
body[].permit_creation_date |
Datetime |
The date that the permit was created. |
body[].setup_from_time |
Datetime |
The setup start time of the facility schedule. |
body[].setup_to_time |
Datetime |
The setup end time of the facility schedule. |
body[].start_date_time |
Datetime |
The start date and time of the facility schedule. |
body[].end_date_time |
Datetime |
The end date and time of the facility schedule. |
body[].tear_down_from_time |
Datetime |
The tear down start time of the facility schedule. |
body[].tear_down_to_time |
Datetime |
The tear down end time of the facility schedule. |
body[].schedule_type |
String |
The schedule type of the facility schedule. |
body[].event_type |
String |
The description of the event type. Applicable to permits only. |
body[].event_type_id |
int |
The ID of the event type. Applicable to permits only. |
body[].event_description |
String |
The description of current event. |
body[].center_name |
String |
The name of the center where the facility located. |
body[].center_id |
int |
The ID of the center where the facility located. |
body[].site_name |
String |
The name of the site which the facility’s center belong to. |
body[].site_id |
int |
The ID of the site which the facility’s center belong to. |
body[].attendance |
Integer |
The attendance of the event or the maximum attendance of the activity or flexreg session. |
body[].permit_status |
String |
The status of the permit. Only displays for permits. |
body[].permit_number |
String |
The number of the permit. Only displays for permits. |
body[].activity_name |
String |
The name of the activity. Displays when the facility is reserved for an activity meeting date. |
body[].activity_number |
String |
The number of the activity. Displays when the facility is reserved for an activity meeting date. |
body[].activity_status |
String |
The status of the activity. Displays when the facility is reserved for an activity meeting date. |
body[].session_name |
String |
The Flexreg/Daycare session name. Displays when the facility is reserved for a Flexreg/Daycare session. |
body[].league_name |
String |
The league name. Displays when the facility is reserved for a league. |
body[].customer_type |
String |
The customer type of the permit holder or company agent. Only displays for permits. |
body[].customer_id |
int |
The ID of the customer. |
body[].customer_first_name |
String |
The first name of the customer or company agent who made the reservation. |
body[].customer_last_name |
String |
The last name of the customer or company agent who made the reservation. |
body[].has_active_membership |
boolean |
Whether the customer has an active membership. |
body[].dressing_rooms[].dressing_room_id |
int |
Dressing room id. |
body[].dressing_rooms[].dressing_room_name |
String |
Dressing room name. |
body[].dressing_rooms[].dressing_room_occupant |
String |
Dressing room occupant. |
body[].dressing_rooms[].dressing_room_home_or_away_status |
String |
Dressing room hom or away status. |
body[].schedule_type_id |
int |
The ID of the schedule type. |
body[].company_id |
int |
The ID of the company who is the permit holder for facilty reservation by company. |
body[].company_name |
String |
The name of the company who is the permit holder for facilty reservation by company. |
body[].company_type |
String |
The type of the company who is the permit holder for facilty reservation by company. |
GetEquipmentSchedules
Returns the equipment availability schedule for the specified request parameters (by equipment_id in ascending order).
Request
Request Example
GET /equipmentschedules?date_from=2025-10-16+00%3A00&date_to=2025-10-16+00%3A00&equipment_ids=2548%2C6548 HTTP/1.1
Content-Type: application/json
Accept: application/json
page_info: {"total_records_per_page":50, "page_number":2}
Host: api.amp.active.com:8080
Request Headers
This API supports pagination and sorting. For a list of supported sorting options, refer to the end of the Request Parameters section.
For more information about common header parameters, refer to Common header parameters.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
|
In the HTTP request header, you can include page_info and specify required pagination or sorting parameters. |
Request Parameters
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
date_from |
YYYY-MM-DD HH:MM |
Mandatory |
Equipment availability schedules with start dates on or after this date and time are returned (HH:MM is optional). date_from must be a date in the future. |
date_to |
YYYY-MM-DD HH:MM |
Mandatory |
Equipment availability schedules with end dates on or before this date and time are returned (HH:MM is optional). date_to must be a date later than date_from. |
equipment_ids |
String |
Mandatory |
Equipment IDs. You can specify up to 100 equipment IDs, with each ID separated by a comma. |
Response
Records
This API will retrieve multiple records per API call depending on the specified request parameters.
One record will contain all information of a matching equipment schedule.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 604
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"equipment_id" : 2548,
"equipment_name" : "facility name",
"equipment_type" : "Room",
"equipment_type_id" : 35,
"equipment_number" : "96548",
"quantity" : 10,
"setup_from_time" : "2025-10-16 00:41:01",
"setup_to_time" : "2025-10-16 02:41:01",
"booking_start_date_time" : "2025-10-16 00:41:01",
"booking_end_date_time" : "2025-10-16 03:41:01",
"tear_down_from_time" : null,
"tear_down_to_time" : null,
"schedule_id" : 0
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].equipment_id |
int |
The ID of the equipment. |
body[].equipment_name |
String |
The name of the equipment. |
body[].equipment_type |
String |
The description of the equipment type. |
body[].equipment_type_id |
int |
The ID of the equipment type. |
body[].equipment_number |
String |
The Equipment number. |
body[].quantity |
int |
The requested quantity. |
body[].setup_from_time |
Datetime |
Setup start date and time for the equipment schedule. |
body[].setup_to_time |
Datetime |
Setup end date and time for the equipment schedule. |
body[].booking_start_date_time |
Datetime |
Start date and time of the equipment schedule. |
body[].booking_end_date_time |
Datetime |
End date and time of the equipment schedule. |
body[].tear_down_from_time |
Datetime |
Teardown start date and time for the equipment schedule. |
body[].tear_down_to_time |
Datetime |
Teardown end date and time for the equipment schedule. |
body[].schedule_id |
int |
Schedule ID of the equipment schedule. |
GetPrepCodes
Returns a list of preparation codes (by prep_code_id in ascending order).
Request
Request Example
GET /prepcodes HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: api.amp.active.com:8080
Request Headers
This API does not support pagination or sorting. In the request header, page_info is not required.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Parameters
None
Response
Records
This API will retrieve multiple records per API call.
Each record will contain all information of a single prep code. All prep codes are returned in a single API response.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 302
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"description" : "test-description",
"prep_code_id" : 1,
"site_name" : "test-site-name",
"setup_time" : 30,
"teardown_time" : 20,
"notes" : "test-notes"
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].description |
String |
The description of the prep code. |
body[].prep_code_id |
int |
The ID of the prep code. |
body[].site_name |
String |
The site of the prep code. |
body[].setup_time |
int |
The number of minutes to be blocked off prior to a booking for facility preparation. |
body[].teardown_time |
int |
The number of minutes to be blocked off after a booking for facility cleaning. |
body[].notes |
String |
The notes of the prep code. |
GetReservationGroups
Returns a list of reservation groups with configured facilities for your organization (by group name in ascending order).
Request
Request Example
GET /reservationgroups HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: api.amp.active.com:8080
Request Headers
This API does not support pagination or sorting. In the request header, page_info is not required.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Parameters
None
Response
Records
This API will retrieve multiple records per API call.
Each record will contain all information of a single reservation group. All reservation groups are returned in a single API response.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 823
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"reservation_group_id" : 4,
"reservation_group_name" : "My-Test-Group",
"event_type_name" : "General",
"event_type_id" : 1,
"schedule_type_name" : "External Reservation",
"schedule_type_id" : 1,
"non_exclusive_use" : false,
"default_customer_type" : "Member",
"site_name" : null,
"site_id" : 1,
"center_name" : null,
"center_id" : 0,
"show_online" : false,
"starting_time" : "08:00:00",
"ending_time" : "10:00:00",
"time_increment" : 60,
"facilities" : [ {
"facility_id" : 1,
"facility_name" : "PoolLane 1 - NPLP"
}, {
"facility_id" : 2,
"facility_name" : "PoolLane 2 - NPLP"
} ]
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].reservation_group_id |
int |
The ID of the reservation group. |
body[].reservation_group_name |
String |
The name of the reservation group. |
body[].event_type_name |
String |
The name of the event type which is associated with the reservation group. |
body[].schedule_type_name |
String |
The name of the schedule type of the reservation group. |
body[].non_exclusive_use |
boolean |
Whether the reservation group can be booked for non-exclusive use. |
body[].default_customer_type |
String |
The default customer type of the reservation group. |
body[].site_name |
String |
The site of the reservation group. |
body[].center_name |
String |
The center of the reservation group. |
body[].show_online |
boolean |
Whether the reservation group will be displayed during online Quick Reserve. |
body[].starting_time |
Time |
The start time to display facilities or equipment in this group for Quick Reserve. |
body[].ending_time |
Time |
The end time for displaying facilities or equipment in this group for Quick Reserve. |
body[].time_increment |
int |
The time increment by which to display facility or equipment availability on the Quick Reserve page. |
body[].facilities |
Array |
The facilities included in this reservation group. |
body[].facilities[].facility_id |
int |
The ID of the facility. |
body[].facilities[].facility_name |
String |
The name of the facility. |
GetEventTypes
Returns a list of event types with configured facilities for your organization (by event type description in ascending order).
Request
Request Example
GET /eventtypes HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: api.amp.active.com:8080
Request Headers
This API does not support pagination or sorting. In the request header, page_info is not required.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Parameters
None
Response
Records
This API will retrieve multiple records per API call.
Each record will contain all information of a single event type. All event types are returned in a single API response.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 975
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"event_type_id" : 1,
"event_type_description" : "Envent type Test",
"prep_code" : "30m set up/ 50m tear down",
"setup_time" : 30,
"teardown_time" : 50,
"schedule_type_id" : 10,
"schedule_type_description" : "External Reservation",
"site_id" : 1,
"site_name" : "test site",
"prevent_further_use" : false,
"hide_on_internet" : true,
"allow_non_exclusive_use" : false,
"available_for_all_facilities" : false,
"qualified_facilities" : [ {
"facility_id" : 1,
"facility_name" : "PoolLane 1 - NPLP"
}, {
"facility_id" : 2,
"facility_name" : "PoolLane 2 - NPLP"
} ],
"qualified_facility_types" : [ {
"facility_type_id" : 1,
"description" : "Campsite"
}, {
"facility_type_id" : 2,
"description" : "Classroom"
} ]
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].event_type_id |
int |
The ID of the event type. |
body[].event_type_description |
String |
The description of the event type. |
body[].prep_code |
String |
The preparation code associated with the event type. |
body[].setup_time |
int |
The setup time of the event type. Unit:minutes. |
body[].teardown_time |
int |
The teardown time of the event type. Unit:minutes. |
body[].schedule_type_id |
int |
The ID of schedule type associated with the event type. |
body[].schedule_type_description |
String |
The description of schedule type associated with the event type. |
body[].site_id |
int |
The ID of the site assigned to the event type. |
body[].site_name |
String |
The name of the site assigned to the event type. |
body[].prevent_further_use |
boolean |
The 'Prevent Further Use' flag of the event type. |
body[].hide_on_internet |
boolean |
The 'Hide On Internet' flag of the event type. |
body[].allow_non_exclusive_use |
boolean |
The 'Allow Non-exclusive Use' flag of the event type. |
body[].available_for_all_facilities |
boolean |
The 'Available for All Facilities' flag of the event type. |
body[].qualified_facilities |
Array |
Qualified facilities for the event type. |
body[].qualified_facilities[].facility_id |
int |
The ID of the facility. |
body[].qualified_facilities[].facility_name |
String |
The name of the facility. |
body[].qualified_facility_types |
Array |
Qualified facility types of the event type. |
body[].qualified_facility_types[].facility_type_id |
int |
The ID of the facility type. |
body[].qualified_facility_types[].description |
String |
The description of the facility type. |
GetFlexRegEnrollment
Returns Flex Registration program enrollment details for the specified request parameters (by program_id and customer_id in ascending order).
Request
Request Example
GET /flexregenrollment?program_id=1&session_id=1&customer_ids=101%2C102&roster_date=&enrollment_status=&date_after= HTTP/1.1
Content-Type: application/json
Accept: application/json
page_info: {"total_records_per_page":30, "page_number":2}
Host: api.amp.active.com:8080
Request Headers
This API supports pagination, but does not support sorting. In the request header, page_info is optional.
For more information about common header parameters, refer to Common header parameters.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
|
In the HTTP request header, you can include page_info and specify required pagination or sorting parameters. |
Request Parameters
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
program_id |
int |
Optional if session_id or customer_ids is specified, otherwise required. |
The ID number of the required program. Returns all customers enrolled in the specified program. |
session_id |
int |
Optional if program_id or customer_ids is specified, otherwise required. |
The ID number of the required session. Returns all customers enrolled in the specified session. |
customer_ids |
String |
Optional if session_id or program_id is specified, otherwise required. |
The ID numbers of the required customers (up to 20 comma-separated customer IDs can be specified). Returns enrollments for all specified customers. |
roster_date |
YYYY-MM-DD |
Optional |
Returns the roster for the specified date. Optional. |
enrollment_status |
int |
Optional |
You can specify one enrollment status to search customer enrollment information: 1-Enrolled, 2-Withdrawn, 3-Waitlisted, 4-Waitlist Removed, 5-Trial, 6-All. Default value is 1. |
date_after |
YYYY-MM-DD HH:MM |
Optional |
Customers who enrolled, withdrawn, waitlisted, removed from waitlisted on or after this specified date and time are returned (HH:MM is optional). |
Response
Records
This API will retrieve multiple records per API call depending on the specified request parameters.
One record will contain all information for a matching enrollee in the specified program. For example, when using the session_id request parameter, if the requested session has been attached to two programs and in each program five customers have enrolled in the session, then ten records will be returned (five records for program A and five records for program B).
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1216
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"program_id" : 1,
"program_name" : "mock programName data",
"enrollment_status" : "Enrolled",
"first_name" : "mock firstName data",
"last_name" : "mock lastName data",
"customer_id" : 1,
"customer_email" : "mock customerEmail data",
"customer_date_modified" : "2025-10-16 00:39:43",
"date_registered" : "2025-10-16 00:39:43",
"waitlisted_date" : "2025-10-16 00:39:43",
"waitlist_removed_date" : "2025-10-16 00:39:43",
"last_transaction_date" : "2025-10-16 00:39:43",
"enrolled_sessions" : [ {
"session_id" : 1,
"session_name" : "mock sessionName data",
"first_date" : "2025-10-16 00:39:43",
"last_date" : "2025-10-16 00:39:43"
} ],
"has_active_membership" : true,
"payers" : [ {
"payer_first_name" : "mock payerFirstName data",
"payer_last_name" : "mock payerLastName data",
"payer_customer_id" : 1,
"payer_email" : "mock payerEmail data",
"payer_company_name" : "mock companyName data",
"payer_company_phone" : "mock companyPhone data"
} ]
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].program_id |
int |
ID of the program. |
body[].program_name |
String |
Name of the program. |
body[].enrollment_status |
String |
The enrollment status of the customer in the program/session/roster date: 'Enrolled', 'Withdrawn', 'Waitlisted', 'Waitlist Removed' or 'Trial Enrollment'. |
body[].first_name |
String |
Customer’s first name. |
body[].last_name |
String |
Customer’s last name. |
body[].customer_id |
int |
Customer ID. |
body[].customer_email |
String |
Email address of the customer. |
body[].customer_date_modified |
Date |
The last date when customer information was modified. |
body[].date_registered |
Date |
The date and time the customer first enrolled for the program. |
body[].waitlisted_date |
Date |
The date of the last transaction the customer was added to waitlist. |
body[].waitlist_removed_date |
Date |
The last date the customer was removed from waitlist. |
body[].last_transaction_date |
Date |
Date of the customer’s last transaction. |
body[].enrolled_sessions[] |
Object[] |
Enrolled sessions. |
body[].enrolled_sessions[].session_id |
int |
ID of the session. |
body[].enrolled_sessions[].session_name |
String |
Name of the session. |
body[].enrolled_sessions[].first_date |
Date |
First enrollment date in the session. |
body[].enrolled_sessions[].last_date |
Date |
Last enrollment date in the session. |
body[].has_active_membership |
boolean |
Whether the customer has an active membership. |
body[].payers[] |
Object[] |
Payers of the enrollment. |
body[].payers[].payer_first_name |
String |
First name of the payer. Only displays when the payer is an individual customer. |
body[].payers[].payer_last_name |
String |
Last name of the payer.Only displays if when the payer is an individual customer. |
body[].payers[].payer_customer_id |
Integer |
Customer ID of the payer.Only displays if when payer is an individual customer. |
body[].payers[].payer_email |
String |
Email address of the payer. Only displays if when payer is an individual customer. |
body[].payers[].payer_company_name |
String |
Name of the company. Only displays when the payer is a company. |
body[].payers[].payer_company_phone |
String |
Phone 1 of the company. Only displays when the payer is a company. |
GetFlexregExpandedDetail
Returns program, program enrollment, customer and custom question answer fields for the specified programs (by program_id and customer_id in ascending order).
Request
Request Example
GET /flexregexpandeddetail?program_id=1&session_id=1&roster_date=&enrollment_status=&date_after= HTTP/1.1
Content-Type: application/json
Accept: application/json
page_info: {"total_records_per_page":30, "page_number":2}
Host: api.amp.active.com:8080
Request Headers
This API supports pagination, but does not support sorting.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
|
In the HTTP request header, you can include page_info and specify required pagination or sorting parameters. Note that for this API, you can specify a number up to 500 for the total_records_per_page parameter. |
Request Parameters
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
program_id |
int |
Optional |
The ID of the program. For the specified program, all customers enrolled in the program are returned. Optional if the user specified a session_id as query parameter, otherwise required. |
session_id |
int |
Optional |
The ID of the session. For the specified session, all customers enrolled in the session are returned. Optional if the user specified a program_id as query parameter, otherwise required. |
roster_date |
YYYY-MM-DD |
Optional |
Returns the roster for the specified date. Optional. |
enrollment_status |
int |
Optional |
You can specify one enrollment status to search customer enrollment information: 1-Enrolled, 2-Withdrawn, 3-Waitlisted, 4-Waitlist Removed, 5-Trial, 6-All. Default value is 1. |
date_after |
YYYY-MM-DD HH:MM |
Optional |
Customers who enrolled, withdrawn, waitlisted, removed from waitlisted on or after this specified date and time are returned (HH:MM is optional). |
Response
Records
This API will retrieve multiple records per API call.
Each record will contain all information of a single program.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 2060
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"program_id" : 1,
"program_name" : "Mock Program",
"enrollment_status" : "Enrolled",
"first_name" : "First Name",
"last_name" : "Last Name",
"customer_id" : 1245,
"customer_email" : "email@test.com",
"home_phone" : "9876543210",
"work_phone" : "7418529630",
"cell_phone" : "1234567890",
"mobile_carrier" : null,
"age" : "20.3",
"gender" : "Male",
"age_category" : null,
"residential_address1" : "Address 1",
"residential_address2" : "Address 2",
"residential_city" : "City",
"residential_state_or_province" : "State",
"residential_zip_code" : "7539514",
"has_active_membership" : false,
"families" : [ {
"family_id" : 7410,
"head_of_household" : "head of household full name",
"head_of_household_customer_id" : 1234,
"head_of_household_customer_first_name" : "head of household first name",
"head_of_household_customer_last_name" : "head of household last name",
"head_of_household_customer_email" : "head_of_household@email.com"
} ],
"question_answers" : [ {
"question_title" : "question title",
"question_text" : "question text",
"question_id" : 123,
"answer" : "answer",
"time_stamp" : "2025-10-16 00:39:45"
} ],
"customer_date_modified" : "2025-10-16 00:39:45",
"date_registered" : null,
"waitlisted_date" : null,
"waitlist_removed_date" : null,
"last_transaction_date" : null,
"enrolled_sessions" : [ {
"session_id" : 123,
"session_name" : "session name",
"first_date" : "2025-10-15",
"last_date" : "2025-10-17"
} ],
"payers" : [ {
"payer_first_name" : "First Name",
"payer_last_name" : "Last Name",
"payer_customer_id" : 1245,
"payer_email" : "test@test.com",
"payer_company_name" : null,
"payer_company_phone" : null
} ]
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].program_id |
int |
ID of the program. |
body[].program_name |
String |
Name of the program. |
body[].enrollment_status |
String |
The enrollment status of the customer in the program/session/roster date: 'Enrolled', 'Withdrawn', 'Waitlisted', 'Waitlist Removed' or 'Trial Enrollment'. |
body[].first_name |
String |
Customer’s first name. |
body[].last_name |
String |
Customer’s last name. |
body[].customer_id |
int |
Customer ID. |
body[].customer_email |
String |
Email address of the customer. |
body[].home_phone |
String |
The home phone number of the customer. |
body[].work_phone |
String |
The work phone number of the customer. |
body[].cell_phone |
String |
The cell phone number of the customer. |
body[].mobile_carrier |
String |
The mobile carrier of the customer’s cell phone. |
body[].age |
String |
Age of the customer. |
body[].age_category |
String |
Age category of the customer. |
body[].gender |
String |
Gender of the customer. |
body[].residential_address1 |
String |
The first line of the customer’s residential address. |
body[].residential_address2 |
String |
The second line of the customer’s residential address. |
body[].residential_city |
String |
The city of the customer’s residential address. |
body[].residential_state_or_province |
String |
The state/province of the customer’s residential address. |
body[].residential_zip_code |
String |
The zip code of the customer’s residential address. |
body[].has_active_membership |
boolean |
Whether the customer has an active membership. |
body[].families[].family_id |
int |
Family ID. |
body[].families[].head_of_household |
String |
Head of household of this family. |
body[].families[].head_of_household_customer_id |
Integer |
Customer ID of the head of household. |
body[].families[].head_of_household_customer_first_name |
String |
First name of the head of the household. |
body[].families[].head_of_household_customer_last_name |
String |
Last name of the head of the household. |
body[].families[].head_of_household_customer_email |
String |
Email of the head of the household. |
body[].question_answers[].question_title |
String |
The title of the custom question. |
body[].question_answers[].question_text |
String |
The question text which will be displayed during a transaction. |
body[].question_answers[].question_id |
int |
ID of the custom question. |
body[].question_answers[].answer |
String |
The answer of custom question. Multiple answers are separated by commas |
body[].question_answers[].time_stamp |
Datetime |
The date and time when the customer answered the question. |
body[].customer_date_modified |
Date |
The last date when customer information was modified. |
body[].date_registered |
Date |
The date and time the customer first enrolled for the program. |
body[].waitlisted_date |
Date |
The date of the last transaction the customer was added to waitlist. |
body[].waitlist_removed_date |
Date |
The last date the customer was removed from waitlist. |
body[].last_transaction_date |
Date |
Date of the customer’s last transaction. |
body[].enrolled_sessions[] |
Object[] |
Enrolled sessions. |
body[].enrolled_sessions[].session_id |
int |
ID of the session. |
body[].enrolled_sessions[].session_name |
String |
Name of the session. |
body[].enrolled_sessions[].first_date |
Date |
First enrollment date in the session. |
body[].enrolled_sessions[].last_date |
Date |
Last enrollment date in the session. |
body[].payers[] |
Object[] |
Payers of the enrollment. |
body[].payers[].payer_first_name |
String |
First name of the payer. Only displays when the payer is an individual customer. |
body[].payers[].payer_last_name |
String |
Last name of the payer.Only displays if when the payer is an individual customer. |
body[].payers[].payer_customer_id |
Integer |
Customer ID of the payer.Only displays if when payer is an individual customer. |
body[].payers[].payer_email |
String |
Email address of the payer. Only displays if when payer is an individual customer. |
body[].payers[].payer_company_name |
String |
Name of the company. Only displays when the payer is a company. |
body[].payers[].payer_company_phone |
String |
Phone 1 of the company. Only displays when the payer is a company. |
GetFlexRegProgramDates
Returns program session dates (within 90 days after today) by start date in ascending order for the specified program ID.
Request
Request Example
GET /flexregprogramdates?program_id=1 HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: api.amp.active.com:8080
Request Headers
This API doesn’t support sort option or pagination, all records will be returned in one call.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Parameters
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
program_id |
int |
Mandatory |
The program ID of the FlexReg program. |
Response
Records
This API will retrieve multiple records per API call.
Each record will contain all information of a single session date.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 373
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"session_id" : 50,
"session_date_id" : 123,
"session_facility_id" : 12,
"start_date" : "2025-10-16",
"start_time" : "2025-10-16 08:00:00",
"end_time" : "2025-10-16 11:00:00",
"status" : 1,
"available_spots" : "1"
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].session_id |
int |
The session ID of the session to which this session date belongs. |
body[].session_date_id |
int |
The session date ID of this session date. |
body[].session_facility_id |
int |
The facility ID of the facility reserved for this session date. |
body[].start_date |
Date |
The start date of this session date. |
body[].start_time |
Date |
The starting time of this session date. |
body[].end_time |
Date |
The ending time of this session date. |
body[].status |
int |
The status of this session date: 0-normal, 1-closed, 2-cancelled. |
body[].available_spots |
String |
Available spots on this session date. It is blank if available spots are unlimited. |
GetFacilityChargeMatrix
Returns facility charges for the specified request parameters (by charge_name in ascending order if it is not specified).
Request
Request Example
GET /facilitychargematrix?search_type=0&customer_type_id=1¢er_id=1234&facility_type_id=1&facility_id=2&site_id=30&event_type_id=15 HTTP/1.1
Content-Type: application/json
Accept: application/json
page_info: {"order_by":"charge_name", "page_number":1, "total_records_per_page":50, "order_option":"ASC"}
Host: api.amp.active.com:8080
Request Headers
This API supports pagination and sorting. For a list of supported sorting options, refer to the end of the Request Parameters section.
For more information about common header parameters, refer to Common header parameters.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
|
In the HTTP request header, you can include page_info and specify required pagination or sorting parameters. Note that for this API, you can specify a number up to 500 for the total_records_per_page parameter. |
Request Parameters
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
search_type |
int |
Mandatory |
Option that defines the search type. 0: General Search. All charges configured with the specified query parameters are returned. At least one other parameter must be provided for a general search. 1: Facility Charge Search. All charges which will be applied to the specified customer type, facility and event type during reservation are returned. Customer_type_id, facility_id and event_type_id can be used for facility charge search. Customer_type_id and facility_id are mandatory for a facility charge search. |
customer_type_id |
int |
Mandatory if search_type is 1. |
The ID of the customer type. |
center_id |
int |
Optional |
The ID of the center. |
facility_type_id |
int |
Optional |
The ID of the facility type. |
facility_id |
int |
Mandatory if search_type is 1. |
The ID of the facility. |
site_id |
int |
Optional |
The ID of the site. |
event_type_id |
int |
Optional |
The ID of the event type. |
You can sort the results by one of the following parameters
| Parameter | Description |
|---|---|
charge_name |
The name of the charge. Order option: ascending or descending. |
Response
Records
This API will retrieve multiple records per API call depending on the specified request parameters.
Each record will contain all information for a single facility charge.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 4082
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"charge_name" : "mock chargeName data",
"charge_type" : "mock chargeType data",
"customer_type" : "mock customerType data",
"center_name" : "mock centerName data",
"center_id" : 1234,
"facility_name" : "mock facilityName data",
"facility_id" : 1234,
"facility_type" : "mock facilityType data",
"site_name" : "mock siteName data",
"site_id" : 1234,
"event_type" : "mock eventType data",
"prefill_condition" : "mock prefillCondition data",
"gl_account" : "mock glAccount data",
"discount_type" : "mock discountType data",
"system_account_package" : "mock systemAccountPackage data",
"default_amount" : 1234,
"default_percentage" : 1234,
"holiday_rates" : 1234,
"unit_of_measure" : "mock unitOfMeasure data",
"default_quantity" : 1,
"once_per_permit" : true,
"is_deposit" : true,
"discountable" : true,
"exclude_from_payment_plan" : true,
"extra_booking_fee" : true,
"scheduled_fee_change" : [ {
"effective_date" : "2025-10-16 00:41:00",
"charge_amount" : 1234
} ],
"taxable_by_tax1" : true,
"taxable_by_tax2" : true,
"taxable_by_tax3" : true,
"taxable_by_tax4" : true,
"taxable_by_tax5" : true,
"taxable_by_tax6" : true,
"taxable_by_tax7" : true,
"taxable_by_tax8" : true,
"minimum_age" : 1,
"maximum_age" : 1,
"alternate_key_types" : "mock alternateKeyTypes data",
"alternate_key_statuses" : "mock alternateKeyStatuses data",
"online_question" : "mock onlineQuestion data",
"activation_code" : "mock activationCode data",
"allow_qty_selection_online" : true,
"minimum_qty_allowed" : 1,
"maximum_qty_allowed" : 1,
"custom_questions" : [ {
"question_title" : "mock questionTitle data",
"question_text" : "mock questionText data",
"answer" : "mock answer data"
} ],
"activation_date" : "2025-10-16 00:41:00",
"expiration_date" : "2025-10-16 00:41:00"
}, {
"charge_name" : "chargeName1",
"charge_type" : "Fee",
"customer_type" : "Commercial",
"center_name" : "centerName",
"center_id" : 1,
"facility_name" : "mock facilityName data",
"facility_id" : 1234,
"facility_type" : "mock facilityType data",
"site_name" : "mock siteName data",
"site_id" : 1234,
"event_type" : "mock eventType data",
"prefill_condition" : "mock prefillCondition data",
"gl_account" : "mock glAccount data",
"discount_type" : "mock discountType data",
"system_account_package" : "mock systemAccountPackage data",
"default_amount" : 10.5,
"default_percentage" : 1234,
"holiday_rates" : 1234,
"unit_of_measure" : "mock unitOfMeasure data",
"default_quantity" : 1,
"once_per_permit" : true,
"is_deposit" : true,
"discountable" : true,
"exclude_from_payment_plan" : true,
"extra_booking_fee" : true,
"scheduled_fee_change" : [ {
"effective_date" : "2025-10-16",
"charge_amount" : 10.5
} ],
"taxable_by_tax1" : true,
"taxable_by_tax2" : true,
"taxable_by_tax3" : true,
"taxable_by_tax4" : true,
"taxable_by_tax5" : true,
"taxable_by_tax6" : true,
"taxable_by_tax7" : true,
"taxable_by_tax8" : true,
"minimum_age" : 1,
"maximum_age" : 1,
"alternate_key_types" : "mock alternateKeyTypes data",
"alternate_key_statuses" : "mock alternateKeyStatuses data",
"online_question" : "mock onlineQuestion data",
"activation_code" : "mock activationCode data",
"allow_qty_selection_online" : true,
"minimum_qty_allowed" : 1,
"maximum_qty_allowed" : 1,
"custom_questions" : [ {
"question_title" : "questionTitle",
"question_text" : "questionText",
"answer" : "answer"
} ],
"activation_date" : "2025-10-16 00:41:00",
"expiration_date" : "2025-10-16 00:41:00"
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].charge_name |
String |
The charge name. |
body[].charge_type |
String |
The charge type. |
body[].customer_type |
String |
The customer type attached to the charge. |
body[].center_name |
String |
The name of the center that attached to the charge. |
body[].center_id |
int |
The ID of the center that attached to the charge. |
body[].facility_name |
String |
The name of the facility that attached to the charge. |
body[].facility_id |
int |
ID of the facility that attached to the charge. |
body[].facility_type |
String |
The description of the facility type that attached to the charge. |
body[].site_name |
String |
The name of the site that attached to the charge. |
body[].site_id |
int |
The ID of the site that attached to the charge. |
body[].event_type |
String |
The description of the event type that attached to the charge. |
body[].prefill_condition |
String |
The prefill condition of the charge. |
body[].gl_account |
String |
The G/L account of the charge. |
body[].discount_type |
String |
The type of the discount. Applies to discount only. |
body[].system_account_package |
String |
The system account package of the charge. |
body[].default_amount |
numeric |
The default amount of the charge. Applies to fees and fixed discount. |
body[].default_percentage |
numeric |
The default percentage of the charge. Applies to percentage discount. |
body[].holiday_rates |
numeric |
The amount to be charged during holidays. |
body[].unit_of_measure |
String |
The unit of measure of the charge. |
body[].default_quantity |
int |
The default quantity of the charge. |
body[].once_per_permit |
boolean |
The 'Charge once per permit' flag of the charge. |
body[].is_deposit |
boolean |
The 'Charge is a deposit' flag of the charge. |
body[].discountable |
boolean |
The 'Discountable' flag of the charge. |
body[].exclude_from_payment_plan |
boolean |
The 'Exclude from payment plan' flag of the charge. |
body[].extra_booking_fee |
boolean |
The 'Extra booking fee' flag of the charge. |
body[].scheduled_fee_change |
Array |
The scheduled fee change information of the charge. |
body[].scheduled_fee_change[].effective_date |
Date |
The scheduled effective date change information of the charge. |
body[].scheduled_fee_change[].charge_amount |
numeric |
The scheduled charge amount change information of the charge. |
body[].taxable_by_tax1 |
boolean |
The taxable by tax1 flag of the fee/discount. |
body[].taxable_by_tax2 |
boolean |
The taxable by tax2 flag of the fee/discount. |
body[].taxable_by_tax3 |
boolean |
The taxable by tax3 flag of the fee/discount. |
body[].taxable_by_tax4 |
boolean |
The taxable by tax4 flag of the fee/discount. |
body[].taxable_by_tax5 |
boolean |
The taxable by tax5 flag of the fee/discount. |
body[].taxable_by_tax6 |
boolean |
The taxable by tax6 flag of the fee/discount. |
body[].taxable_by_tax7 |
boolean |
The taxable by tax7 flag of the fee/discount. |
body[].taxable_by_tax8 |
boolean |
The taxable by tax8 flag of the fee/discount. |
body[].minimum_age |
int |
Customers older than the minimum age are qualified for the fee/discount. |
body[].maximum_age |
int |
Customers younger than the maximum age are qualified for the fee/discount. |
body[].alternate_key_types |
String |
Customers with these alternate key types are qualified qualified for the fee/discount. Commas separate multiple alternate key types. |
body[].alternate_key_statuses |
String |
Customers with the alternate key statuses are qualified qualified for the fee/discount. Commas separate multiple alternate key statuses. |
body[].online_question |
String |
The online question option of the fee/discount. |
body[].activation_code |
String |
The 'Online Activation Code' option of the fee/discount. |
body[].allow_qty_selection_online |
boolean |
The 'Allow quantity to be selected online' setting of the fee/discount. |
body[].minimum_qty_allowed |
int |
The minimum quantity allowed online. Displays only when 'Allow quantity to be selected online' is selected. |
body[].maximum_qty_allowed |
int |
The maximum quantity allowed online. Displays only when 'Allow quantity to be selected online' is selected. |
body[].custom_questions |
Array |
The custom questions and answers which trigger the fee/discount. |
body[].custom_questions[].question_title |
String |
The question titles which trigger the fee/discount. |
body[].custom_questions[].question_text |
String |
The custom questions which trigger the fee/discount. |
body[].custom_questions[].answer |
String |
The answers which trigger the fee/discount. |
body[].activation_date |
Date |
The activation date of the fee/discount. |
body[].expiration_date |
Date |
The expiration date of the fee/discount. |
GetFacilityOpenHours
Returns default facility opening/closing hours and facility open/close hours during the specified date range.
Request
Request Example
GET /facilityopenhours/1 HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: api.amp.active.com:8080
Request Headers
This API does not support pagination or sorting. In the request header, page_info is not required.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Parameters
/facilityopenhours/{facility_id}
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
facility_id |
int |
Mandatory |
The ID of the facility. For the specified facility, default facility opening/closing hours and facility opening/closing hours during the specified date range are returned. |
Response
Records
This API will retrieve one record per API call.
One record will contain all facility open hours for the specified facility ID.
To retrieve facility open hours of another facility, repeat the API call with its facility ID.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 2211
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"default_settings" : [ {
"open_24_hours" : false,
"default_opens" : "00:00:00",
"default_closes" : "00:00:00",
"day_time" : [ {
"weekday" : "Sun",
"opens" : null,
"closes" : null,
"closed_all_day" : true
}, {
"weekday" : "Mon",
"opens" : null,
"closes" : null,
"closed_all_day" : true
}, {
"weekday" : "Tue",
"opens" : null,
"closes" : null,
"closed_all_day" : true
}, {
"weekday" : "Wed",
"opens" : null,
"closes" : null,
"closed_all_day" : true
}, {
"weekday" : "Thu",
"opens" : null,
"closes" : null,
"closed_all_day" : true
}, {
"weekday" : "Fri",
"opens" : null,
"closes" : null,
"closed_all_day" : true
}, {
"weekday" : "Sat",
"opens" : null,
"closes" : null,
"closed_all_day" : true
} ]
} ],
"override_settings" : [ {
"description" : "Test",
"date_range" : "From 2017 to 2018, Jan 1 to Apr 1",
"open_24_hours" : false,
"day_time" : [ {
"weekday" : "Sun",
"opens" : null,
"closes" : null,
"closed_all_day" : true
}, {
"weekday" : "Mon",
"opens" : null,
"closes" : null,
"closed_all_day" : true
}, {
"weekday" : "Tue",
"opens" : null,
"closes" : null,
"closed_all_day" : true
}, {
"weekday" : "Wed",
"opens" : null,
"closes" : null,
"closed_all_day" : true
}, {
"weekday" : "Thu",
"opens" : null,
"closes" : null,
"closed_all_day" : true
}, {
"weekday" : "Fri",
"opens" : null,
"closes" : null,
"closed_all_day" : true
}, {
"weekday" : "Sat",
"opens" : null,
"closes" : null,
"closed_all_day" : true
} ]
} ]
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].default_settings |
Array |
Default facility open/close time settings of the facility. |
body[].default_settings[].open_24_hours |
boolean |
The ‘Open for 24 hours’ flag of the facility. |
body[].default_settings[].default_opens |
Time |
The default opening time of the facility. |
body[].default_settings[].default_closes |
Time |
The default closing time of the facility. |
body[].default_settings[].day_time |
Array |
The facility opening/closing time settings for each day in a week. |
body[].default_settings[].day_time[].weekday |
String |
The weekday abbreviation. For example, ‘Mon’, ‘Sun’. |
body[].default_settings[].day_time[].opens |
Time |
The facility’s weekday opening time. |
body[].default_settings[].day_time[].closes |
Time |
The facility’s weekday closing time. |
body[].default_settings[].day_time[].closed_all_day |
boolean |
The ‘Closed All Day’ flag on a weekday. |
body[].override_settings |
Array |
The facility’s opening/closing time settings during the specified date range. |
body[].override_settings[].description |
String |
The description of the override settings. |
body[].override_settings[].date_range |
String |
The date range the following opens/closes settings take effective. |
body[].override_settings[].open_24_hours |
boolean |
The ‘Open 24 Hours’ flag for the facility during the specified date range. |
body[].override_settings[].day_time |
Array |
The opening/closing time settings for the facility on weekdays during the specified date range. |
body[].override_settings[].day_time[].weekday |
String |
The weekday abbreviation. For example, ‘Mon’, ‘Sun’. |
body[].override_settings[].day_time[].opens |
Time |
The facility’s opening time on the weekday during the specified date range. |
body[].override_settings[].day_time[].closes |
Time |
The facility’s closing time on the weekday during the specified date range. |
body[].override_settings[].day_time[].closed_all_day |
boolean |
The ‘Closed All Day’ flag for the weekday during the specified date range. |
GetInstructorSchedules
Returns a list of schedules for the specified instructors (by instructor_first_name, in ascending order).
Request
Request Example
GET /instructorschedules?date_from=2025-10-16+00%3A00&date_to=2025-10-16+00%3A00&instructor_ids=1%2C23&instructor_schedule_type=1&activity_ids=12 HTTP/1.1
Content-Type: application/json
Accept: application/json
page_info: {"total_records_per_page":50, "page_number":2}
Host: api.amp.active.com:8080
Request Headers
This API supports pagination, but does not support sorting. In the request header, page_info is optional.
For more information about common header parameters, refer to Common header parameters.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
|
In the HTTP request header, you can include page_info and specify required pagination or sorting parameters. Note that for this API, you can specify a number up to 500 for the total_records_per_page parameter. |
Request Parameters
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
date_from |
YYYY-MM-DD HH:MM |
Mandatory |
Returns instructor schedules with start dates on or after this date and time (HH:MM is optional). |
date_to |
YYYY-MM-DD HH:MM |
Mandatory |
Returns instructor schedules with end dates on or before this date and time (HH:MM is optional). Must be later than date_from. Note that if the date_from is a past date, then the date_to must be within three months after the date_from. |
instructor_ids |
String |
Mandatory |
IDs of instructors. You can specify up to 10 instructor IDs, with each ID separated by a comma. |
instructor_schedule_type |
Integer |
Optional |
Type of the instructor schedule. 1- Instructor Schedule for Normal Activities 2- Instructor Schedule for Private Lessons 3- Instructor Schedule for Regular Instructor Bookings |
activity_ids |
String |
Optional |
Returns instructor schedules that are reserved by the specified activities. You can specify up to 10 activity ids. |
Response
Records
This API will retrieve multiple records per API call depending on the specified request parameters.
One record will contain all information of a matching instructor schedule.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 758
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"instructor_id" : 1,
"instructor_first_name" : "Sarah",
"instructor_last_name" : "Brown",
"instructor_email" : "a.s@abc.com",
"instructor_schedule_type" : "Schedule for Normal Activities",
"schedule_start" : "2017-10-09 10:12:00",
"schedule_end" : "2017-10-09 10:12:00",
"activity_name" : "Swimming Lesson",
"activity_number" : "1234.123",
"activity_id" : 12,
"facility_id" : 22,
"facility_name" : "Swimming Pool Lane2",
"customer_first_name" : "Joe",
"customer_last_name" : "Lee",
"customer_id" : 2,
"permit_number" : "1234",
"event_name" : "Swimming"
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].instructor_id |
int |
The ID of the instructor. |
body[].instructor_first_name |
String |
First name of the instructor. |
body[].instructor_last_name |
String |
Last name of the instructor. |
body[].instructor_email |
String |
Email address of the instructor. |
body[].instructor_schedule_type |
String |
Type of the instructor schedule: ‘Schedule for Normal Activities’, ‘Schedule for Private Lesson Activities’ or ‘Schedule for Regular Instructor Bookings’ |
body[].schedule_start |
Datetime |
The start date and time of the schedule. |
body[].schedule_end |
Datetime |
The end date and time of the schedule. |
body[].activity_name |
String |
Name of the activity for which the instructor is reserved. Contains data when the instructor schedule type is ‘Schedule for Normal Activities’ or ‘Schedule for Private Lessons’. |
body[].activity_number |
String |
Number of the activity, for which the instructor is reserved. Contains data when the instructor schedule type is ‘Schedule for Normal Activities’ or ‘Schedule for Private Lessons’. |
body[].activity_id |
int |
ID of the activity for which the instructor is reserved. Contains data when the instructor schedule type is ‘Schedule for Normal Activities’ or ‘Schedule for Private Lessons’. |
body[].facility_id |
int |
ID of the facility associated with the instructor schedule. Contains data when the instructor schedule type is ‘Schedule for Normal Activities’ or ‘Schedule for Private Lessons’. |
body[].facility_name |
String |
Name of the facility associated with the instructor schedule. Contains data when the instructor schedule type is ‘Schedule for Normal Activities’ or ‘Schedule for Private Lessons’. |
body[].customer_first_name |
String |
First name of the customer who reserved the instructor. Contains data when the instructor schedule type is ‘Schedule for Private Lessons’ or ‘Schedule for Regular Instructor Bookings’. |
body[].customer_last_name |
String |
Last name of the customer who reserved the instructor. Contains data when the instructor schedule type is ‘Schedule for Private Lessons’ or ‘Schedule for Regular Instructor Bookings’. |
body[].customer_id |
int |
ID of the customer who reserved the instructor. Contains data when the instructor schedule type is ‘Schedule for Private Lessons’ or ‘Schedule for Regular Instructor Bookings’. |
body[].permit_number |
String |
The permit number associated with the instructor schedule. Contains data when the instructor schedule type is ‘Schedule for Regular Instructor Bookings’. |
body[].event_name |
String |
The event name associated with the instructor schedule. Contains data when the instructor schedule type is ‘Schedule for Regular Instructor Bookings’. |
GetRefunds
Return refund transaction and refund recipient information for the specified date range (by refund transaction date in ascending order).
Request
Request Example
GET /refunds?date_time_from=2019-12-01+00%3A00&date_time_to=2019-12-12+23%3A59&gl_account_number_refund_from=1-1%2C2-2%2C3-3&revenue_site_ids=1%2C2%2C3&transaction_site_ids=4%2C5%2C6&payment_type_ids=6%2C7%2C8 HTTP/1.1
Content-Type: application/json
Accept: application/json
page_info: {"total_records_per_page":50, "page_number":1, "order_by":"receipt_date", "order_option":"asc"}
Host: api.amp.active.com:8080
Request Headers
This API supports pagination and sorting. For a list of supported sorting options, refer to the end of the Request Parameters section.
For more information about common header parameters, refer to Common header parameters.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
|
In the HTTP request header, you can include page_info and specify required pagination or sorting parameters. Note that for this API, you can specify a number up to 500 for the total_records_per_page parameter. |
Request Parameters
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
date_time_from |
YYYY-MM-DD HH:MM |
Mandatory |
The start date and time from which to retrieve refund transaction information. The date is mandatory, and the time is optional. |
date_time_to |
YYYY-MM-DD HH:MM |
Mandatory |
The end date and time to which to retrieve refund transaction information. The date is mandatory, and the time is optional. The date_time_to must be a date and time on or after date_time_from, and the date_time_to must be within one month after the date_time_from. |
gl_account_number_refund_from |
String |
Optional |
The G/L account number paying out the refund. You can specify multiple GL account numbers, with each number separated by a comma. |
revenue_site_ids |
int |
Optional |
The revenue site ID. You can specify multiple revenue site IDs, with each ID separated by a comma. |
transaction_site_ids |
int |
Optional |
The transaction site ID. You can specify multiple transaction site IDs, with each ID separated by a comma. |
payment_type_ids |
int |
Optional |
The refund payment type ID (Mail Cheque-6, Cash-7, Credit Card-8, To Account-10, No Money-11, Gift Card-19, Debit Card-23). The revenue site ID. You can specify multiple refund payment type IDs, with each ID separated by a comma. |
You can sort the results by one of the following parameters
| Parameter | Description |
|---|---|
receipt_date |
Date when the refund transaction occurred. Order option: ascending (ASC) or descending (DESC). |
receipt_number |
The number of the refund receipt. Order option: ascending (ASC) or descending (DESC). |
payment_type |
The refund payment type. Order option: ascending (ASC) or descending (DESC). |
transaction_site_id |
The transaction site ID. Order option: ascending (ASC) or descending (DESC). |
Response
Records
This API will retrieve multiple records per API call depending on the specified request parameters.
One record will contain all information of a matching refund.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1335
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"receipt_date" : "2016-10-10",
"receipt_time" : "11:11 AM",
"payee_company_name" : "company name",
"payee_company_id" : 1,
"payee_customer_name" : "first last",
"payee_customer_id" : 1,
"payee_home_phone" : null,
"payee_work_phone" : null,
"payee_cell_phone" : null,
"payee_other_phone" : null,
"payee_residential_address1" : null,
"payee_residential_address2" : null,
"payee_residential_city" : null,
"payee_residential_state_or_province" : null,
"payee_residential_zip_code" : null,
"payee_mailing_address1" : null,
"payee_mailing_address2" : null,
"payee_mailing_city" : null,
"payee_mailing_state_or_province" : null,
"payee_mailing_zip_code" : null,
"original_receipt_number" : 123,
"receipt_number" : 123,
"payment_type" : "Cash",
"payment_type_id" : 7,
"refund_detail" : "xxx",
"refund_amount" : 98,
"gl_account_number_refund_from" : "xxx-xxx",
"gl_account_name_refund_from" : "GL account name",
"gl_account_number_refund_to" : "xxx-xxx",
"gl_account_name_refund_to" : "GL account name",
"transaction_site_id" : 1,
"transaction_site" : "site name"
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].receipt_date |
YYYY-MM-DD |
Receipt date. |
body[].receipt_time |
HH:MM AM/PM |
Receipt time. |
body[].payee_company_name |
String |
Name of the company receiving the refund. |
body[].payee_company_id |
int |
ID of the company receiving the refund. |
body[].payee_customer_name |
String |
Name of the customer receiving the refund. |
body[].payee_customer_id |
int |
ID of the customer receiving the refund. |
body[].payee_home_phone |
String |
The home phone number of the customer receiving the refund. Only displays when the refund recipient is an individual customer. |
body[].payee_work_phone |
String |
The work phone number of the customer receiving the refund. Only displays when the refund recipient is an individual customer. |
body[].payee_cell_phone |
String |
The cell phone number of the customer receiving the refund. Only displays when the refund recipient is an individual customer. |
body[].payee_other_phone |
String |
The other phone number of the customer receiving the refund. Only displays when the refund recipient is an individual customer. |
body[].payee_residential_address1 |
String |
The first line of the refund recipient’s residential address. Only displays when the refund recipient is an individual customer. |
body[].payee_residential_address2 |
String |
The second line of the refund recipient’s residential address. Only displays when the refund recipient is an individual customer. |
body[].payee_residential_city |
String |
The city of the refund recipient’s residential address. Only displays when the refund recipient is an individual customer. |
body[].payee_residential_state_or_province |
String |
The state/province of the refund recipient’s residential address. Only displays when the refund recipient is an individual customer. |
body[].payee_residential_zip_code |
String |
The zip code of the refund recipient’s residential address. Only displays when the refund recipient is an individual customer. |
body[].payee_mailing_address1 |
String |
The first line of the refund recipient’s mailing address. Only displays when the refund recipient is an individual customer. |
body[].payee_mailing_address2 |
String |
The second line of the refund recipient’s mailing address. Only displays when the refund recipient is an individual customer. |
body[].payee_mailing_city |
String |
The city of the refund recipient’s mailing address. Only displays when the refund recipient is an individual customer. |
body[].payee_mailing_state_or_province |
String |
The state/province of the refund recipient’s mailing address. Only displays when the refund recipient is an individual customer. |
body[].payee_mailing_zip_code |
String |
The zip code of the refund recipient’s mailing address. Only displays when the refund recipient is an individual customer. |
body[].original_receipt_number |
BigDecimal |
Receipt number of the original receipt. |
body[].receipt_number |
BigDecimal |
Receipt number of the refund receipt. |
body[].payment_type |
String |
Payment type for the refund transaction. |
body[].payment_type_id |
int |
Refund payment type ID (Mail Cheque-6, Cash-7, Credit Card-8, To Account-10, No Money-11, Gift Card-19, Debit Card-23). |
body[].refund_detail |
String |
Description of the refund transaction. |
body[].refund_amount |
BigDecimal |
The refunded amount. |
body[].gl_account_number_refund_from |
String |
G/L account number paying out the refund. |
body[].gl_account_name_refund_from |
String |
G/L account name paying out the refund. |
body[].gl_account_number_refund_to |
String |
G/L account number receiving the refund. |
body[].gl_account_name_refund_to |
String |
G/L account name receiving the refund. |
body[].transaction_site_id |
int |
ID of the transaction site. |
body[].transaction_site |
String |
Name of the transaction site. |
GetValidateLogin
Validates if the provided customer information can be used to log into the system.
Request
Request Example
POST /validatelogin HTTP/1.1
Content-Type: application/json
Accept: application/json
Content-Length: 48
Host: api.amp.active.com:8080
{"login_name":"loginname","password":"password"}
Request Headers
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Parameters
| Path | Type | Description |
|---|---|---|
|
|
Login Name |
|
|
Password |
Response
Records
This API will retrieve one record per API call depending on the specified request parameters.
One record will contain customer information of a customer who passes validation.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 387
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"customer_title" : null,
"first_name" : null,
"last_name" : null,
"middle_name" : null,
"gender" : null,
"birth_date" : null,
"age_category" : null,
"customer_id" : 0,
"photo_key" : null,
"encrypted_customer_id" : ""
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].customer_title |
String |
Title of the Customer |
body[].first_name |
String |
First Name of the Customer |
body[].last_name |
String |
Last Name of the Customer |
body[].middle_name |
String |
Middle Name of the Customer |
body[].gender |
String |
Gender of the Customer |
body[].birth_date |
Date |
Birth Date of the Customer |
body[].age_category |
String |
Age Category of the Customer |
body[].customer_id |
int |
The ID of the Customer |
body[].encrypted_customer_id |
String |
The encrypted ID of the Customer |
PostForgotPassword
The PostForgotPassword API sends a password reset email to the provided email address.
Request
Request Example
POST /forgotpassword HTTP/1.1
Content-Type: application/json
Accept: application/json
Content-Length: 17
Host: api.amp.active.com:8080
{"email":"email"}
Request Headers
| Name | Description |
|---|---|
|
application/json |
Request Parameters
| Path | Type | Description |
|---|---|---|
|
|
Email address |
Response
When ACTIVENet receives this POST request, the system validates the request and then responds with the 0000 response_code and "Successful" response_message in the HTTP body.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 113
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
response header. |
headers.response_code |
String |
response code. |
headers.response_message |
String |
response message. |
body |
Array |
The response body. |
PostForgotLoginName
Emails the login name to the provided email address.
Request
Request Example
POST /forgotloginname HTTP/1.1
Content-Type: application/json
Accept: application/json
Content-Length: 23
Host: api.amp.active.com:8080
{"email":"1@1.163.com"}
Request Headers
| Name | Description |
|---|---|
|
application/json |
Request Parameters
| Path | Type | Description |
|---|---|---|
|
|
Email address |
Response
When ACTIVENet receives this POST request, the system validates the request and then responds with the 0000 response_code and "Successful" response_message in the HTTP body.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 113
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
headers. |
headers.response_code |
String |
response code. |
headers.response_message |
String |
response message. |
body |
Array |
The body object in the response body. |
GetFamilyMembers
Returns a list of family members for the specified family IDs.
Request
Request Example
GET /familymembers?family_ids=1%2C2 HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: api.amp.active.com:8080
Request Headers
This API doesn’t support sort option or pagination, all records will be returned in one call.
| Name | Description |
|---|---|
|
application/json |
Request Parameters
| Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
family_ids |
String |
Mandatory |
You can specify up to 500 family IDs, with each ID separated by a comma. Note that if a family member belongs to more than one of the specified families, then that member is included only once in the response. |
Response
Records
This API will retrieve multiple records per API call.
Each record will contain all information of a single family member.
Number of API calls to download all requested data
For more information on how many API calls will it require to download all requested data for this API, refer here.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 513
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"customer_id" : 1,
"encrypted_customer_id" : "",
"first_name" : "First name",
"last_name" : "last name",
"customer_type" : null,
"birth_date" : "2025-10-16",
"age_category" : null,
"gender" : "",
"age" : "30.2",
"date_time_modified" : "2025-10-15 00:39:28",
"retired_status" : null,
"families" : [ {
"family_id" : 11
} ]
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].customer_id |
int |
The ID of the customer. |
body[].encrypted_customer_id |
String |
The encrypted ID of the customer. |
body[].first_name |
String |
The first name of the customer. |
body[].last_name |
String |
The last name of the customer. |
body[].customer_type |
String |
The customer type of the customer. |
body[].birth_date |
Date |
Customer’s date of birth. |
body[].age_category |
String |
Age category of the customer. |
body[].gender |
String |
Gender of the customer. |
body[].age |
String |
Age of the customer. |
body[].retired_status |
String |
Customer’s retirement status. |
body[].families[].family_id |
int |
Family ID. |
body[].date_time_modified |
datetime |
The most recent date and time when the customer information was modified. Format 'YYYY-MM-DD HH:MM:SS' (example: 2016-06-11 23:00:00) |
GetFamilyMembersByCustomerId
Returns a list of family members for the specified customer id.
Request
Request Example
GET /familymembers/1 HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: api.amp.active.com:8080
Request Headers
This API doesn’t support sort option or pagination, all records will be returned in one call.
| Name | Description |
|---|---|
|
application/json |
Response
Records
This API will retrieve multiple records per API call.
Each record will contain all information of a single family member.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 513
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"customer_id" : 1,
"encrypted_customer_id" : "",
"first_name" : "First name",
"last_name" : "last name",
"customer_type" : null,
"birth_date" : "2025-10-16",
"age_category" : null,
"gender" : "",
"age" : "30.2",
"date_time_modified" : "2025-10-15 00:39:28",
"retired_status" : null,
"families" : [ {
"family_id" : 11
} ]
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].customer_id |
int |
The ID of the customer. |
body[].encrypted_customer_id |
String |
The encrypted ID of the customer. |
body[].first_name |
String |
The first name of the customer. |
body[].last_name |
String |
The last name of the customer. |
body[].customer_type |
String |
The customer type of the customer. |
body[].birth_date |
Date |
Customer’s date of birth. |
body[].age_category |
String |
Age category of the customer. |
body[].gender |
String |
Gender of the customer. |
body[].age |
String |
Age of the customer. |
body[].retired_status |
String |
Customer’s retirement status. |
body[].families[].family_id |
int |
Family ID. |
body[].date_time_modified |
datetime |
The most recent date and time when the customer information was modified. Format 'YYYY-MM-DD HH:MM:SS' (example: 2016-06-11 23:00:00) |
GetCheckInStatus
Get activity and program date check in status.
Request
Request Example
POST /checkIn/status HTTP/1.1
Content-Type: application/json
Accept: application/json
Content-Length: 471
Host: api.amp.active.com:8080
[{"root_transaction_id":2,"start_date_time":1760575099131,"activity_date_id":null,"facility_schedule_id":null,"activity_id":1,"dc_session_date_id":null,"customer_id":null,"dc_program_id":null,"facility_id":null,"activity_instructor_id":null},{"root_transaction_id":null,"start_date_time":null,"activity_date_id":null,"facility_schedule_id":null,"activity_id":null,"dc_session_date_id":5,"customer_id":4,"dc_program_id":3,"facility_id":null,"activity_instructor_id":null}]
Request Headers
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Parameters
| Path | Type | Description |
|---|---|---|
|
|
Activity registration root transaction id |
|
|
Activity start date time |
|
|
Activity id |
|
|
Program id |
|
|
Customer id |
|
|
Session date id |
Response
This API will retrieve the activity and program date check in status.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 716
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"root_transaction_id" : 2,
"start_date_time" : "2025-10-16 00:38:19",
"activity_date_id" : null,
"facility_schedule_id" : null,
"activity_id" : 1,
"dc_session_date_id" : null,
"customer_id" : null,
"dc_program_id" : null,
"status" : 1,
"facility_id" : 0
}, {
"root_transaction_id" : null,
"start_date_time" : null,
"activity_date_id" : null,
"facility_schedule_id" : null,
"activity_id" : null,
"dc_session_date_id" : 5,
"customer_id" : 4,
"dc_program_id" : 3,
"status" : 2,
"facility_id" : 0
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].root_transaction_id |
int |
Activity registration root transaction id. |
body[].start_date_time |
String |
Activity start date time. |
body[].activity_id |
int |
Activity Id. |
body[].customer_id |
int |
Program registration customer id. |
body[].dc_program_id |
int |
Program id. |
body[].facility_id |
int |
Facility id. |
body[].status |
int |
Check in status. |
GetGenders
Returns a list of genders for your organization (by the order set in the system settings).
Request
Request Example
GET /genders HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: api.amp.active.com:8080
Request Headers
This API does not support pagination or sorting. In the request header, page_info is not required.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Parameters
None
Response
Records
This API will retrieve multiple records per API call.
Each record will contain all information of a single gender. All genders are returned in a single API response.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 274
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"gender_id" : 0,
"gender" : "Mixed"
}, {
"gender_id" : 1,
"gender" : "Male"
}, {
"gender_id" : 2,
"gender" : "Female"
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].gender_id |
int |
Gender ID |
body[].gender |
String |
Gender name |
GetStates
Returns a list of states for your organization.
Request
Request Example
GET /states HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: api.amp.active.com:8080
Request Headers
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Parameters
None
Response
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 221
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"state_id" : 1,
"state" : "California"
}, {
"state_id" : 2,
"state" : "Texas"
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The Response Header. |
headers.response_code |
String |
response code, 0000 is success. |
headers.response_message |
String |
response message. |
body |
Array |
The Response Header. |
body[].state_id |
int |
State ID |
body[].state |
String |
State Name |
PutCustomers
Customer ID is always required. Other request parameters follow the required or optional configurations on the Administration Home > Population Settings > Configuration page.
Request
Request Example
PUT /customers HTTP/1.1
Content-Type: application/json
Accept: application/json
Content-Length: 1602
Host: api.amp.active.com:8080
{
"body": [
{
"customer_id": 1,
"first_name": "xxx1",
"last_name": "ddd",
"email": "yyy@gmail.com",
"birth_date": "2005-01-11",
"middle_name": "1212",
"SSN": "123456",
"mailing_address1": "mailing_address1",
"mailing_address2": "mailing_address2",
"mailing_city": "LA",
"mailing_state_or_province_id": 44,
"mailing_zip_code": "12345",
"mailing_name": "mailing_name",
"residential_address1": "residential_address1",
"residential_address2": "residential_address2",
"residential_city": "residential_city",
"residential_state_or_province_id": 44,
"residential_zip_code": "12345",
"additional_email": "xxx@gmail.com",
"gender_id": 1,
"resident": true,
"no_mail": true,
"no_postal_mail": true,
"customer_notes": "this is notes",
"customer_medical_alert": "this is medical alert",
"customer_general_alert": "this is general alert",
"families": [
{
"family_id": 2
}
],
"preferred_language_id": 2,
"h_area": "223",
"h_phone": "1234567",
"h_ext": "1233333",
"w_area": "223",
"w_phone": "1234567",
"w_ext": "1233333",
"c_area": "223",
"c_phone": "1234567",
"c_ext": "1233333"
}
]
}
Request Headers
This API does not support pagination or sorting. In the request header, page_info is not required.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Body
| Path | Type | Description |
|---|---|---|
|
|
Customer list to be added |
|
|
Customer’s first name. |
|
|
Customer’s first name. |
|
|
The last name of the customer. |
|
|
The email address of the customer. |
|
|
Customer’s date of birth.Format: yyyy-MM-dd |
|
|
Middle Name of the Customer. |
|
|
Social Security number. |
|
|
The first line of the customer’s mailing address. |
|
|
The second line of the customer’s mailing address. |
|
|
The city of the customer’s mailing address. |
|
|
The state/province of the customer’s mailing address. |
|
|
The zip code of the customer’s mailing address. |
|
|
The customer’s mailing name that used on mail-outs and statements. |
|
|
The first line of the customer’s residential address. |
|
|
The second line of the customer’s residential address. |
|
|
The city of the customer’s residential address. |
|
|
The state/province ID of the customer’s residential address. |
|
|
The zip code of the customer’s residential address. |
|
|
The additional email address of the customer. |
|
|
The gender ID of the customer. |
|
|
Customer’s resident status. |
|
|
Whether the customer agree on receiving promotional emails. false means to agree to receive promotional emails. |
|
|
Whether the customer agree to receive postal mails. false means to agree to receive promotional mails. |
|
|
Customer notes. |
|
|
Customer medical alert. |
|
|
Customer general alert (staff use only). |
|
|
The preferred language of the customer. English= 1; French=2; Spanish=3 |
|
|
Family list to be add into. |
|
|
Family ID. |
|
|
Home phone area code. |
|
|
Home phone phone number. |
|
|
Home phone extension number. |
|
|
Work phone area code. |
|
|
Work phone phone number. |
|
|
Work phone extension number. |
|
|
Cell phone area code. |
|
|
Cell phone phone number. |
|
|
Cell phone extension number. |
Response
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 468
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"successfully_updated_customer" : [ {
"customer_id" : 1,
"first_name" : "first_name",
"last_name" : "last_name",
"email" : "email"
} ],
"failed_updated_customer" : [ {
"first_name" : "first_name",
"last_name" : "last_name",
"email" : "email",
"failed_error" : "error"
} ]
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
response header. |
headers.response_code |
String |
response code. |
headers.response_message |
String |
response message. |
body |
Array |
The response body. |
body[].successfully_updated_customer |
Array |
The information of successfully updated customers. |
body[].successfully_updated_customer[].customer_id |
int |
ActiveNet customer ID of the successfully updated customer. |
body[].successfully_updated_customer[].first_name |
String |
ActiveNet First Name of the successfully updated customer. |
body[].successfully_updated_customer[].last_name |
String |
ActiveNet Last Name of the successfully updated customer. |
body[].successfully_updated_customer[].email |
String |
Email of the successfully updated customer. |
body[].failed_updated_customer |
Array |
The information of the customers who failed to update. |
body[].failed_updated_customer[].email |
String |
Email of the customer who failed to update. |
body[].failed_updated_customer[].first_name |
String |
First name of the customer who failed to update. |
body[].failed_updated_customer[].last_name |
String |
Last name of the customer who failed to update. |
body[].failed_updated_customer[].failed_error |
String |
Error for the customer who failed to update. |
PostFamily
Create a family for the specified customer. With a family_id added to the specified customer. Calling this API require a write-access API key. To apply for a write-access API key, please contact the ACTIVENet support team.
Request
Request Example
POST /family HTTP/1.1
Content-Type: application/json
Accept: application/json
Content-Length: 18
Host: api.amp.active.com:8080
{"customer_id": 1}
Request Headers
This API does not support pagination or sorting. In the request header, page_info is not required.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Body
| Path | Type | Description |
|---|---|---|
|
|
ActiveNet customer ID of the customer. |
Response
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 268
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"customer_id" : 0,
"first_name" : null,
"last_name" : null,
"family_id" : 0,
"families" : null,
"failed_error" : null
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].customer_id |
int |
ActiveNet customer ID of the successfully updated customer. |
body[].first_name |
String |
First name of the successfully updated customer. |
body[].last_name |
String |
Last name of the successfully updated customer. |
body[].family_id |
int |
New Family ID of the successfully updated customer. |
body[].families[].family_id |
int |
Family ID(s) of the successfully updated customer. |
body[].failed_error |
String |
Error occurred for the failed updated customer. |
PostCustomersSubsidyAllocations
Add new subsidy allocations to the specified customers for the specified subsidy programs. Calling this API requires a write-access API key. To apply for a write-access API key, please contact the ACTIVENet support team.
Request
Request Example
POST /customersubsidyallocations HTTP/1.1
Content-Type: application/json
Accept: application/json
Content-Length: 188
Host: api.amp.active.com:8080
{
"body": [
{
"customer_id": "1",
"subsidy_id": "1"
},
{
"customer_id": "2",
"subsidy_id": "1"
}
]
}
Request Headers
This API does not support pagination or sorting. In the request header, page_info is not required.
| Name | Description |
|---|---|
|
application/json |
|
application/json |
Request Body
| Path | Type | Description |
|---|---|---|
|
|
Customer subsidy list to be added |
|
|
ActiveNet customer ID of the customer. |
|
|
The subsidy ID. |
Response
Response Example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 802
{
"headers" : {
"response_code" : "0000",
"response_message" : "Successful"
},
"body" : [ {
"successfully_updated_customer" : [ {
"customer_id" : 1,
"first_name" : "first_name",
"last_name" : "last_name",
"subsidy_id" : 1,
"subsidy_name" : "subsidy_name",
"customer_subsidy_id" : 2,
"customer_subsidy_allocation_id" : 3,
"subsidy_allocation_start_date" : "2025-10-16",
"subsidy_allocation_end_date" : "2026-10-15",
"subsidy_allocation_amount" : 500
} ],
"failed_updated_customer" : [ {
"customer_id" : 2,
"first_name" : "first_name",
"last_name" : "last_name",
"subsidy_id" : 1,
"subsidy_name" : "subsidy_name",
"failed_detail" : "error"
} ]
} ]
}
Response Headers
| Name | Description |
|---|---|
|
application/json |
Response Body
| Field | Type | Description |
|---|---|---|
headers |
Object |
The headers object in the response body. |
headers.response_code |
String |
Response code (0000 indicates success). |
headers.response_message |
String |
Response message. |
body |
Array |
The body object in the response body. |
body[].successfully_updated_customer |
Array |
The array object of the customers who have been successfully assigned subsidy allocations. |
body[].successfully_updated_customer[].customer_id |
int |
ActiveNet customer ID of the customer who has been successfully assigned subsidy allocations. |
body[].successfully_updated_customer[].first_name |
String |
First name of the customer who has been successfully assigned subsidy allocations. |
body[].successfully_updated_customer[].last_name |
String |
Last name of the customer who has been successfully assigned subsidy allocations. |
body[].successfully_updated_customer[].subsidy_id |
int |
Subsidy ID of the subsidy program allocated to the customer (Subsidy ID). |
body[].successfully_updated_customer[].subsidy_name |
String |
Subsidy name of the subsidy program allocated to the customer. |
body[].successfully_updated_customer[].customer_subsidy_id |
int |
The ID of the subsidy in the customer’s subsidy list (Customer’s subsidy ID). |
body[].successfully_updated_customer[].customer_subsidy_allocation_id |
int |
The allocation ID of the customer’s subsidy. |
body[].successfully_updated_customer[].subsidy_allocation_start_date |
Date |
The allocation start date of the subsidy program allocated to the customer. |
body[].successfully_updated_customer[].subsidy_allocation_end_date |
Date |
The allocation end date of the subsidy program allocated to the customer. |
body[].successfully_updated_customer[].subsidy_allocation_amount |
BigDecimal |
The allocation amount allocated to the customer. |
body[].failed_updated_customer |
Array |
The array object of customers who failed to be assigned with subsidy allocations. |
body[].failed_updated_customer[].customer_id |
int |
ActiveNet customer ID of the customer who failed to be assigned with subsidy allocations. |
body[].failed_updated_customer[].first_name |
String |
First name of the customer who failed to be assigned with subsidy allocations. |
body[].failed_updated_customer[].last_name |
String |
Last name of the customer who failed to be assigned with subsidy allocations. |
body[].failed_updated_customer[].failed_detail |
String |
Detailed message describing the failure to allocate the subsidy to the customer. |
body[].failed_updated_customer[].subsidy_id |
int |
Subsidy ID of the program that failed to be assigned to the customer. |
body[].failed_updated_customer[].subsidy_name |
String |
Subsidy name of the program that failed to be assigned to the customer. |