GET api/v2/internaldocflow/approval

Получение списка внутренних документооборотов

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

GET параметры

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

Заголовок документа

string

Нет.

Sender

Инициатор пакета согласований

string

Нет.

Receiver

Сотрудник-исполнитель пакета согласований

string

Нет.

SenderId

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

globally unique identifier

Нет.

ReceiverId

Идентификатор исполнителя

globally unique identifier

Нет.

AllowedStates

Разрешенные состояния

Массив InternalDocflowState

Нет.

SenderOrganizationId

Идентификатор организации-отправителя внешнего документооборота

globally unique identifier

Нет.

ReceiverOrganizationId

Идентификатор организации-получателя внешнего документооборота

globally unique identifier

Нет.

ContractorName

Название контрагента

string

Нет.

ContractorInn

ИНН контрагента

string

Нет.

ContractorKpp

КПП контрагента

string

Нет.

StartCreationDate

Начало даты передачи пакета согласований

date

Нет.

EndCreationDate

Окончание даты передачи пакета согласований

date

Нет.

StartProcessingDate

Начало даты обработки пакета согласований

date

Нет.

EndProcessingDate

Окончание даты обработки пакета согласований

date

Нет.

PackagesId

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

Массив globally unique identifier

Нет.

StartIndex

Стартовая позиция

integer

Нет.

Count

Количество пакетов

integer

Нет.

AllowedTypes

Список типов внутренного ДО

Массив InternalDocflowType

Нет.

DocumentIds

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

Массив globally unique identifier

Нет.

Body параметры

Нет.

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

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

Список внутренних документооборотов

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

Ссылка на следующую страницу (если пустая ссылка, то больше нет страниц)

string

Нет.

Items

Список внутренних ДО

Массив InternalDocflow

Нет.

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

application/json, text/json

