You are here

public function AuditLogApi::searchProjectLevelLogRecord in TMGMT Translator Smartling 8.4

Same name and namespace in other branches
  1. 8.3 vendor/smartling/api-sdk-php/src/AuditLog/AuditLogApi.php \Smartling\AuditLog\AuditLogApi::searchProjectLevelLogRecord()

File

vendor/smartling/api-sdk-php/src/AuditLog/AuditLogApi.php, line 61

Class

AuditLogApi

Namespace

Smartling\AuditLog

Code

public function searchProjectLevelLogRecord(SearchRecordParameters $searchParameters) {
  $requestData = $this
    ->getDefaultRequestData('query', $searchParameters
    ->exportToArray());
  $endpoint = vsprintf(self::PROJECT_LEVEL_URL, [
    $this
      ->getProjectId(),
  ]);
  return $this
    ->sendRequest($endpoint, $requestData, static::HTTP_METHOD_GET);
}