GET api/Response/GetEncryptedFiles?includeRecipientInfo={includeRecipientInfo}&startIndex={startIndex}&count={count}
Получение списка зашифрованных файлов
Информация о запросе
Параметры URI
Название | Описание | Тип | Дополнительная информация |
---|---|---|---|
includeRecipientInfo |
Включать информацию о получателях |
boolean |
Значение по умолчанию False |
startIndex |
Стартовый индекс |
integer |
Значение по умолчанию 0 |
count |
Количество записей (не более 50) |
integer |
Значение по умолчанию 50 |
Параметры Body
Нет.
Информация об ответе
Описание ресурсов
Список файлов для расшифровки
Коллекция EncryptedFileНазвание | Описание | Тип | Дополнительная информация |
---|---|---|---|
Id |
Идентификатор файла |
globally unique identifier |
Нет. |
FileId |
Идентификатор файла в хранилище |
globally unique identifier |
Нет. |
Recipients |
Информация о получателях зашифрованного файла |
Коллекция RecipientForEncryptedFile |
Нет. |
Форматы ответов
application/json, text/json
Пример:
[ { "Id": "2dc9e2cb-0f35-4ed9-8868-63634f78c660", "FileId": "6783eb7a-781e-4c41-a172-776fba6a4d49", "Recipients": [ { "Content": "QEA=", "Issuer": "sample string 1", "SerialNumber": "sample string 2" }, { "Content": "QEA=", "Issuer": "sample string 1", "SerialNumber": "sample string 2" } ] }, { "Id": "2dc9e2cb-0f35-4ed9-8868-63634f78c660", "FileId": "6783eb7a-781e-4c41-a172-776fba6a4d49", "Recipients": [ { "Content": "QEA=", "Issuer": "sample string 1", "SerialNumber": "sample string 2" }, { "Content": "QEA=", "Issuer": "sample string 1", "SerialNumber": "sample string 2" } ] } ]
application/xml, text/xml
Пример:
<ArrayOfEncryptedFile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Referent.Api.Models"> <EncryptedFile> <FileId>6783eb7a-781e-4c41-a172-776fba6a4d49</FileId> <Id>2dc9e2cb-0f35-4ed9-8868-63634f78c660</Id> <Recipients> <RecipientForEncryptedFile> <Content>QEA=</Content> <Issuer>sample string 1</Issuer> <SerialNumber>sample string 2</SerialNumber> </RecipientForEncryptedFile> <RecipientForEncryptedFile> <Content>QEA=</Content> <Issuer>sample string 1</Issuer> <SerialNumber>sample string 2</SerialNumber> </RecipientForEncryptedFile> </Recipients> </EncryptedFile> <EncryptedFile> <FileId>6783eb7a-781e-4c41-a172-776fba6a4d49</FileId> <Id>2dc9e2cb-0f35-4ed9-8868-63634f78c660</Id> <Recipients> <RecipientForEncryptedFile> <Content>QEA=</Content> <Issuer>sample string 1</Issuer> <SerialNumber>sample string 2</SerialNumber> </RecipientForEncryptedFile> <RecipientForEncryptedFile> <Content>QEA=</Content> <Issuer>sample string 1</Issuer> <SerialNumber>sample string 2</SerialNumber> </RecipientForEncryptedFile> </Recipients> </EncryptedFile> </ArrayOfEncryptedFile>