Пример:
{
  "NextPageUrl": "sample string 1",
  "Items": [
    {
      "Id": "fc9198a3-0b21-4a86-969b-f7713877e401",
      "Type": 0,
      "Sender": {
        "Id": "0a65ef89-ee51-4c0b-8635-9e0e6b889c21",
        "FirstName": "sample string 2",
        "LastName": "sample string 3",
        "MiddleName": "sample string 4",
        "Post": "sample string 5"
      },
      "Receiver": {
        "Id": "0a65ef89-ee51-4c0b-8635-9e0e6b889c21",
        "FirstName": "sample string 2",
        "LastName": "sample string 3",
        "MiddleName": "sample string 4",
        "Post": "sample string 5"
      },
      "ReceiverDepartment": {
        "Id": "cfa56753-52c1-4e90-8bfb-681c81325180",
        "Name": "sample string 2"
      },
      "CreationDate": "2020-10-20T19:58:32.940042+03:00",
      "ProcessingDate": "2020-10-20T19:58:32.940042+03:00",
      "CreationComment": "sample string 3",
      "ProcessingComment": "sample string 4",
      "State": 0,
      "Documents": [
        {
          "Id": "1dc951f5-68b4-417b-b01e-584223c2882b",
          "Title": "sample string 2",
          "IsDraft": true,
          "DepartmentId": "3c488ae8-8cdb-4bd7-aa3a-5f8a6a50c98b",
          "CreateDate": "2020-10-20T19:58:32.9410386+03:00",
          "ReceiveDate": "2020-10-20T19:58:32.9410386+03:00",
          "DocumentState": 0,
          "Contractor": {
            "Id": "54062784-fccf-4af7-896a-878472c12f4b",
            "Name": "sample string 2",
            "ShortName": "sample string 3",
            "Inn": "sample string 4",
            "Kpp": "sample string 5",
            "IsRoaming": true,
            "DocflowUserId": "sample string 7"
          },
          "NeedResign": true,
          "Direction": 0,
          "Type": {
            "Code": 1,
            "Name": "sample string 2"
          }
        },
        {
          "Id": "1dc951f5-68b4-417b-b01e-584223c2882b",
          "Title": "sample string 2",
          "IsDraft": true,
          "DepartmentId": "3c488ae8-8cdb-4bd7-aa3a-5f8a6a50c98b",
          "CreateDate": "2020-10-20T19:58:32.9410386+03:00",
          "ReceiveDate": "2020-10-20T19:58:32.9410386+03:00",
          "DocumentState": 0,
          "Contractor": {
            "Id": "54062784-fccf-4af7-896a-878472c12f4b",
            "Name": "sample string 2",
            "ShortName": "sample string 3",
            "Inn": "sample string 4",
            "Kpp": "sample string 5",
            "IsRoaming": true,
            "DocflowUserId": "sample string 7"
          },
          "NeedResign": true,
          "Direction": 0,
          "Type": {
            "Code": 1,
            "Name": "sample string 2"
          }
        }
      ]
    },
    {
      "Id": "fc9198a3-0b21-4a86-969b-f7713877e401",
      "Type": 0,
      "Sender": {
        "Id": "0a65ef89-ee51-4c0b-8635-9e0e6b889c21",
        "FirstName": "sample string 2",
        "LastName": "sample string 3",
        "MiddleName": "sample string 4",
        "Post": "sample string 5"
      },
      "Receiver": {
        "Id": "0a65ef89-ee51-4c0b-8635-9e0e6b889c21",
        "FirstName": "sample string 2",
        "LastName": "sample string 3",
        "MiddleName": "sample string 4",
        "Post": "sample string 5"
      },
      "ReceiverDepartment": {
        "Id": "cfa56753-52c1-4e90-8bfb-681c81325180",
        "Name": "sample string 2"
      },
      "CreationDate": "2020-10-20T19:58:32.940042+03:00",
      "ProcessingDate": "2020-10-20T19:58:32.940042+03:00",
      "CreationComment": "sample string 3",
      "ProcessingComment": "sample string 4",
      "State": 0,
      "Documents": [
        {
          "Id": "1dc951f5-68b4-417b-b01e-584223c2882b",
          "Title": "sample string 2",
          "IsDraft": true,
          "DepartmentId": "3c488ae8-8cdb-4bd7-aa3a-5f8a6a50c98b",
          "CreateDate": "2020-10-20T19:58:32.9410386+03:00",
          "ReceiveDate": "2020-10-20T19:58:32.9410386+03:00",
          "DocumentState": 0,
          "Contractor": {
            "Id": "54062784-fccf-4af7-896a-878472c12f4b",
            "Name": "sample string 2",
            "ShortName": "sample string 3",
            "Inn": "sample string 4",
            "Kpp": "sample string 5",
            "IsRoaming": true,
            "DocflowUserId": "sample string 7"
          },
          "NeedResign": true,
          "Direction": 0,
          "Type": {
            "Code": 1,
            "Name": "sample string 2"
          }
        },
        {
          "Id": "1dc951f5-68b4-417b-b01e-584223c2882b",
          "Title": "sample string 2",
          "IsDraft": true,
          "DepartmentId": "3c488ae8-8cdb-4bd7-aa3a-5f8a6a50c98b",
          "CreateDate": "2020-10-20T19:58:32.9410386+03:00",
          "ReceiveDate": "2020-10-20T19:58:32.9410386+03:00",
          "DocumentState": 0,
          "Contractor": {
            "Id": "54062784-fccf-4af7-896a-878472c12f4b",
            "Name": "sample string 2",
            "ShortName": "sample string 3",
            "Inn": "sample string 4",
            "Kpp": "sample string 5",
            "IsRoaming": true,
            "DocflowUserId": "sample string 7"
          },
          "NeedResign": true,
          "Direction": 0,
          "Type": {
            "Code": 1,
            "Name": "sample string 2"
          }
        }
      ]
    }
  ]
}

application/xml, text/xml

