Add
Add a new CoEmailList.
Request Format
Method |
|
---|---|
URL |
|
Request Body |
Response Format
HTTP Status | Response Body | Description |
---|---|---|
| NewObjectResponse with | CoEmailList added |
|
| CoEmailList Request not provided in POST body |
| ErrorResponse with details in | An error in one or more provided fields |
|
| Authentication required |
|
| The specified CO does not exist |
|
| An email list already exists with the specified name in the specified CO |
|
| Unknown error |
Delete
Remove a CoEmailList.
Request Format
Method |
|
---|---|
URL |
|
Request Body |
|
Response Format
HTTP Status | Response Body | Description |
---|---|---|
|
| CoEmailList deleted |
|
|
|
|
| Authentication required |
403 Forbidden | CoEmailList cannot be deleted | |
|
|
|
|
| Unknown error |
Edit
Edit an existing CoEmailList.
Request Format
Method |
|
---|---|
URL |
|
Request Body |
Response Format
HTTP Status | Response Body | Description |
---|---|---|
|
| CoEmailList updated |
|
| CoEmailList Request not provided in POST body |
| ErrorResponse with details in | An error in one or more provided fields |
|
| Authentication required |
|
| The specified CO does not exist |
|
| An email list already exists with the specified name in the specified CO |
|
|
|
|
| Unknown error |
View (all)
Retrieve all existing CoEmailLists.
Request Format
Method |
|
---|---|
URL |
|
Request Body |
|
Response Format
HTTP Status | Response Body | Description |
---|---|---|
| CoEmailList returned | |
|
| Authentication required |
|
| Unknown error |
View (per CO)
Retrieve CoEmailLists attached to a CO.
Request Format
Method |
|
---|---|
URL |
|
Request Body |
|
Response Format
HTTP Status | Response Body | Description |
---|---|---|
| CoEmailList returned | |
|
| Authentication required |
|
|
|
|
| Unknown error |
View (one)
Retrieve an existing CoEmailList.
Request Format
Method |
|
---|---|
URL |
|
Request Body |
|
Response Format
HTTP Status | Response Body | Description |
---|---|---|
| CoEmailList 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_co_email_lists data model definition
- CoEmailList Schema