Allows to activate previously blocked cooperation. Option available only for users with administrator role.
Url parameters and connection settings
- URL: https://api.platform.trans.eu
- Endpoint: /ext/partners-api/v1/partners/:partnerId/active
- Method: POST
Headers
- Content-type: application/json
- Accept: application/json
- Authorization: Bearer {access_token}
- Api-key: {unique_app_api-key}
Authorization and access
Authorization process is described here. Each API request must also consist of unique Api-key obtained during application registration together with client_id and client_secret.
Example request
POST https://api.platform.trans.eu/partners-api/v1/partners/bbaaf152-3a27-4c6b-9cc9-17aa8c47e16e/active
Status codes
- 200 OK — with empty table — cooperation active
- 400 — Bad request — Invalid UUID format — invalid partnerId
- 422 — Unprocessable Entity — some validation rules have not been met — body should be left empty