Пример:
<InternalDocflowList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Taxnet.Transcrypt.Api20.Models.InternalDocflow">
  <Items>
    <InternalDocflow>
      <CreationComment>sample string 3</CreationComment>
      <CreationDate>2020-10-20T19:58:32.940042+03:00</CreationDate>
      <Documents>
        <InternalDocflow.DocumentInfo>
          <Contractor xmlns:d6p1="http://schemas.datacontract.org/2004/07/Taxnet.Transcrypt.Api20.Models">
            <d6p1:DocflowUserId>sample string 7</d6p1:DocflowUserId>
            <d6p1:Id>54062784-fccf-4af7-896a-878472c12f4b</d6p1:Id>
            <d6p1:Inn>sample string 4</d6p1:Inn>
            <d6p1:IsRoaming>true</d6p1:IsRoaming>
            <d6p1:Kpp>sample string 5</d6p1:Kpp>
            <d6p1:Name>sample string 2</d6p1:Name>
            <d6p1:ShortName>sample string 3</d6p1:ShortName>
          </Contractor>
          <CreateDate>2020-10-20T19:58:32.9410386+03:00</CreateDate>
          <DepartmentId>3c488ae8-8cdb-4bd7-aa3a-5f8a6a50c98b</DepartmentId>
          <Direction>None</Direction>
          <DocumentState>None</DocumentState>
          <Id>1dc951f5-68b4-417b-b01e-584223c2882b</Id>
          <IsDraft>true</IsDraft>
          <NeedResign>true</NeedResign>
          <ReceiveDate>2020-10-20T19:58:32.9410386+03:00</ReceiveDate>
          <Title>sample string 2</Title>
          <Type xmlns:d6p1="http://schemas.datacontract.org/2004/07/Taxnet.Transcrypt.Api20.Models">
            <d6p1:Code>1</d6p1:Code>
            <d6p1:Name>sample string 2</d6p1:Name>
          </Type>
        </InternalDocflow.DocumentInfo>
        <InternalDocflow.DocumentInfo>
          <Contractor xmlns:d6p1="http://schemas.datacontract.org/2004/07/Taxnet.Transcrypt.Api20.Models">
            <d6p1:DocflowUserId>sample string 7</d6p1:DocflowUserId>
            <d6p1:Id>54062784-fccf-4af7-896a-878472c12f4b</d6p1:Id>
            <d6p1:Inn>sample string 4</d6p1:Inn>
            <d6p1:IsRoaming>true</d6p1:IsRoaming>
            <d6p1:Kpp>sample string 5</d6p1:Kpp>
            <d6p1:Name>sample string 2</d6p1:Name>
            <d6p1:ShortName>sample string 3</d6p1:ShortName>
          </Contractor>
          <CreateDate>2020-10-20T19:58:32.9410386+03:00</CreateDate>
          <DepartmentId>3c488ae8-8cdb-4bd7-aa3a-5f8a6a50c98b</DepartmentId>
          <Direction>None</Direction>
          <DocumentState>None</DocumentState>
          <Id>1dc951f5-68b4-417b-b01e-584223c2882b</Id>
          <IsDraft>true</IsDraft>
          <NeedResign>true</NeedResign>
          <ReceiveDate>2020-10-20T19:58:32.9410386+03:00</ReceiveDate>
          <Title>sample string 2</Title>
          <Type xmlns:d6p1="http://schemas.datacontract.org/2004/07/Taxnet.Transcrypt.Api20.Models">
            <d6p1:Code>1</d6p1:Code>
            <d6p1:Name>sample string 2</d6p1:Name>
          </Type>
        </InternalDocflow.DocumentInfo>
      </Documents>
      <Id>fc9198a3-0b21-4a86-969b-f7713877e401</Id>
      <ProcessingComment>sample string 4</ProcessingComment>
      <ProcessingDate>2020-10-20T19:58:32.940042+03:00</ProcessingDate>
      <Receiver>
        <FirstName>sample string 2</FirstName>
        <Id>0a65ef89-ee51-4c0b-8635-9e0e6b889c21</Id>
        <LastName>sample string 3</LastName>
        <MiddleName>sample string 4</MiddleName>
        <Post>sample string 5</Post>
      </Receiver>
      <ReceiverDepartment xmlns:d4p1="http://schemas.datacontract.org/2004/07/Taxnet.Transcrypt.Api20.Models">
        <d4p1:Id>cfa56753-52c1-4e90-8bfb-681c81325180</d4p1:Id>
        <d4p1:Name>sample string 2</d4p1:Name>
      </ReceiverDepartment>
      <Sender>
        <FirstName>sample string 2</FirstName>
        <Id>0a65ef89-ee51-4c0b-8635-9e0e6b889c21</Id>
        <LastName>sample string 3</LastName>
        <MiddleName>sample string 4</MiddleName>
        <Post>sample string 5</Post>
      </Sender>
      <State>None</State>
      <Type>None</Type>
    </InternalDocflow>
    <InternalDocflow>
      <CreationComment>sample string 3</CreationComment>
      <CreationDate>2020-10-20T19:58:32.940042+03:00</CreationDate>
      <Documents>
        <InternalDocflow.DocumentInfo>
          <Contractor xmlns:d6p1="http://schemas.datacontract.org/2004/07/Taxnet.Transcrypt.Api20.Models">
            <d6p1:DocflowUserId>sample string 7</d6p1:DocflowUserId>
            <d6p1:Id>54062784-fccf-4af7-896a-878472c12f4b</d6p1:Id>
            <d6p1:Inn>sample string 4</d6p1:Inn>
            <d6p1:IsRoaming>true</d6p1:IsRoaming>
            <d6p1:Kpp>sample string 5</d6p1:Kpp>
            <d6p1:Name>sample string 2</d6p1:Name>
            <d6p1:ShortName>sample string 3</d6p1:ShortName>
          </Contractor>
          <CreateDate>2020-10-20T19:58:32.9410386+03:00</CreateDate>
          <DepartmentId>3c488ae8-8cdb-4bd7-aa3a-5f8a6a50c98b</DepartmentId>
          <Direction>None</Direction>
          <DocumentState>None</DocumentState>
          <Id>1dc951f5-68b4-417b-b01e-584223c2882b</Id>
          <IsDraft>true</IsDraft>
          <NeedResign>true</NeedResign>
          <ReceiveDate>2020-10-20T19:58:32.9410386+03:00</ReceiveDate>
          <Title>sample string 2</Title>
          <Type xmlns:d6p1="http://schemas.datacontract.org/2004/07/Taxnet.Transcrypt.Api20.Models">
            <d6p1:Code>1</d6p1:Code>
            <d6p1:Name>sample string 2</d6p1:Name>
          </Type>
        </InternalDocflow.DocumentInfo>
        <InternalDocflow.DocumentInfo>
          <Contractor xmlns:d6p1="http://schemas.datacontract.org/2004/07/Taxnet.Transcrypt.Api20.Models">
            <d6p1:DocflowUserId>sample string 7</d6p1:DocflowUserId>
            <d6p1:Id>54062784-fccf-4af7-896a-878472c12f4b</d6p1:Id>
            <d6p1:Inn>sample string 4</d6p1:Inn>
            <d6p1:IsRoaming>true</d6p1:IsRoaming>
            <d6p1:Kpp>sample string 5</d6p1:Kpp>
            <d6p1:Name>sample string 2</d6p1:Name>
            <d6p1:ShortName>sample string 3</d6p1:ShortName>
          </Contractor>
          <CreateDate>2020-10-20T19:58:32.9410386+03:00</CreateDate>
          <DepartmentId>3c488ae8-8cdb-4bd7-aa3a-5f8a6a50c98b</DepartmentId>
          <Direction>None</Direction>
          <DocumentState>None</DocumentState>
          <Id>1dc951f5-68b4-417b-b01e-584223c2882b</Id>
          <IsDraft>true</IsDraft>
          <NeedResign>true</NeedResign>
          <ReceiveDate>2020-10-20T19:58:32.9410386+03:00</ReceiveDate>
          <Title>sample string 2</Title>
          <Type xmlns:d6p1="http://schemas.datacontract.org/2004/07/Taxnet.Transcrypt.Api20.Models">
            <d6p1:Code>1</d6p1:Code>
            <d6p1:Name>sample string 2</d6p1:Name>
          </Type>
        </InternalDocflow.DocumentInfo>
      </Documents>
      <Id>fc9198a3-0b21-4a86-969b-f7713877e401</Id>
      <ProcessingComment>sample string 4</ProcessingComment>
      <ProcessingDate>2020-10-20T19:58:32.940042+03:00</ProcessingDate>
      <Receiver>
        <FirstName>sample string 2</FirstName>
        <Id>0a65ef89-ee51-4c0b-8635-9e0e6b889c21</Id>
        <LastName>sample string 3</LastName>
        <MiddleName>sample string 4</MiddleName>
        <Post>sample string 5</Post>
      </Receiver>
      <ReceiverDepartment xmlns:d4p1="http://schemas.datacontract.org/2004/07/Taxnet.Transcrypt.Api20.Models">
        <d4p1:Id>cfa56753-52c1-4e90-8bfb-681c81325180</d4p1:Id>
        <d4p1:Name>sample string 2</d4p1:Name>
      </ReceiverDepartment>
      <Sender>
        <FirstName>sample string 2</FirstName>
        <Id>0a65ef89-ee51-4c0b-8635-9e0e6b889c21</Id>
        <LastName>sample string 3</LastName>
        <MiddleName>sample string 4</MiddleName>
        <Post>sample string 5</Post>
      </Sender>
      <State>None</State>
      <Type>None</Type>
    </InternalDocflow>
  </Items>
  <NextPageUrl>sample string 1</NextPageUrl>
</InternalDocflowList>