Page tree
Skip to end of metadata
Go to start of metadata

Description

Validates a list of messages for the following functionality: checks that the message is valid (InvalidObjectError -> objecttype message), checks that the message does not contain any invalid content store items, checks that the message does not use archived Attributes (InvalidObjectError -> objecttype attribute).

Available from

v1

Request path

POST [REST URL]/message/validateMany

Query Parameters

Parameter

Type

Description

None



Request Body Type

list of Long messageIds

Example body

["1800249570","1800202306"]

Example response

[{
    "entityId": 1800249570,
    "errorCode": "ARCHIVED_ATTRIBUTE",
    "errorMessage": "Message contains archived attribute(s) user.CustomAttribute.Attribute1"
}, {
    "entityId": 1800202306,
    "errorCode": null,
    "errorMessage": null
}]
  • No labels