If the data model has been extended using simple extended attributes, the CoPersonRole API will automatically accept and return the extended attributes, with one exception: Retrieving all CO People Roles via will not retrieve their extended attributes. This is largely due to performance reasons and how the underlying framework is structured. |
Add a new CO Person Role.
Method |
|
---|---|
URL |
|
Request Body |
HTTP Status | Response Body | Description |
---|---|---|
| NewObjectResponse with | CoPersonRole created |
|
| CoPersonRole Request not provided in POST body |
| ErrorResponse with details in | An error in one or more provided fields |
|
| Authentication required |
|
| The specified COU does not exist |
|
| Unknown error |
Remove a CO Person Role.
Method |
|
---|---|
URL |
|
Request Body |
|
HTTP Status | Response Body | Description |
---|---|---|
|
| CoPersonRole deleted |
|
|
|
|
| Authentication required |
|
|
|
|
| Unknown error |
Edit an existing CO Person Role.
Method |
|
---|---|
URL |
|
Request Body |
HTTP Status | Response Body | Description |
---|---|---|
|
| CoPersonRole updated |
|
| CoPersonRole Request not provided in POST body |
| ErrorResponse with details in | An error in one or more provided fields |
|
| Authentication required |
|
| The specified COU does not exist |
|
|
|
|
| Unknown error |
Retrieve all existing CO Person Roles.
Method |
|
---|---|
URL |
|
Request Body |
|
HTTP Status | Response Body | Description |
---|---|---|
| CoPersonRoles returned | |
|
| Authentication required |
|
| Unknown error |
Retrieve all existing CO Person Roles for the specified CO Person. Available since Registry v2.0.0.
Method |
|
---|---|
URL |
|
Request Body |
|
HTTP Status | Response Body | Description |
---|---|---|
| CoPersonRoles returned | |
|
| Authentication required |
|
|
|
|
| Unknown error |
Retrieve all existing CO Person Roles for the specified COU.
Method |
|
---|---|
URL |
|
Request Body |
|
HTTP Status | Response Body | Description |
---|---|---|
| CoPersonRoles returned | |
|
| Authentication required |
|
|
|
|
| Unknown error |
Retrieve an existing CO Person Role.
Method |
|
---|---|
URL |
|
Request Body |
|
HTTP Status | Response Body | Description |
---|---|---|
| CoPersonRole returned | |
|
| Authentication required |
|
|
|
|
| Unknown error |