GET api/v2/routingworkflows?StartIndex={StartIndex}&Count={Count}&CommonState={CommonState}&SendDateFrom={SendDateFrom}&SendDateTo={SendDateTo}&IsActionRequired={IsActionRequired}&Contractor={Contractor}&SearchString={SearchString}

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

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

GET параметры

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

Начальный индекс

integer

Нет.

Count

Количество записей (не более 50)

integer

Нет.

CommonState

Общий статус

RoutingWorkflowStateModel

Нет.

SendDateFrom

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

date

Нет.

SendDateTo

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

date

Нет.

IsActionRequired

Признак требования действия

boolean

Нет.

Contractor

Поиск по контрагентам

string

Нет.

SearchString

Строка поиска.

string

Нет.

Body параметры

Нет.

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

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

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

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

string

Нет.

Items

Краткая информация о маршрутных документооборотах для вывода в списке

Массив RoutingWorkflowShort

Нет.

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

application/json, text/json

Пример:
{
  "NextPageUrl": "sample string 1",
  "Items": [
    {
      "Uid": "61fe0347-f7fb-4677-9764-d0d2f34a7075",
      "Title": "sample string 2",
      "CreateDate": "2020-10-20T20:03:13.0426775+03:00",
      "UpdateDate": "2020-10-20T20:03:13.0426775+03:00",
      "StateCommon": 0,
      "StateName": "sample string 5",
      "Participants": [
        {
          "ClientId": "ef77f481-5b82-4d79-8e97-aaab095b2a35",
          "Name": "sample string 2",
          "Inn": "sample string 3",
          "Kpp": "sample string 4",
          "IsRoaming": true,
          "DocflowUserId": "sample string 6",
          "TemplateParticipantId": "sample string 7",
          "IsActionRequired": true
        },
        {
          "ClientId": "ef77f481-5b82-4d79-8e97-aaab095b2a35",
          "Name": "sample string 2",
          "Inn": "sample string 3",
          "Kpp": "sample string 4",
          "IsRoaming": true,
          "DocflowUserId": "sample string 6",
          "TemplateParticipantId": "sample string 7",
          "IsActionRequired": true
        }
      ],
      "DocumentGroups": [
        {
          "Uid": "a04c3005-1ff4-4424-866b-32a770cc5019",
          "CreateDate": "2020-10-20T20:03:13.0436748+03:00",
          "Documents": [
            {
              "Uid": "40ba63a8-fb66-47a6-a2ff-1f477e215017",
              "FileName": "sample string 2"
            },
            {
              "Uid": "40ba63a8-fb66-47a6-a2ff-1f477e215017",
              "FileName": "sample string 2"
            }
          ]
        },
        {
          "Uid": "a04c3005-1ff4-4424-866b-32a770cc5019",
          "CreateDate": "2020-10-20T20:03:13.0436748+03:00",
          "Documents": [
            {
              "Uid": "40ba63a8-fb66-47a6-a2ff-1f477e215017",
              "FileName": "sample string 2"
            },
            {
              "Uid": "40ba63a8-fb66-47a6-a2ff-1f477e215017",
              "FileName": "sample string 2"
            }
          ]
        }
      ],
      "TemplateId": 6,
      "TemplateName": "sample string 7",
      "MetadataList": [
        {
          "TemplateMetadataId": "sample string 1",
          "Name": "sample string 2",
          "Value": "sample string 3"
        },
        {
          "TemplateMetadataId": "sample string 1",
          "Name": "sample string 2",
          "Value": "sample string 3"
        }
      ]
    },
    {
      "Uid": "61fe0347-f7fb-4677-9764-d0d2f34a7075",
      "Title": "sample string 2",
      "CreateDate": "2020-10-20T20:03:13.0426775+03:00",
      "UpdateDate": "2020-10-20T20:03:13.0426775+03:00",
      "StateCommon": 0,
      "StateName": "sample string 5",
      "Participants": [
        {
          "ClientId": "ef77f481-5b82-4d79-8e97-aaab095b2a35",
          "Name": "sample string 2",
          "Inn": "sample string 3",
          "Kpp": "sample string 4",
          "IsRoaming": true,
          "DocflowUserId": "sample string 6",
          "TemplateParticipantId": "sample string 7",
          "IsActionRequired": true
        },
        {
          "ClientId": "ef77f481-5b82-4d79-8e97-aaab095b2a35",
          "Name": "sample string 2",
          "Inn": "sample string 3",
          "Kpp": "sample string 4",
          "IsRoaming": true,
          "DocflowUserId": "sample string 6",
          "TemplateParticipantId": "sample string 7",
          "IsActionRequired": true
        }
      ],
      "DocumentGroups": [
        {
          "Uid": "a04c3005-1ff4-4424-866b-32a770cc5019",
          "CreateDate": "2020-10-20T20:03:13.0436748+03:00",
          "Documents": [
            {
              "Uid": "40ba63a8-fb66-47a6-a2ff-1f477e215017",
              "FileName": "sample string 2"
            },
            {
              "Uid": "40ba63a8-fb66-47a6-a2ff-1f477e215017",
              "FileName": "sample string 2"
            }
          ]
        },
        {
          "Uid": "a04c3005-1ff4-4424-866b-32a770cc5019",
          "CreateDate": "2020-10-20T20:03:13.0436748+03:00",
          "Documents": [
            {
              "Uid": "40ba63a8-fb66-47a6-a2ff-1f477e215017",
              "FileName": "sample string 2"
            },
            {
              "Uid": "40ba63a8-fb66-47a6-a2ff-1f477e215017",
              "FileName": "sample string 2"
            }
          ]
        }
      ],
      "TemplateId": 6,
      "TemplateName": "sample string 7",
      "MetadataList": [
        {
          "TemplateMetadataId": "sample string 1",
          "Name": "sample string 2",
          "Value": "sample string 3"
        },
        {
          "TemplateMetadataId": "sample string 1",
          "Name": "sample string 2",
          "Value": "sample string 3"
        }
      ]
    }
  ]
}

