You are here

public function AuditLogApi::searchAccountLevelLogRecord in TMGMT Translator Smartling 8.3

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

File

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

Class

AuditLogApi

Namespace

Smartling\AuditLog

Code

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