1 Commits

Author SHA1 Message Date
Michał Frankiewicz
3c08515918 survey answers prototype 2023-07-27 12:02:18 +02:00
2 changed files with 0 additions and 19 deletions

View File

@@ -485,18 +485,4 @@ class SurveyService
->run('export_responses_by_token', $arguments)
->getData(true);
}
public function exportUploadedFilesByToken($surveyId, $token)
{
$arguments = [
$surveyId,
'json',
$token,
];
return $this
->client
->run('get_uploaded_files', $arguments)
->getData(true);
}
}

View File

@@ -97,8 +97,6 @@ class MethodType extends BaseType
const GET_RESPONSE_IDS = 'get_response_ids';
const EXPORT_UPLOADED_FILES_BY_TOKEN = 'get_uploaded_files';
/**
* Returns validated name of method to call or throws an exception (if method is incorrect)
*
@@ -132,9 +130,6 @@ class MethodType extends BaseType
static::LIST_QUESTIONS,
static::LIST_SURVEYS,
static::LIST_USERS,
static::EXPORT_RESPONSES_BY_TOKEN,
static::GET_RESPONSE_IDS,
static::EXPORT_UPLOADED_FILES_BY_TOKEN
]);
}
}