Each CO Person and each Org Identity must have exactly one Name flagged primary_name=true
at all times.
Add
Add a new Name.
Request Format
Method |
|
---|---|
URL |
|
Request Body |
Response Format
HTTP Status |
Response Body |
Description |
---|---|---|
|
NewObjectResponse with |
Name added |
|
|
Name Request not provided in POST body |
|
ErrorResponse with details in |
An error in one or more provided fields |
|
|
Authentication required |
|
|
Either a CO Person or an Org Identity must be specified to attach the Name to |
|
|
The specified CO Person or Org Identity does not exist |
|
|
Unknown error |
Delete
Remove a Name.
Request Format
Method |
|
---|---|
URL |
|
Request Body |
|
Response Format
HTTP Status |
Response Body |
Description |
---|---|---|
|
|
Name deleted |
|
|
|
|
|
Authentication required |
{{403 Primary Name Cannot Be Deleted |
|
This Name is flagged as primary for the Org Identity or CO Person |
|
|
|
|
|
Unknown error |
Edit
Edit an existing Name.
Request Format
Method |
|
---|---|
URL |
|
Request Body |
Response Format
HTTP Status |
Response Body |
Description |
---|---|---|
|
|
Name updated |
|
|
Name Request not provided in POST body |
|
ErrorResponse with details in |
An error in one or more provided fields |
|
|
Authentication required |
|
|
Either a CO Person or an Org Identity must be specified to attach the Name to |
|
|
The specified CO Person or Org Identity does not exist |
|
|
|
|
|
Unknown error |
View (all)
Retrieve all existing Names.
Request Format
Method |
|
---|---|
URL |
|
Request Body |
|
Response Format
HTTP Status |
Response Body |
Description |
---|---|---|
|
Name returned |
|
|
|
Authentication required |
|
|
Unknown error |
View (per person)
Retrieve Names attached to a CO Person or Org Identity.
Request Format
Method |
|
---|---|
URL |
|
Request Body |
|
Response Format
HTTP Status |
Response Body |
Description |
---|---|---|
|
Name returned |
|
|
|
Authentication required |
|
|
|
|
|
|
|
|
Unknown error |
View (one)
Retrieve an existing Name.
Request Format
Method |
|
---|---|
URL |
|
Request Body |
|
Response Format
HTTP Status |
Response Body |
Description |
---|---|---|
|
Name returned |
|
|
|
Authentication required |
|
|
|
|
|
Unknown error |
Notes
- Response format requested is ignored where response is only via HTTP status, but must still be provided.
See Also
- cm_names data model definition