application/xml, text/xml

Пример:
<RoutingWorkflowShortModel.RoutingWorkflowsList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Taxnet.Transcrypt.Api20.Models">
  <Items>
    <RoutingWorkflowShortModel.RoutingWorkflowShort>
      <CreateDate>2020-10-20T20:03:13.0426775+03:00</CreateDate>
      <DocumentGroups>
        <RoutingWorkflowShortModel.RoutingWorkflowDocumentGroupShort>
          <CreateDate>2020-10-20T20:03:13.0436748+03:00</CreateDate>
          <Documents>
            <RoutingWorkflowShortModel.RoutingWorkflowDocumentShort>
              <FileName>sample string 2</FileName>
              <Uid>40ba63a8-fb66-47a6-a2ff-1f477e215017</Uid>
            </RoutingWorkflowShortModel.RoutingWorkflowDocumentShort>
            <RoutingWorkflowShortModel.RoutingWorkflowDocumentShort>
              <FileName>sample string 2</FileName>
              <Uid>40ba63a8-fb66-47a6-a2ff-1f477e215017</Uid>
            </RoutingWorkflowShortModel.RoutingWorkflowDocumentShort>
          </Documents>
          <Uid>a04c3005-1ff4-4424-866b-32a770cc5019</Uid>
        </RoutingWorkflowShortModel.RoutingWorkflowDocumentGroupShort>
        <RoutingWorkflowShortModel.RoutingWorkflowDocumentGroupShort>
          <CreateDate>2020-10-20T20:03:13.0436748+03:00</CreateDate>
          <Documents>
            <RoutingWorkflowShortModel.RoutingWorkflowDocumentShort>
              <FileName>sample string 2</FileName>
              <Uid>40ba63a8-fb66-47a6-a2ff-1f477e215017</Uid>
            </RoutingWorkflowShortModel.RoutingWorkflowDocumentShort>
            <RoutingWorkflowShortModel.RoutingWorkflowDocumentShort>
              <FileName>sample string 2</FileName>
              <Uid>40ba63a8-fb66-47a6-a2ff-1f477e215017</Uid>
            </RoutingWorkflowShortModel.RoutingWorkflowDocumentShort>
          </Documents>
          <Uid>a04c3005-1ff4-4424-866b-32a770cc5019</Uid>
        </RoutingWorkflowShortModel.RoutingWorkflowDocumentGroupShort>
      </DocumentGroups>
      <MetadataList>
        <RoutingWorkflowShortModel.RoutingWorkflowMetadataShort>
          <Name>sample string 2</Name>
          <TemplateMetadataId>sample string 1</TemplateMetadataId>
          <Value>sample string 3</Value>
        </RoutingWorkflowShortModel.RoutingWorkflowMetadataShort>
        <RoutingWorkflowShortModel.RoutingWorkflowMetadataShort>
          <Name>sample string 2</Name>
          <TemplateMetadataId>sample string 1</TemplateMetadataId>
          <Value>sample string 3</Value>
        </RoutingWorkflowShortModel.RoutingWorkflowMetadataShort>
      </MetadataList>
      <Participants>
        <RoutingWorkflowShortModel.RoutingWorkflowParticipantShort>
          <ClientId>ef77f481-5b82-4d79-8e97-aaab095b2a35</ClientId>
          <DocflowUserId>sample string 6</DocflowUserId>
          <Inn>sample string 3</Inn>
          <IsActionRequired>true</IsActionRequired>
          <IsRoaming>true</IsRoaming>
          <Kpp>sample string 4</Kpp>
          <Name>sample string 2</Name>
          <TemplateParticipantId>sample string 7</TemplateParticipantId>
        </RoutingWorkflowShortModel.RoutingWorkflowParticipantShort>
        <RoutingWorkflowShortModel.RoutingWorkflowParticipantShort>
          <ClientId>ef77f481-5b82-4d79-8e97-aaab095b2a35</ClientId>
          <DocflowUserId>sample string 6</DocflowUserId>
          <Inn>sample string 3</Inn>
          <IsActionRequired>true</IsActionRequired>
          <IsRoaming>true</IsRoaming>
          <Kpp>sample string 4</Kpp>
          <Name>sample string 2</Name>
          <TemplateParticipantId>sample string 7</TemplateParticipantId>
        </RoutingWorkflowShortModel.RoutingWorkflowParticipantShort>
      </Participants>
      <StateCommon>None</StateCommon>
      <StateName>sample string 5</StateName>
      <TemplateId>6</TemplateId>
      <TemplateName>sample string 7</TemplateName>
      <Title>sample string 2</Title>
      <Uid>61fe0347-f7fb-4677-9764-d0d2f34a7075</Uid>
      <UpdateDate>2020-10-20T20:03:13.0426775+03:00</UpdateDate>
    </RoutingWorkflowShortModel.RoutingWorkflowShort>
    <RoutingWorkflowShortModel.RoutingWorkflowShort>
      <CreateDate>2020-10-20T20:03:13.0426775+03:00</CreateDate>
      <DocumentGroups>
        <RoutingWorkflowShortModel.RoutingWorkflowDocumentGroupShort>
          <CreateDate>2020-10-20T20:03:13.0436748+03:00</CreateDate>
          <Documents>
            <RoutingWorkflowShortModel.RoutingWorkflowDocumentShort>
              <FileName>sample string 2</FileName>
              <Uid>40ba63a8-fb66-47a6-a2ff-1f477e215017</Uid>
            </RoutingWorkflowShortModel.RoutingWorkflowDocumentShort>
            <RoutingWorkflowShortModel.RoutingWorkflowDocumentShort>
              <FileName>sample string 2</FileName>
              <Uid>40ba63a8-fb66-47a6-a2ff-1f477e215017</Uid>
            </RoutingWorkflowShortModel.RoutingWorkflowDocumentShort>
          </Documents>
          <Uid>a04c3005-1ff4-4424-866b-32a770cc5019</Uid>
        </RoutingWorkflowShortModel.RoutingWorkflowDocumentGroupShort>
        <RoutingWorkflowShortModel.RoutingWorkflowDocumentGroupShort>
          <CreateDate>2020-10-20T20:03:13.0436748+03:00</CreateDate>
          <Documents>
            <RoutingWorkflowShortModel.RoutingWorkflowDocumentShort>
              <FileName>sample string 2</FileName>
              <Uid>40ba63a8-fb66-47a6-a2ff-1f477e215017</Uid>
            </RoutingWorkflowShortModel.RoutingWorkflowDocumentShort>
            <RoutingWorkflowShortModel.RoutingWorkflowDocumentShort>
              <FileName>sample string 2</FileName>
              <Uid>40ba63a8-fb66-47a6-a2ff-1f477e215017</Uid>
            </RoutingWorkflowShortModel.RoutingWorkflowDocumentShort>
          </Documents>
          <Uid>a04c3005-1ff4-4424-866b-32a770cc5019</Uid>
        </RoutingWorkflowShortModel.RoutingWorkflowDocumentGroupShort>
      </DocumentGroups>
      <MetadataList>
        <RoutingWorkflowShortModel.RoutingWorkflowMetadataShort>
          <Name>sample string 2</Name>
          <TemplateMetadataId>sample string 1</TemplateMetadataId>
          <Value>sample string 3</Value>
        </RoutingWorkflowShortModel.RoutingWorkflowMetadataShort>
        <RoutingWorkflowShortModel.RoutingWorkflowMetadataShort>
          <Name>sample string 2</Name>
          <TemplateMetadataId>sample string 1</TemplateMetadataId>
          <Value>sample string 3</Value>
        </RoutingWorkflowShortModel.RoutingWorkflowMetadataShort>
      </MetadataList>
      <Participants>
        <RoutingWorkflowShortModel.RoutingWorkflowParticipantShort>
          <ClientId>ef77f481-5b82-4d79-8e97-aaab095b2a35</ClientId>
          <DocflowUserId>sample string 6</DocflowUserId>
          <Inn>sample string 3</Inn>
          <IsActionRequired>true</IsActionRequired>
          <IsRoaming>true</IsRoaming>
          <Kpp>sample string 4</Kpp>
          <Name>sample string 2</Name>
          <TemplateParticipantId>sample string 7</TemplateParticipantId>
        </RoutingWorkflowShortModel.RoutingWorkflowParticipantShort>
        <RoutingWorkflowShortModel.RoutingWorkflowParticipantShort>
          <ClientId>ef77f481-5b82-4d79-8e97-aaab095b2a35</ClientId>
          <DocflowUserId>sample string 6</DocflowUserId>
          <Inn>sample string 3</Inn>
          <IsActionRequired>true</IsActionRequired>
          <IsRoaming>true</IsRoaming>
          <Kpp>sample string 4</Kpp>
          <Name>sample string 2</Name>
          <TemplateParticipantId>sample string 7</TemplateParticipantId>
        </RoutingWorkflowShortModel.RoutingWorkflowParticipantShort>
      </Participants>
      <StateCommon>None</StateCommon>
      <StateName>sample string 5</StateName>
      <TemplateId>6</TemplateId>
      <TemplateName>sample string 7</TemplateName>
      <Title>sample string 2</Title>
      <Uid>61fe0347-f7fb-4677-9764-d0d2f34a7075</Uid>
      <UpdateDate>2020-10-20T20:03:13.0426775+03:00</UpdateDate>
    </RoutingWorkflowShortModel.RoutingWorkflowShort>
  </Items>
  <NextPageUrl>sample string 1</NextPageUrl>
</RoutingWorkflowShortModel.RoutingWorkflowsList>