Update object
PUT/Objects/:objectCode
Update object
Request​
Path Parameters
The object Code.
- application/json
Body
The object to update.
The display name of the AML object.
The type classification of the AML object.
A textual description of the AML object's purpose.
The SQL expression used to evaluate this object.
The error message recorded if object evaluation fails.
The username or identifier of the user who last updated this record.
The username or identifier of the user who created this record.
The version number of the object definition.
Responses​
- 200
- 400
- 404
- 406
The object was updated.
- application/json
- Schema
- Example (from schema)
Schema
The display name of the AML object.
The type classification of the AML object.
A textual description of the AML object's purpose.
The SQL expression used to evaluate this object.
The error message recorded if object evaluation fails.
The username or identifier of the user who last updated this record.
The username or identifier of the user who created this record.
The version number of the object definition.
The unique code identifying the AML object.
{
"objectName": "string",
"objectType": "string",
"objectDescription": "string",
"sqlObject": "string",
"objectErrorMessage": "string",
"updatedBy": "string",
"createdBy": "string",
"objectVersion": 0,
"objectCode": "string"
}
The object is invalid.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
The error or validation message.
metadata objectnullable
Additional metadata associated with this record.
reasons object[]nullable
The list of underlying error reasons.
The error or validation message.
metadata objectnullable
Additional metadata associated with this record.
The list of underlying error reasons.
The unique code identifying this entity.
errors object[]nullable
The list of validation errors.
The name of the field that failed validation.
The error or validation message.
{
"message": "string",
"metadata": {},
"reasons": [
{
"message": "string",
"metadata": {},
"reasons": [
null
]
}
],
"code": 0,
"errors": [
{
"field": "string",
"message": "string"
}
]
}
An object with the specified object code could not be found.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
The error or validation message.
metadata objectnullable
Additional metadata associated with this record.
reasons object[]nullable
The list of underlying error reasons.
The error or validation message.
metadata objectnullable
Additional metadata associated with this record.
The list of underlying error reasons.
The unique code identifying this entity.
errors object[]nullable
The list of validation errors.
The name of the field that failed validation.
The error or validation message.
{
"message": "string",
"metadata": {},
"reasons": [
{
"message": "string",
"metadata": {},
"reasons": [
null
]
}
],
"code": 0,
"errors": [
{
"field": "string",
"message": "string"
}
]
}
Incorrect JSON format.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
The error or validation message.
metadata objectnullable
Additional metadata associated with this record.
reasons object[]nullable
The list of underlying error reasons.
The error or validation message.
metadata objectnullable
Additional metadata associated with this record.
The list of underlying error reasons.
The unique code identifying this entity.
errors object[]nullable
The list of validation errors.
The name of the field that failed validation.
The error or validation message.
{
"message": "string",
"metadata": {},
"reasons": [
{
"message": "string",
"metadata": {},
"reasons": [
null
]
}
],
"code": 0,
"errors": [
{
"field": "string",
"message": "string"
}
]
}