You are here

public function JobsApi::searchJobs in TMGMT Translator Smartling 8.3

Same name and namespace in other branches
  1. 8.4 vendor/smartling/api-sdk-php/src/Jobs/JobsApi.php \Smartling\Jobs\JobsApi::searchJobs()

Search/Find Job(s), based on different query criteria passed in.

Parameters

SearchJobsParameters $parameters:

Return value

array

Throws

SmartlingApiException

File

vendor/smartling/api-sdk-php/src/Jobs/JobsApi.php, line 199

Class

JobsApi
Class JobsApi

Namespace

Smartling\Jobs

Code

public function searchJobs(SearchJobsParameters $parameters) {
  $requestData = $this
    ->getDefaultRequestData('json', $parameters
    ->exportToArray());
  return $this
    ->sendRequest('jobs/search', $requestData, self::HTTP_METHOD_POST);
}