HTTP proxy API in front of TIMIFY GraphQL services. Generated from Express routes and route analysis docs.
- Delete enterprise group service category
TIMIFY Developer API GraphQL Proxy (0.0.4)
- Mock serverhttps://docs2.timify.com/_mock/apis/openapi/v1/enterprise-group-services/categories
- Productionhttps://api.timify.com/v1/enterprise-group-services/categories
- Staginghttps://api-stg.timify.com/v1/enterprise-group-services/categories
- Local developmenthttp://localhost:3030/v1/enterprise-group-services/categories
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs2.timify.com/_mock/apis/openapi/v1/enterprise-group-services/categories \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-H 'company-id: 65f4c840b6f1a10012ab34cd' \
-d '{
"name": "example",
"external_id": "65f4c840b6f1a10012ab34cd",
"affected_branch_ids": [
"65f4c840b6f1a10012ab34cd"
],
"affected_branch_external_ids": [
"65f4c840b6f1a10012ab34cd"
]
}'{ "data": { "id": "65f6e062d8h3c31234cd56eg", "externalId": "ext-cat-tech", "name": "Technology & IT", "description": "Technology training and IT professional development", "orderIndex": 3, "color": "#FF6600", "createdAt": "2024-03-07T10:30:00Z", "updatedAt": "2024-03-07T10:30:00Z", "ts": 1709823000 }, "status": 1 }
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 group service with the Developer API endpoints POST /group-services/caetgories and PATCH /group-service/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 DELETE \
'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", "deletedAt": "2024-03-07T14:22:15Z", "ts": 1709823735 }, "status": 1 }
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 }