Use this API to allow users to get the grants of a customer based on customer ID. The response will have all the grants.
Actor | Permission |
---|---|
User | All of the following are required:
|
Client Application | No additional permission is required. |
Response for get grants operation
No content
Bad Request
Unauthorized
Forbidden
Not Found
Not Acceptable
Internal server error
GET /core/customermgr/v3/customer/1003/grants
{- "grantsOn": {
- "customer": [
- {
- "link": [
- {
- "rel": "customer",
- "href": "/core/customermgr/v3/customer/1000"
}
], - "customerName": "Kerry Simpson",
- "id": "1000"
}
]
}, - "grantsTo": {
- "customer": [
- {
- "link": [
- {
- "rel": "customer",
- "href": "/core/customermgr/v3/customer/1005"
}
], - "customerName": "Jacob Marshall",
- "id": "1005"
}, - {
- "link": [
- {
- "rel": "customer",
- "href": "/core/customermgr/v3/customer/1011"
}
], - "customerName": "John Tierney",
- "id": "1011"
}
]
}
}