TBD: Create Swagger Specification for These Operations
System of Record (SOR) Person Role Added
It is up to the Identity Registry to determine how to map the provided attributes to its internal data model.
In these examples, hrms is the SOR, X12345 is the SORID, and R98765 and R98766 are SOR Role IDs. The SOR Role ID must be unique for the SOR Person, but need not be unique across all SOR Roles.
Request Using Separate Person-Level and Role-Level Attributes
Code Block |
---|
PUT .../v1/SorPerson/hrms:X12345 { "sorAttribute": { "names":[ { "type":"official", "given":"Pat", "family":"Lee" } ], "dateOfBirth":"1983-03-18" } } PUT /v1/SorPerson/hrms:X12345/Role/id:R98765 { "sorAttributes": { "title":"Professor of Phrenology" "percentTime":"50%" } } PUT /v1/SorPerson/hrms:X12345/Role/id:R98766 { "sorAttributes": { "title":"Administrative Assistant" "percentTime":"20%" } } |
Response
Response | Description |
---|---|
| Request successfully processed |
| There was a problem with the data submitted |
| Authentication required |
| Client is attempting to operate outside of its authority (eg: to the wrong SOR path); Optional – server may return |
| Unknown error |
...