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