GET api/Response/GetEncryptedFile/{id}?includeRecipientInfo={includeRecipientInfo}

Получение зашифрованного файла

Информация о запросе

Параметры URI

НазваниеОписаниеТипДополнительная информация
id

Идентификатор файла

globally unique identifier

Required

includeRecipientInfo

Включать информацию о получателях

boolean

Значение по умолчанию False

Параметры Body

Нет.

Информация об ответе

Описание ресурсов

Информация о зашифрованном файле

EncryptedFile
НазваниеОписаниеТипДополнительная информация
Id

Идентификатор файла

globally unique identifier

Нет.

FileId

Идентификатор файла в хранилище

globally unique identifier

Нет.

Recipients

Информация о получателях зашифрованного файла

Коллекция RecipientForEncryptedFile

Нет.

Форматы ответов

application/json, text/json

Пример:
{
  "Id": "15fbd265-12b8-41a5-b6c6-9e9dc78c88c7",
  "FileId": "352f779e-9645-4c9c-a393-fa2cbdd3eff1",
  "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

Пример:
<EncryptedFile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Referent.Api.Models">
  <FileId>352f779e-9645-4c9c-a393-fa2cbdd3eff1</FileId>
  <Id>15fbd265-12b8-41a5-b6c6-9e9dc78c88c7</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>