Create object
POST/Objects
Create object
Request​
- application/json
Body
Object to create.
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.
Responses​
- 201
- 400
- 406
- 409
Object was created.
- 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"
}
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"
}
]
}
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"
}
]
}
Object already exists.
- 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"
}
]
}