HTTP proxy API in front of TIMIFY GraphQL services. Generated from Express routes and route analysis docs.
- Fetch enterprise group service
TIMIFY Developer API GraphQL Proxy (0.0.4)
Request
The URL parameter "serviceId" can be used in two ways: - use the unique ID of the service assigned by TIMIFY ("serviceId"). In this case, you don't need the QUERY parameter "external" - use the "externalId" that you added to this service. In this case, you need to add the parameter "external" ( for ex.: /?external=1) so the Developer API will search by your "externalId" and not by "serviceId" assigned by TIMIFY You can add "externalId" to the service with the Developer API endpoints POST /services and PATCH /service/:serviceId
- Mock serverhttps://docs2.timify.com/_mock/apis/openapi/v1/enterprise-group-services/{groupServiceId}
- Productionhttps://api.timify.com/v1/enterprise-group-services/{groupServiceId}
- Staginghttps://api-stg.timify.com/v1/enterprise-group-services/{groupServiceId}
- Local developmenthttp://localhost:3030/v1/enterprise-group-services/{groupServiceId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs2.timify.com/_mock/apis/openapi/v1/enterprise-group-services/65f4c840b6f1a10012ab34cd?external=true' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'company-id: 65f4c840b6f1a10012ab34cd'{ "data": { "id": "65f4c840b6f1a10012ab34cd", "externalId": "ext-course-001", "name": "Advanced Yoga Workshop", "price": 299.99, "maxParticipants": 20, "deletedAt": "2024-03-07T14:22:15Z", "ts": 1709823735 }, "status": 1 }
Request
The URL parameter "groupServiceId" can be used in two ways: - use the unique ID of the service assigned by TIMIFY ("groupServiceId"). In this case, you don't need the QUERY parameter "external" - use the "externalId" that you added to this service. In this case, you need to add the parameter "external" ( for ex.: /?external=1) so the Developer API will search by your "externalId" and not by "serviceId" assigned by TIMIFY You can add "externalId" to the service with the Developer API endpoints POST /services and PATCH /services/:groupServiceId
- Mock serverhttps://docs2.timify.com/_mock/apis/openapi/v1/enterprise-group-services/{groupServiceId}
- Productionhttps://api.timify.com/v1/enterprise-group-services/{groupServiceId}
- Staginghttps://api-stg.timify.com/v1/enterprise-group-services/{groupServiceId}
- Local developmenthttp://localhost:3030/v1/enterprise-group-services/{groupServiceId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs2.timify.com/_mock/apis/openapi/v1/enterprise-group-services/65f4c840b6f1a10012ab34cd?external=true&with_full_attributes=true' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'company-id: 65f4c840b6f1a10012ab34cd'{ "data": { "id": "65f4c840b6f1a10012ab34cd", "externalId": "ext-course-001", "name": "Advanced Yoga Workshop", "description": "8-week intensive yoga program for intermediate practitioners", "duration": 60, "durationBefore": 10, "durationAfter": 5, "price": 299.99, "currency": "USD", "maxParticipants": 20, "minParticipants": 5, "currentParticipants": 12, "isBookable": true, "isCourse": true, "categoryId": "65f5d950c7g2b20123bc45de", "categoryName": "Wellness & Fitness", "resourceIds": [ … ], "scheduleType": "RECURRING", "frequency": "WEEKLY", "upcomingSessions": 8, "totalCompletedParticipants": 45, "color": "#00AA00", "orderIndex": 1, "createdAt": "2024-03-01T10:30:00Z", "updatedAt": "2024-03-07T14:22:15Z", "ts": 1709823735 }, "status": 1 }
Request
The URL parameter "groupServiceId" can be used in two ways: - use the unique ID of the group service assigned by TIMIFY ("groupServiceId"). In this case, you don't need the QUERY parameter "external" - use the "externalId" that you added to this service. In this case, you need to add the parameter "external" ( for ex.: /?external=1) so the Developer API will search by your "externalId" and not by "groupServiceId" assigned by TIMIFY You can add "externalId" to the group service with the Developer API
Affected branch ids.
Affected branch external ids.
- Mock serverhttps://docs2.timify.com/_mock/apis/openapi/v1/enterprise-group-services/{groupServiceId}
- Productionhttps://api.timify.com/v1/enterprise-group-services/{groupServiceId}
- Staginghttps://api-stg.timify.com/v1/enterprise-group-services/{groupServiceId}
- Local developmenthttp://localhost:3030/v1/enterprise-group-services/{groupServiceId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://docs2.timify.com/_mock/apis/openapi/v1/enterprise-group-services/65f4c840b6f1a10012ab34cd?external=true' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-H 'company-id: 65f4c840b6f1a10012ab34cd' \
-d '{
"has_online_payment": true,
"is_bookable": true,
"is_stalled": true,
"is_payment_mandatory": true,
"affected_branch_ids": [
"65f4c840b6f1a10012ab34cd"
],
"affected_branch_external_ids": [
"65f4c840b6f1a10012ab34cd"
],
"name": "example",
"external_id": "65f4c840b6f1a10012ab34cd",
"category_id": "65f4c840b6f1a10012ab34cd",
"description": "example",
"color": "active",
"duration": 20,
"duration_before": 20,
"duration_after": 20,
"durations_pattern": [
15
],
"price": 19.9,
"max_participants": 20,
"dependencies": "example",
"maximum_lead_time": "09:30",
"minimum_lead_time": "09:30",
"cancellation_lead_time": "09:30",
"attributes": "example",
"location": {
"key": "value"
}
}'{ "data": { "id": "65f4c840b6f1a10012ab34cd", "externalId": "ext-course-001", "name": "Advanced Yoga Workshop - Spring 2024", "description": "10-week intensive yoga program for intermediate practitioners", "duration": 75, "durationBefore": 10, "durationAfter": 5, "price": 349.99, "currency": "USD", "maxParticipants": 25, "minParticipants": 5, "isBookable": true, "isCourse": true, "categoryId": "65f5d950c7g2b20123bc45de", "resourceIds": [ … ], "scheduleType": "RECURRING", "frequency": "WEEKLY", "color": "#00AA00", "updatedAt": "2024-03-07T14:22:15Z", "ts": 1709823735 }, "status": 1 }