Parse the payload of a message
Table 1. Supported parameters
| Parameter |
Required |
Data type |
Details |
| documentType |
No |
object |
Specifies the type or format of the document being processed |
| inputMessage |
Yes |
string |
Defines the message or data received as input for processing |
| outputMessage |
No |
string or null |
Represents the message or data returned as output after processing |
Table 2. Options for
documentType
| Parameter |
Required |
Data type |
Details |
| json |
Yes |
object |
Indicates the document type is JSON format |
| binary |
Yes |
object |
Indicates the document type is binary data |
| detectByPayload |
Yes |
object |
Automatically detects the document type based on the payload content |
| detectByContentType |
Yes |
object |
Automatically detects the document type using the HTTP Content-Type
header |
Table 3. Nested properties inside json,
detectByPayload and detectByContentType
| Parameter |
Required |
Data type |
Details |
| maxDepth |
No |
integer |
Value must be greater or equal to 0.0 and lesser or equal to
4096.0 |
| maxDocumentSize |
No |
integer |
Value must be greater or equal to 0.0 and lesser or equal to
536870912 |
| maxNameLength |
No |
integer |
Value must be greater or equal to 0.0 and lesser or equal to
8192.0 |
| maxNumberLength |
No |
integer |
Value must be greater or equal to 0.0 and lesser or equal to
256.0 |
| maxValueLength |
No |
integer |
Value must be greater or equal to 0.0 and lesser or equal to
536870912 |
| maxWidth |
No |
integer |
Value must be greater or equal to 0.0 and lesser or equal to
65535.0 |
Table 4. Nested properties inside
binary
| Parameter |
Required |
Data type |
Details |
| maxDocumentSize |
No |
integer |
Value must be greater or equal to 0.0 and lesser or equal to
536870912 |