GET api/v2/documentGroups/{groupId}

Получить группу документов

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

GET параметры

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

Идентификатор группы документов

globally unique identifier

Required

Body параметры

Нет.

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

Информация о ресурсах

Группа документов

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

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

globally unique identifier

Нет.

Contractor

Контрагент

Contractor

Нет.

SentDate

Дата отправки

date

Нет.

State

Статус

DocumentGroupState

Нет.

Documents

Документы

Массив Document

Нет.

Direction

Направление документа

DocumentDirection

Нет.

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

application/json, text/json

Пример:
{
  "Id": "593ad6b2-25b1-46d7-9efb-372390a654e0",
  "Contractor": {
    "Id": "2cf8b847-9747-448a-9988-fbb7d2588a6e",
    "Name": "sample string 2",
    "Inn": "sample string 3",
    "Kpp": "sample string 4",
    "IsRoaming": true,
    "DocflowUserId": "sample string 6"
  },
  "SentDate": "2019-08-22T08:43:53.8022047+03:00",
  "State": 0,
  "Documents": [
    {
      "Id": "dd1a1cac-fcee-4adf-ab13-c425e5c985a1",
      "IsApprovalParticipant": true,
      "Title": "sample string 3",
      "ReceivedDate": "2019-08-22T08:43:53.8022047+03:00",
      "State": 0,
      "Type": {
        "Code": 1,
        "Name": "sample string 2"
      },
      "Department": {
        "Id": "ec340e7a-85fd-4dc1-9da0-1930341385a8",
        "Name": "sample string 2"
      },
      "IsReaded": true,
      "SentDate": "2019-08-22T08:43:53.8022047+03:00",
      "NeedResign": true,
      "Direction": 0,
      "IsDeleted": true,
      "IsImportant": true
    },
    {
      "Id": "dd1a1cac-fcee-4adf-ab13-c425e5c985a1",
      "IsApprovalParticipant": true,
      "Title": "sample string 3",
      "ReceivedDate": "2019-08-22T08:43:53.8022047+03:00",
      "State": 0,
      "Type": {
        "Code": 1,
        "Name": "sample string 2"
      },
      "Department": {
        "Id": "ec340e7a-85fd-4dc1-9da0-1930341385a8",
        "Name": "sample string 2"
      },
      "IsReaded": true,
      "SentDate": "2019-08-22T08:43:53.8022047+03:00",
      "NeedResign": true,
      "Direction": 0,
      "IsDeleted": true,
      "IsImportant": true
    }
  ],
  "Direction": 0
}

application/xml, text/xml

Пример:
<DocumentGroupsModel.DocumentGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Taxnet.Transcrypt.Api20.Models">
  <Contractor>
    <DocflowUserId>sample string 6</DocflowUserId>
    <Id>2cf8b847-9747-448a-9988-fbb7d2588a6e</Id>
    <Inn>sample string 3</Inn>
    <IsRoaming>true</IsRoaming>
    <Kpp>sample string 4</Kpp>
    <Name>sample string 2</Name>
  </Contractor>
  <Direction>None</Direction>
  <Documents>
    <DocumentGroupsModel.Document>
      <Department>
        <Id>ec340e7a-85fd-4dc1-9da0-1930341385a8</Id>
        <Name>sample string 2</Name>
      </Department>
      <Direction>None</Direction>
      <Id>dd1a1cac-fcee-4adf-ab13-c425e5c985a1</Id>
      <IsApprovalParticipant>true</IsApprovalParticipant>
      <IsDeleted>true</IsDeleted>
      <IsImportant>true</IsImportant>
      <IsReaded>true</IsReaded>
      <NeedResign>true</NeedResign>
      <ReceivedDate>2019-08-22T08:43:53.8022047+03:00</ReceivedDate>
      <SentDate>2019-08-22T08:43:53.8022047+03:00</SentDate>
      <State>None</State>
      <Title>sample string 3</Title>
      <Type>
        <Code>1</Code>
        <Name>sample string 2</Name>
      </Type>
    </DocumentGroupsModel.Document>
    <DocumentGroupsModel.Document>
      <Department>
        <Id>ec340e7a-85fd-4dc1-9da0-1930341385a8</Id>
        <Name>sample string 2</Name>
      </Department>
      <Direction>None</Direction>
      <Id>dd1a1cac-fcee-4adf-ab13-c425e5c985a1</Id>
      <IsApprovalParticipant>true</IsApprovalParticipant>
      <IsDeleted>true</IsDeleted>
      <IsImportant>true</IsImportant>
      <IsReaded>true</IsReaded>
      <NeedResign>true</NeedResign>
      <ReceivedDate>2019-08-22T08:43:53.8022047+03:00</ReceivedDate>
      <SentDate>2019-08-22T08:43:53.8022047+03:00</SentDate>
      <State>None</State>
      <Title>sample string 3</Title>
      <Type>
        <Code>1</Code>
        <Name>sample string 2</Name>
      </Type>
    </DocumentGroupsModel.Document>
  </Documents>
  <Id>593ad6b2-25b1-46d7-9efb-372390a654e0</Id>
  <SentDate>2019-08-22T08:43:53.8022047+03:00</SentDate>
  <State>None</State>
</DocumentGroupsModel.DocumentGroup>