Appointment, bookable appointment and slots operations
- Sets additional information field assignments
PerfectGym Next API (1.20.1)
- Appointment, bookable appointment and slots operations
- Redeem checkin vouchers
- Class and slots operations
- Cross studio operations
- Get customers and contracts
- Retrieve customer accounting details
- Retrieve customer communication details
- Retrieve customer transaction details
- Get device information
- Employee operations
- Debt collection operations
- Leads operations
- Get member lists
- Manage membership contracts
- Membership operations
- Online offer operations
- Payment operations
- Get studio information
- Get trial offers information
https://open-api-demo.open-api.perfectgym.com/
https://redocly.sportalliance.com/_mock/apis/perfectgym/openapi/openapi/
- Demo tenant
https://open-api-demo.open-api.perfectgym.com/v1/customers/additional-information-fields
- Mock server
https://redocly.sportalliance.com/_mock/apis/perfectgym/openapi/openapi/v1/customers/additional-information-fields
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://open-api-demo.open-api.perfectgym.com/v1/customers/additional-information-fields \
-H 'X-API-KEY: YOUR_API_KEY_HERE'OK
The type of an additional information field. This defines how the field is used and what kind of data it can hold.
| Enum Value | Description |
|---|---|
| DATE | This field holds a date value, used for storing dates. |
| NUMERIC | This field holds a numeric value, used for storing numbers. |
| TEXT | This field holds a text value, used for storing free-form text input. |
| LIST | This field holds a list of items, allowing selection from predefined options. |
| BOOLEAN | This field holds a boolean value, typically used for yes/no questions. |
A list of list items. This is only used if the field type is a list.
[ { "id": 1234567890, "name": "Membership Type", "type": "BOOLEAN", "abbreviation": "MT", "listItems": [ … ] } ]
The unique ID of the additional information field
The value of the additional information field assignment. For list fields this is the id of the selected item, for text fields this is the text value, for numeric fields must be positive or negative integers, for date fields this is the date in ISO-8601 format, and for boolean fields this is 'true' or 'false'.
- Demo tenant
https://open-api-demo.open-api.perfectgym.com/v1/customers/{customerId}/additional-information-field-assignments
- Mock server
https://redocly.sportalliance.com/_mock/apis/perfectgym/openapi/openapi/v1/customers/{customerId}/additional-information-field-assignments
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://open-api-demo.open-api.perfectgym.com/v1/customers/{customerId}/additional-information-field-assignments' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '[
{
"additionalInformationFieldId": 1234567890,
"value": "string",
"name": "Membership Type"
}
]'OK
The unique ID of the additional information field
The value of the additional information field assignment. For list fields this is the id of the selected item, for text fields this is the text value, for numeric fields must be positive or negative integers, for date fields this is the date in ISO-8601 format, and for boolean fields this is 'true' or 'false'.
[ { "additionalInformationFieldId": 1234567890, "value": "string", "name": "Membership Type" } ]
Date of the switch. The date must be the current date or in the past
- Demo tenant
https://open-api-demo.open-api.perfectgym.com/v1/customers/{customerId}/switch-studio
- Mock server
https://redocly.sportalliance.com/_mock/apis/perfectgym/openapi/openapi/v1/customers/{customerId}/switch-studio
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://open-api-demo.open-api.perfectgym.com/v1/customers/{customerId}/switch-studio' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"targetStudioId": 123456789,
"switchDate": "2024-01-01",
"description": "string"
}'