Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

HTTP Status

Response Body

Description

201 Added

NewObjectResponse with ObjectType of CoPerson

CoPerson created

400 Bad Request

 


CoPerson Request not provided in POST body

400 Invalid Fields

ErrorResponse with details in InvalidFields element

An error in one or more provided fields

401 Unauthorized 


Authentication required

403 CO Does Not Exist 


The specified CO does not exist

500 Other Error 


Unknown error

...

Delete

Remove a CO Person. This method will also delete related data, such as CoPersonRoles, EmailAddresses, and Identifiers. A person must be removed from any COs (CoPerson records must be deleted) before the OrgIdentity record can be removed.

...

Method

DELETE

URL

/co_people/<id>.<format>

Request Body

 


Response Format

HTTP Status

Response Body

Description

200 Deleted 


CoPerson deleted

400 Invalid Fields

 


id not provided

401 Unauthorized

 


Authentication required

403 CoPersonRole Exists 


The Person has one or more Person Role records and cannot be deleted

403 CouPerson Exists In Unowned COU

 


The Person has a role in one or more COUs that the authenticated user does not control

404 CoPerson Unknown 


id not found

500 Other Error 


Unknown error

...

Edit

Edit an existing CO Person.

...

HTTP Status

Response Body

Description

200 OK 


CoPerson updated

400 Bad Request

 


CoPerson Request not provided in POST body

400 Invalid Fields

ErrorResponse with details in InvalidFields element

An error in one or more provided fields

401 Unauthorized 


Authentication required

403 CO Does Not Exist 


The specified CO does not exist

404 CoPerson Unknown 


id not found

500 Other Error 


Unknown error

...

Match

Attempt to match existing CO Person records.

Note that matching is not performed on search criteria of less than 3 characters, or for email addresses that are not syntactically valid.

Note
titleProvisional API

This API call is likely to evolve to accept search criteria more flexibly. It may change across minor releases.

...

 

Method

GET

URL

/co_people.<format>?coid=<id>[&given=<string>][&family=<string>][&family=<string>][&mail=<string>]

Request Body


(info) mail was added in Registry v3.3.0.

Response Format

HTTP Status

Response Body

Description

200 OK

CoPerson Response

CoPerson returned (zero or more matches may be returned)

401 Unauthorized 


Authentication required

404 CO Unknown 


id not found
(warning)  Not currently implemented -- unknown CO will return an empty set

500 Other Error

 


Unknown error

...

View (all)

Retrieve all existing CO People.

...

Method

GET

URL

/co_people.<format>

Request Body

 


Response Format

HTTP Status

Response Body

Description

200 OK

CoPerson Response

CoPerson returned

401 Unauthorized

 


Authentication required

500 Other Error 


Unknown error

...

View (per CO)

...

Method

GET

URL

/co_people.<format>?coid=<id>

Request Body

 


Response Format

HTTP Status

Response Body

Description

200 OK

CoPerson Response

CoPeople returned

401 Unauthorized 


Authentication required

404 CO Unknown 


id not found

500 Other Error

 


Unknown error

...

View (per Identifier)

...

 

Method

GET

URL

/co_people.<format>?coid=<id>&search.identifier=<identifier>

Request Body


Response Format

HTTP Status

Response Body

Description

200 OK

CoPerson Response

CoPeople returned

401 Unauthorized 


Authentication required

404 CO Unknown 


id not found

500 Other Error

 


Unknown error

...

View (one)

Retrieve an existing CO Person.

...

 

Method

GET

URL

/co_people/<id>.<format>

Request Body


Response Format

HTTP Status

Response Body

Description

200 OK

CoPerson Response

CoPerson returned

401 Unauthorized 


Authentication required

404 CoPerson Unknown

 


id not found

500 Other Error 


Unknown error

...

Notes

  • Response format requested is ignored where response is only via HTTP status, but must still be provided.

...