Team member and position management.
/
Delete Event (v2)
Business Management (2.0.0)
Next-generation B2B API with improved design and consistency.
Base URL: https://api.alteg.io/api
V2 is in active development. This API version is being actively developed and expanded. New features and improvements are released here first. We recommend using V2 for all new integrations.
Requires both partner and user authorization:
Authorization: Bearer <partner_token>, User <user_token>Download OpenAPI description
Overview
Languages
Servers
Mock server
https://developer.alteg.io/_mock/en/b2b-v2/openapi/
Production
https://api.alteg.io/api/v2/
Bodyapplication/jsonrequired
List of resource instance IDs (required, can be empty)
Technical break duration (multiples of 300, max 3600)
One of:
Technical break duration (multiples of 300, max 3600)
integer
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v2/openapi/companies/{location_id}/activities/{event_id}
- Productionhttps://api.alteg.io/api/v2/companies/{location_id}/activities/{event_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://developer.alteg.io/_mock/en/b2b-v2/openapi/companies/{location_id}/activities/{event_id}' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"staff_id": 0,
"service_id": 0,
"resource_instance_ids": [
0
],
"label_ids": [
0
],
"date": "2019-08-24T14:15:22Z",
"length": 0,
"technical_break_duration": 0,
"capacity": 0,
"comment": "string",
"color": "string",
"instructions": "string",
"stream_link": "string",
"force": false
}'Response
application/json
{ "data": { "type": "activity", "id": "10126531", "attributes": { … } }, "meta": [ {} ] }
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v2/openapi/companies/{location_id}/activities/{event_id}
- Productionhttps://api.alteg.io/api/v2/companies/{location_id}/activities/{event_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://developer.alteg.io/_mock/en/b2b-v2/openapi/companies/{location_id}/activities/{event_id}' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>'Bodyapplication/jsonrequired
Client information
Middle name (legacy field name)
Example: null
One of:
Middle name (legacy field name)
string
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v2/openapi/companies/{location_id}/activities/{event_id}/records
- Productionhttps://api.alteg.io/api/v2/companies/{location_id}/activities/{event_id}/records
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://developer.alteg.io/_mock/en/b2b-v2/openapi/companies/{location_id}/activities/{event_id}/records' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"client_id": 123456,
"client": {
"id": 123456,
"name": "John",
"phone": "+13155550175",
"email": "john@example.com",
"surname": "Smith",
"patronymic": null,
"gender": 0,
"birthday": "1990-01-01",
"custom_field_values": [
{
"code": "string",
"value": "string"
}
],
"agreements": [
{
"is_newsletter_allowed": true,
"is_personal_data_processing_allowed": true
}
]
},
"comer_id": 500,
"comer": {
"name": "Guest User"
},
"labels": [
1,
2
],
"clients_count": 1
}'Response
application/json
{ "data": { "type": "record", "id": "624798251", "attributes": { … } }, "meta": [ {} ] }