User authentication and session management for B2B integrations
Business Management (1.0.0)
Full-featured B2B API for business operations.
Base URL: https://api.alteg.io/api
V1 will be gradually deprecated. We recommend using V2 API for new integrations. V1 endpoints are maintained for backward compatibility, but new features will be released in V2 only.
Request
This endpoint is deprecated. Use GET /v2/companies/{company_id}/positions instead.
The method allows you to get a list of current positions in the location.
Migration: The V2 Positions API provides enhanced functionality with full CRUD operations, pagination, and JSON:API format responses. See operation list_positions_v2 for details.
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/company/{location_id}/staff/positions
- Productionhttps://api.alteg.io/api/v1/company/{location_id}/staff/positions
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/company/{location_id}/staff/positions' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>'{ "data": [ { … } ], "meta": [ {} ], "success": true }
Request
This endpoint is deprecated. Use POST /v2/companies/{company_id}/positions instead.
Creates a new position in a location; position is created as a chain entity and at the same time linked to a location initiated its creation.
Migration: The V2 Positions API provides full CRUD operations with enhanced validation and JSON:API format responses. See operation create_position_v2 for details.
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/company/{location_id}/positions/quick
- Productionhttps://api.alteg.io/api/v1/company/{location_id}/positions/quick
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://developer.alteg.io/_mock/en/b2b-v1/openapi/company/123/positions/quick \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"title": "Position"
}'{ "success": true, "data": { "id": 123, "chain_id": 123, "title": "Position", "description": "Position description", "services_binding_type": 0, "rules_required_fields": [ … ], "only_chain_appointment": false }, "meta": {} }