The AdHocAttribute API does not support XML format.
Add
Add a new AdHocAttribute.
Request Format
Method |
|
---|---|
URL |
|
Request Body |
Response Format
HTTP Status | Response Body | Description |
---|---|---|
| NewObjectResponse with | AdHocAttribute added |
| AdHocAttribute Request not provided in POST body | |
| ErrorResponse with details in | An error in one or more provided fields |
| Authentication required | |
| A CO Department, a CO Person Role, or an Org Identity must be specified to attach the Ad Hoc Attribute to | |
| The specified CO Department, CO Person Role, or Org Identity does not exist | |
| Unknown error |
Delete
Remove an AdHocAttribute.
Request Format
Method |
|
---|---|
URL |
|
Request Body |
Response Format
HTTP Status | Response Body | Description |
---|---|---|
| AdHocAttribute deleted | |
|
| |
| Authentication required | |
|
| |
| Unknown error |
Edit
Edit an existing AdHocAttribute.
Request Format
Method |
|
---|---|
URL |
|
Request Body |
Response Format
HTTP Status | Response Body | Description |
---|---|---|
| AdHocAttribute updated | |
| AdHocAttribute Request not provided in POST body | |
| ErrorResponse with details in | An error in one or more provided fields |
| Authentication required | |
| A CO Department, a CO Person Role, or an Org Identity must be specified to attach the Ad Hoc Attribute to | |
| The specified CO Department, CO Person Role, or Org Identity does not exist | |
|
| |
| Unknown error |
View (all)
Retrieve all existing AdHocAttributes.
Request Format
Method |
|
---|---|
URL |
|
Request Body |
Response Format
HTTP Status | Response Body | Description |
---|---|---|
| AdHocAttributes returned | |
| Authentication required | |
| Unknown error |
View (per person)
Retrieve AdHocAttributes attached to a CO Department, CO Person Role, or Org Identity.
Request Format
Method |
|
---|---|
URL |
|
Request Body |
Response Format
HTTP Status | Response Body | Description |
---|---|---|
| AdHocAttribute returned | |
204 CO Department Has No AdHocAttribute | The requested CO Department was found, but has no ad hoc attributes attached | |
| The requested CO Person Role was found, but has no ad hoc attributes attached | |
| The requested Organization was found, but has no ad hoc attributes attached | |
| The requested Org Identity was found, but has no ad hoc attributes attached | |
| Authentication required | |
|
| |
|
| |
|
| |
|
| |
| Unknown error |
View (one)
Retrieve an existing AdHocAttribute.
Request Format
Method |
|
---|---|
URL |
|
Request Body |
Response Format
HTTP Status | Response Body | Description |
---|---|---|
| AdHocAttribute 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_ad_hoc_attributes data model definition