You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Add

Add a new CO Person.

Request Format

Method

POST

URL

/co_people.<format>

Request Body

CoPerson Request

Response Format

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

500 Other Error

 

Unknown error


Delete

Remove a CO Person. This method will also delete related data, such as CoPersonRoles, EmailAddresses, and Identifiers.

Request Format

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

404 CoPerson Unknown

 

id not found

500 Other Error

 

Unknown error


Edit

Edit an existing CO Person.

Request Format

Method

POST

URL

/co_people/<id>.<format>

Request Body

CoPerson Request

Response Format

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

404 CoPerson Unknown

 

id not found

500 Other Error

 

Unknown error


View (all)

Retrieve all existing CO People.

Request Format

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 (one)

Retrieve an existing CO Person.

Request Format

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.

See Also

  • No labels