Create Method
To create a job you need to call the following REST based service
- URL: http://[api | sandbox].strakertranslations.com/api/v1/job/create/index.cfm
- Method: POST
- Response scheme: JSON or XML
Request Parameters
| Name | Description | Type | Required |
|---|---|---|---|
| account_id | Your Straker account ID | String | true |
| title | A title for the job | String | true |
| sl | The source langage eg "French" or "English" (view language codes) | String | true |
| tl | The target language or languages eg "Spanish" or "Spanish,French,German" | String | true |
| payload | The content you wish translated | String | true |
| leadtime | The number of hours before the translation should be returned to you, eg for 2 days you would make this "48" | Number | true |
| plan | The plan you wish to use for this translation, options are "base,professional,premium" | String | true |
| callback_uri | A URL that the API will post content and status updates too. | String | no |
| format | The format to return content in , options are "json | xml" (defaults to json) | String | no |
| token | A token you can use a reference your end, eg maybe the ID of a content object in your system | String | no |
| notes | Any notes that go with the job | String | no |
Response Parameters
| Name | Description | Type | Required |
|---|---|---|---|
| JOB_KEY | The unique identifier for the job | String | true |
| JOB_ID | A short code job ID reference | String | true |



