public function JobsApi::checkAsynchronousProcessingStatus 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::checkAsynchronousProcessingStatus()
Checks status of async process.
Parameters
string $jobId:
string $processId:
Return value
array
Throws
1 call to JobsApi::checkAsynchronousProcessingStatus()
- JobsApi::wait in vendor/
smartling/ api-sdk-php/ src/ Jobs/ JobsApi.php - Makes async operation sync.
File
- vendor/
smartling/ api-sdk-php/ src/ Jobs/ JobsApi.php, line 228
Class
- JobsApi
- Class JobsApi
Namespace
Smartling\JobsCode
public function checkAsynchronousProcessingStatus($jobId, $processId) {
$endpoint = vsprintf('jobs/%s/processes/%s', [
$jobId,
$processId,
]);
$requestData = $this
->getDefaultRequestData('query', []);
return $this
->sendRequest($endpoint, $requestData, self::HTTP_METHOD_GET);
}