apps/mthive/postedit (post)
This method creates a post-edit request for the MT Hive requests.
URL
(POST) /api/apps/mthive/postedit
PARAMETERS
Parameters are included as a JSON object in the request body:
ids | List of file ids to be post-edited, you can get ids from here apps/mthive/translate/list property name "requestId" | int[], Mandatory |
reference | Order reference. | string, Mandatory |
deadline | Order deadline, optional or Mandatory depending on the configuration. | string. |
comments | Order comments. | string. |
RESULTS
The method executes asynchronously. It returns the operation ID which is a number.
Example:
228991
You would then wait a few seconds and request a detailed operation status using https://wordbee.atlassian.net/wiki/spaces/API2/pages/491571. This will return the status. You need to poll the method and wait for 2 to 5 seconds in between polls until the status is Finished or Failed. Please read this page for a detailed explanation: Asynchronous operation
{ "trm": { "requestid":32230, "status":"Waiting", "statusText":"Waiting..." } }
ERRORS
The API may return errors if:
- Parameter is missing.
- Not authorized to access the MT Hive or not configured
Copyright Wordbee - Buzzin' Outside the Box since 2008