Note: This is an optional property.
If the OData call returns with an error, the returned value of this error property can be written to any available property on the current document in Content Services.
| Property | Type | Description |
|---|---|---|
| alfProp | String | Specifies the Alfresco document property which holds the error state, for example connexasAdministration:sapstatus. |
| state | String | Defines the value for alfProp, for example Error. |
| message | Object | Defines the document property where the error message should be stored. This can also be a list of properties setting different values from the error response (see example below). |
Example
"error": {
"alfProp": "connexasAdministration:sapstatus",
"state": "Error",
"message": {
"connexasAdministration:saperror": "error.message.value",
"cm:description": "error.message.statusCode"
}
}