Add

Add a new CoService.

Request Format

Method

POST

URL

/co_services.<format>

Request Body

CoService Request 

Response Format

HTTP Status

Response Body

Description

201 Added

NewObjectResponse with ObjectType of CoGroup

CoService added

400 Bad Request

 

CoService 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 CoService.

Request Format

Method

DELETE

URL

/co_services/<id>.<format>

Request Body

 

Response Format

HTTP Status

Response Body

Description

200 Deleted

 

CoService deleted

400 Invalid Fields

 

id not provided

401 Unauthorized

 

Authentication required

404 Identifier Unknown

 

id not found

500 Other Error

 

Unknown error


Edit

Edit an existing CoService.

Request Format

Method

PUT

URL

/co_services/<id>.<format>

Request Body

CoService Request

Response Format

HTTP Status

Response Body

Description

200 OK

 

CoService updated

400 Bad Request

 

CoService 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 Identifier Unknown

 

id not found

500 Other Error

 

Unknown error

 


View (all)

Retrieve all existing CoServices.

Request Format

Method

GET

URL

/co_services.<format>

Request Body

 

Response Format

HTTP Status

Response Body

Description

200 OK

CoService Response 

CoService returned

401 Unauthorized

 

Authentication required

500 Other Error

 

Unknown error


View (per CO)

Retrieve CoServices attached to a CO.

Request Format

Method

GET

URL

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

Request Body

 

Response Format

HTTP Status

Response Body

Description

200 OK

CoService Response 

CoService returned

401 Unauthorized

 

Authentication required

404 CO Unknown

 

id not found

500 Other Error

 

Unknown error


View (one)

Retrieve an existing CoService.

Request Format

Method

GET

URL

/co_services/<id>.<format>

Request Body

 

Response Format

HTTP Status

Response Body

Description

200 OK

CoService Response

CoService returned

401 Unauthorized

 

Authentication required

404 CoEmailList 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