Skip to main content

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

CODE
(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 requestId

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 url above.

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).

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.