Submit a file to a Parser
POST {{baseUrl}}/mra/v1/utils/parser
Submit a file to a parser allows a file to be placed on the parser queue configured for the requesting user and the specified domain. The queue and the configuration must be set up by OpenText in advance. The parser specification must also be arranged in advance, and the supplied file should conform to the agreed format. Submitting a request to parser requires use of pure JSON request body where in the actual document content should be passed as data in base64 format.
Request Body
{"domain"=>"XDDS", "data"=>"QWN0aW9uICxOYW1lLEVtYWlsLFBhc3N3b3JkLFNlcnZpY2Usc21zLEdyb3VwbmFtZQphZGQsdXNlcmFkZHRlc3QxMTExNDYsdXNlcmFkZHRlc3QxMTEzNUBvdC5jb20sRXN4aUAkMTIxMixGYXgyTWFpbCxZLFRlYW0gRmVycmFyaQphZGQsdXNlcmFkZHRlc3QxMTExNDUsdXNlcmFkZHRlc3QxMTEzNkBvdC5jb20sRXN4aUAkMTIxMixGYXgyTWFpbCxZLFRlYW0gRmVycmFyaQ==", "message_id"=>"temp_message_id", "filename"=>"submittest"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-MRA-SubmitId | string | A client-supplied string to identify request. | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"job_id":"xsi-1234567"}