Get Service Provider by Id - GET /ServiceProviders/{id} (v2.0 and up)
Get details of service provider according to Service Provider Id.
The ‘Manage Roles’ or ‘Manage Users’ permission is required to execute this API.
Usage:
GET /ServiceProviders/{id} and get details of service provider
URL
/cxrestapi/auth/ServiceProvider/{id}
Method:
GET
Media Type (header):
Authorization: Bearer <access token value>
Accept: application/json;v=1.0
Parameters
id=[integer] - Unique Id of the service provider
Success Response:
Code: 200 Success
Error Response:
Code: 400 Bad Request
Code: 401 Unauthorized
Code: 403 Forbidden
Code: 404 Not Found
Sample Response:
{
"id": 3,
"name": "management-and-orchestration"
}
Notes:
Retrieves service provider details according to the specified service provider Id. If the request fails, it returns an error response.
Related content
Send Documentation Feedback - If you have comments about this documentation, you can contact the documentation team by sending your feedback to us. We appreciate your feedback!