public function authorizeJob($jobId)
    {
        $endpoint = vsprintf('jobs/%s/authorize', [$jobId]);
        $requestData = $this->getDefaultRequestData('json', new \stdClass());
        $requestData['headers']['Content-Type'] = 'application/json';
        $this->sendRequest($endpoint, $requestData, self::HTTP_METHOD_POST);
    }
public function authorizeJob($jobId)
    {
        $endpoint = vsprintf('jobs/%s/authorize', [$jobId]);
        $requestData = $this->getDefaultRequestData('json', new \stdClass());
        $requestData['headers']['Content-Type'] = 'application/json';
        $this->sendRequest($endpoint, $requestData, self::HTTP_METHOD_POST);
    }
public function authorizeJob ( $ jobId ) { $ endpoint = vsprintf ( 'jobs/%s/authorize' , [ $ jobId ] ) ; $ requestData = $ this -> getDefaultRequestData ( 'json' , new \ stdClass ( ) ) ; $ requestData [ 'headers' ] [ 'Content-Type' ] = 'application/json' ; $ this -> sendRequest ( $ endpoint , $ requestData , self :: HTTP_METHOD_POST ) ; }
Authorizes a job.

@param $jobId
@throws SmartlingApiException
Authorizes a job .