apps/mthive/postedit/orderform/init (post)
This method is currently restricted and not available. We may give access in the future.
Initiates a post edit using the regular order form (and not the simplified MT Hive order form). The method returns the order session ID and the order form URL to which you would redirect the user.
URL
(POST) /api/apps/mthive/postedit/orderform/init
PARAMETERS
The request BODY contains a JSON object with these properties:
ids | The list of MT Hive files to include with the post edit. You enumerate all currently translated files and their ids with apps/mthive/translate/list - look for property Note: All files must have the same source language. | int[], Mandatory |
RESULTS
The result is a JSON object with these properties:
url | The order form URL to which the user can now be redirected. This URL will show the order form prepopulated with the files and the languages. | string |
sessionId | The order form session. This ID is aready included with the | string |
If the files cannot be post-edited, the method returns an error status and clear message. Possible causes:
No file submitted or none that was translated by MT.
Submission of files with different source languages.
Source language is not supported by post editing process (order form configuration).
Any target language is not supported by post editing process (order form configuration).
…