HTTP proxy API in front of TIMIFY GraphQL services. Generated from Express routes and route analysis docs.
- Update enterprise group service category
TIMIFY Developer API GraphQL Proxy (0.0.4)
Request
The URL parameter "categoryId" can be used in two ways: - use the unique ID of the group service category assigned by TIMIFY ("categoryId"). In this case, you don't need the QUERY parameter "external" - use the "externalId" that you added to this group service category. 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 "categoryId" assigned by TIMIFY You can add "externalId" to the service category with the Developer API endpoints POST /services/categories and PATCH /services/categories/:categoryId
- Mock serverhttps://docs2.timify.com/_mock/apis/openapi/v1/enterprise-group-services/categories/{categoryId}
- Productionhttps://api.timify.com/v1/enterprise-group-services/categories/{categoryId}
- Staginghttps://api-stg.timify.com/v1/enterprise-group-services/categories/{categoryId}
- Local developmenthttp://localhost:3030/v1/enterprise-group-services/categories/{categoryId}
- 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/categories/65f4c840b6f1a10012ab34cd?external=true' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'company-id: 65f4c840b6f1a10012ab34cd'{ "data": { "id": "65f4c840b6f1a10012ab34cd", "externalId": "ext-cat-wellness", "name": "Wellness & Fitness", "description": "All wellness and fitness courses", "orderIndex": 1, "color": "#00AA00", "servicesCount": 5, "createdAt": "2024-01-15T10:30:00Z", "updatedAt": "2024-03-07T14:22:15Z", "ts": 1709823735 }, "status": 1 }
Affected branch ids.
Affected branch external ids.
- Mock serverhttps://docs2.timify.com/_mock/apis/openapi/v1/enterprise-group-services/categories/{categoryId}
- Productionhttps://api.timify.com/v1/enterprise-group-services/categories/{categoryId}
- Staginghttps://api-stg.timify.com/v1/enterprise-group-services/categories/{categoryId}
- Local developmenthttp://localhost:3030/v1/enterprise-group-services/categories/{categoryId}
- 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/categories/65f4c840b6f1a10012ab34cd?external=true' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-H 'company-id: 65f4c840b6f1a10012ab34cd' \
-d '{
"affected_branch_ids": [
"65f4c840b6f1a10012ab34cd"
],
"affected_branch_external_ids": [
"65f4c840b6f1a10012ab34cd"
],
"name": "example",
"external_id": "65f4c840b6f1a10012ab34cd"
}'{ "data": { "id": "65f4c840b6f1a10012ab34cd", "externalId": "ext-cat-wellness", "name": "Wellness & Fitness Programs", "description": "Comprehensive wellness and fitness courses for all levels", "orderIndex": 2, "color": "#00BB00", "servicesCount": 5, "updatedAt": "2024-03-07T14:22:15Z", "ts": 1709823735 }, "status": 1 }
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 }