Approves or rejects api integration requests.
To approve and/or reject integration activation request. User sending the request must belong to the company that contains API Integrator tool.
Request parameter requestId must be valid. If it has expired, 410 error is returned.
The number of companyId in request body in approve and reject combined must match the number of companyId returned in GET /integrations/{requestId} response in companiesToIntegrate. Otherwise, 400 is returned.
If the request is successful, a technical user with the 'API technical user' role is added to all the approved companies, and an API key for the technical user is generated and returned. If the technical user already belonged to the approved environment (i.e. it was added manually via the 'old' way), its existing API key is returned.
Request
- Base URL: https://pts-api.procountor.com/api
- URL: https://pts-api.procountor.com/api/integrations/{requestId}
- Auth: HTTP bearer
Path parameters
Id of the API integration request
Request body
Response
The API integration request was successfully approved/rejected.
Changes
No recorded changes to this operation across all 1 revision of this API.