Get unassigned roles
get/roles/unassigned
Returns roles that are assigned at the parent context. These unassigned roles can be added as inherited roles.
1{2 "links": [3 {4 "method": "GET",5 "rel": "self",6 "href": "/clinicalRepository/roles/unassigned?sortBy=name:ascending:primary,name:descending:secondary&start=0&limit=100",7 "uri": "/clinicalRepository/roles/unassigned?sortBy=name:ascending:primary,name:descending:secondary&start=0&limit=100",8 "type": "application/vnd.sas.collection",9 "itemType": "application/vnd.sas.clinical.role+json"10 },11 {12 "method": "GET",13 "rel": "collection",14 "href": "/clinicalRepository/roles/unassigned",15 "uri": "/clinicalRepository/roles/unassigned",16 "type": "application/vnd.sas.collection",17 "itemType": "application/vnd.sas.clinical.role+json"18 }19 ],20 "name": "roles",21 "accept": "application/vnd.sas.clinical.role+json",22 "start": 0,23 "count": 2,24 "items": [25 {26 "version": 1,27 "createdBy": "sastest1",28 "creationTimeStamp": "2023-08-30T12:23:48.037000Z",29 "modifiedBy": "sastest1",30 "modifiedTimeStamp": "2023-09-19T19:00:42.594000Z",31 "id": "f93ed790-c745-445d-8b67-304b478bb78b",32 "typeId": "roleassignment",33 "createdByDisplayName": "SAS Test User 1 (sastest1)",34 "modifiedByDisplayName": "SAS Test User 1 (sastest1)",35 "name": "role1",36 "displayName": "role1",37 "assignedContextId": "cac68a83-2f9b-4e45-859f-1163581edf1e",38 "assignedContextTypeId": "businessunit",39 "definedContextId": "cac68a83-2f9b-4e45-859f-1163581edf1e",40 "definedContextTypeId": "businessunit",41 "inherited": false42 },43 {44 "version": 1,45 "createdBy": "sastest1",46 "creationTimeStamp": "2023-08-30T12:23:48.037000Z",47 "modifiedBy": "sastest1",48 "modifiedTimeStamp": "2023-09-19T19:00:42.594000Z",49 "id": "554a9400-0962-454d-9cb4-394772e2ea74",50 "typeId": "roleassignment",51 "createdByDisplayName": "SAS Test User 1 (sastest1)",52 "modifiedByDisplayName": "SAS Test User 1 (sastest1)",53 "name": "role2",54 "displayName": "role2",55 "assignedContextId": "cac68a83-2f9b-4e45-859f-1163581edf1e",56 "assignedContextTypeId": "businessunit",57 "definedContextId": "cac68a83-2f9b-4e45-859f-1163581edf1e",58 "definedContextTypeId": "businessunit",59 "inherited": false60 }61 ],62 "limit": 100,63 "version": 264}
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | OK | Schema |