Create Translation + Editing

POST: /projects/transproof
Request params
Parameters Description
source_language See Language Codes.
target_language See Language Codes.
sources Comma separated list of Resource UUIDs. You can create a project with up to 30 resources at a time. For more than 30 resources please create a new project.
reference_resources (optional) Comma separated list of reference resource UUIDs.
wordcount (optional) Integer, if empty use automatic counting.
notes (optional) Text note that will be shown to translator regarding the new project.
expertise (optional) See Expertise Codes.
callback_url (optional) See Callbacks section.
custom0...9 (optional) Custom parameters 0...9
name (optional) Name your project. If empty, your project will be named automatically.
tags (optional) Array of tags.
Customer can provide tags when creating a new project.
Provided tag parameter should be an array of strings, an error will be provided otherwise.
The number of tags for each new project is limited to 10 tags.
Response params
Parameters Description
project_id Unique id of the new project created.
wordcount Total word count of the new project.
credits New project total worth.
Important note regarding this project type:
This type of project has two stages, first stage is a translation project and second stage is editing project. Both projects are owned by the customer. Customers who use callbacks with custom fields will receive incomplete callbacks from editing project stage. There is no need in monitoring the subsequent editing project and its callbacks, they can be safely ignored. Once the editing project is finished, all the updated files are copied back into the original translation project and a callback (including all expected fields) is triggered from the original project.

Request Example

curl --request POST "https://www.onehourtranslation.com/api/2/projects/transproof"
--data "secret_key=<SECRET_KEY>&public_key=<PUBLIC_KEY>&source_language=en-us&target_language=ar-sa&sources=rsc-5899c483177dc7-11206705,rsc-5899c490ed4b07-66920322"

Response Example

{
 "status":
  {
   "code":0,
   "msg":"ok"
   },
 "results":
   {
    "project_id":"8796",
    "wordcount":625,
    "credits":12500
   },
 "errors":[]
}