public function AuditLogApi::createProjectLevelLogRecord in TMGMT Translator Smartling 8.4
Same name and namespace in other branches
- 8.3 vendor/smartling/api-sdk-php/src/AuditLog/AuditLogApi.php \Smartling\AuditLog\AuditLogApi::createProjectLevelLogRecord()
File
- vendor/
smartling/ api-sdk-php/ src/ AuditLog/ AuditLogApi.php, line 43
Class
Namespace
Smartling\AuditLogCode
public function createProjectLevelLogRecord(CreateRecordParameters $createRecordRecommendedParameters) {
$requestData = $this
->getDefaultRequestData('json', $createRecordRecommendedParameters
->exportToArray());
$endpoint = vsprintf(self::PROJECT_LEVEL_URL, [
$this
->getProjectId(),
]);
return $this
->sendRequest($endpoint, $requestData, static::HTTP_METHOD_POST);
}