public function JobsApi::createJob in TMGMT Translator Smartling 8.4
Same name and namespace in other branches
- 8.3 vendor/smartling/api-sdk-php/src/Jobs/JobsApi.php \Smartling\Jobs\JobsApi::createJob()
Creates a job.
Parameters
CreateJobParameters $parameters:
Return value
array
Throws
File
- vendor/
smartling/ api-sdk-php/ src/ Jobs/ JobsApi.php, line 103
Class
- JobsApi
- Class JobsApi
Namespace
Smartling\JobsCode
public function createJob(CreateJobParameters $parameters) {
$requestData = $this
->getDefaultRequestData('json', $parameters
->exportToArray());
return $this
->sendRequest('jobs', $requestData, self::HTTP_METHOD_POST);
}