Permissions
Beacon details and endpoints for Permission resources
Overview
The Permissions resource provides information about a Partner’s access status to the Covered Entities they manage, including which Covered Entities have granted access and the level of access granted. Read Permissions allow Partners to retrieve data for Covered Entities within the Permissions list, while Read and Write Permissions enable Partners to both retrieve and submit data on behalf of those entities.
Covered Entities are required to manage and grant access to Partners within their Beacon account. View the Beacon Partners guide to learn more.
If no data is returned, you do not have any Permissions associated with your account.
When you provide anentity_idto the Permissions endpoint you will receive a filtered response for only that entity ID. You will only receive this filtered response if you have Permissions to submit for that entity_id. If you do not have Permissions for that entity ID, nothing will be returned.
Endpoints
Query params
Optionally required parameters require at least one parameter to be present in the request.
| Param | Required | Description | Example |
|---|---|---|---|
| entity_id | false | 340B ID of Covered Entity | DSH12345 |
Permissions
Get Partner Permissions for all Covered Entities. The API will return an empty response if no Covered Entities have added the Partner.
Request
GET /api/permissions
Response
{
'permissions': [
{
'entity_id': 'DSH12345',
'permission': 'read'
},
{
'entity_id': 'DSH987654',
'permission': 'read_write'
},
]
}{
'permissions': []
}Entity Permissions
Get Partner Permissions for specified Covered Entity.
Request
GET /api/permissions?entity_id={entity_id}
Response
{
'permissions': [
{
'entity_id': 'DSH12345',
'permission': 'read'
}
]
}{
'permissions': []
}Response Data Reference
| Field | Definition |
|---|---|
| entity_id | 340B ID of the Covered Entity |
| permission | 'read' or 'read_write' |
Updated 12 months ago