GET api/v2/contact/organization?DocflowMemberId={DocflowMemberId}&Inn={Inn}&Kpp={Kpp}&Search={Search}&Count={Count}&StartIndex={StartIndex}

Получение списка организаций

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

GET параметры

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

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

string

Нет.

Inn

ИНН

string

Нет.

Kpp

КПП

string

Нет.

Search

По строке поиска. Искать нужно по следующим полям: наименование организации (индивидуального предпринимателя), ИНН и идентификатор участника документооборота

string

Нет.

Count

Количество записей (максимально 50, значение по умолчанию 50)

integer

Нет.

StartIndex

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

integer

Нет.

Body параметры

Нет.

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

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

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

Информация об организации

ContractorOrganization

Нет.

ContractorStatus

Статус приглашения на взаимодействие

AddressBookEntryStateModel

Нет.

ContractorId

Идентификатор приглашения на взаимодействие

globally unique identifier

Нет.

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

application/json, text/json

Пример:
[
  {
    "Organization": {
      "Id": "c83c1e5a-f1cd-419a-8e30-3e1610bbda73",
      "Type": 0,
      "LegalEntityType": 0,
      "Name": "sample string 2",
      "DocflowMemberId": "sample string 3",
      "Address": {
        "RussianAddress": {
          "PostIndex": "sample string 1",
          "Region": {
            "Code": "sample string 1",
            "Name": "sample string 2",
            "ShortName": "sample string 3"
          },
          "Area": "sample string 2",
          "City": "sample string 3",
          "Settlement": "sample string 4",
          "Street": "sample string 5",
          "House": "sample string 6",
          "Structure": "sample string 7",
          "Apartment": "sample string 8"
        },
        "ForeignAddress": {
          "Country": {
            "Code2": "sample string 1",
            "Code3": "sample string 2",
            "Name": "sample string 3",
            "ShortName": "sample string 4"
          },
          "Address": "sample string 1"
        }
      },
      "Status": 0,
      "Departments": [
        {
          "Id": "54ecf6ed-4559-4cb8-9434-75d8a49686bb",
          "ParentDepartment": "99bb541b-5c7c-40e0-a5d5-dc5f05d7bc22",
          "Name": "sample string 2",
          "ShortName": "sample string 3",
          "Kpp": "sample string 4",
          "Address": {
            "RussianAddress": {
              "PostIndex": "sample string 1",
              "Region": {
                "Code": "sample string 1",
                "Name": "sample string 2",
                "ShortName": "sample string 3"
              },
              "Area": "sample string 2",
              "City": "sample string 3",
              "Settlement": "sample string 4",
              "Street": "sample string 5",
              "House": "sample string 6",
              "Structure": "sample string 7",
              "Apartment": "sample string 8"
            },
            "ForeignAddress": {
              "Country": {
                "Code2": "sample string 1",
                "Code3": "sample string 2",
                "Name": "sample string 3",
                "ShortName": "sample string 4"
              },
              "Address": "sample string 1"
            }
          }
        },
        {
          "Id": "54ecf6ed-4559-4cb8-9434-75d8a49686bb",
          "ParentDepartment": "99bb541b-5c7c-40e0-a5d5-dc5f05d7bc22",
          "Name": "sample string 2",
          "ShortName": "sample string 3",
          "Kpp": "sample string 4",
          "Address": {
            "RussianAddress": {
              "PostIndex": "sample string 1",
              "Region": {
                "Code": "sample string 1",
                "Name": "sample string 2",
                "ShortName": "sample string 3"
              },
              "Area": "sample string 2",
              "City": "sample string 3",
              "Settlement": "sample string 4",
              "Street": "sample string 5",
              "House": "sample string 6",
              "Structure": "sample string 7",
              "Apartment": "sample string 8"
            },
            "ForeignAddress": {
              "Country": {
                "Code2": "sample string 1",
                "Code3": "sample string 2",
                "Name": "sample string 3",
                "ShortName": "sample string 4"
              },
              "Address": "sample string 1"
            }
          }
        }
      ],
      "Inn": "sample string 4",
      "Kpp": "sample string 5",
      "Operator": {
        "Id": "fbfb4e96-e87a-48e9-96c8-fbf7b6b14db2",
        "DocflowMemberId": "sample string 2",
        "Inn": "sample string 3",
        "Name": "sample string 4",
        "IsRoaming": true
      },
      "IsRoaming": true,
      "Is1C": true
    },
    "ContractorStatus": 0,
    "ContractorId": "f5d47189-2f2c-47d6-9d7f-26bab9d93dbe"
  },
  {
    "Organization": {
      "Id": "c83c1e5a-f1cd-419a-8e30-3e1610bbda73",
      "Type": 0,
      "LegalEntityType": 0,
      "Name": "sample string 2",
      "DocflowMemberId": "sample string 3",
      "Address": {
        "RussianAddress": {
          "PostIndex": "sample string 1",
          "Region": {
            "Code": "sample string 1",
            "Name": "sample string 2",
            "ShortName": "sample string 3"
          },
          "Area": "sample string 2",
          "City": "sample string 3",
          "Settlement": "sample string 4",
          "Street": "sample string 5",
          "House": "sample string 6",
          "Structure": "sample string 7",
          "Apartment": "sample string 8"
        },
        "ForeignAddress": {
          "Country": {
            "Code2": "sample string 1",
            "Code3": "sample string 2",
            "Name": "sample string 3",
            "ShortName": "sample string 4"
          },
          "Address": "sample string 1"
        }
      },
      "Status": 0,
      "Departments": [
        {
          "Id": "54ecf6ed-4559-4cb8-9434-75d8a49686bb",
          "ParentDepartment": "99bb541b-5c7c-40e0-a5d5-dc5f05d7bc22",
          "Name": "sample string 2",
          "ShortName": "sample string 3",
          "Kpp": "sample string 4",
          "Address": {
            "RussianAddress": {
              "PostIndex": "sample string 1",
              "Region": {
                "Code": "sample string 1",
                "Name": "sample string 2",
                "ShortName": "sample string 3"
              },
              "Area": "sample string 2",
              "City": "sample string 3",
              "Settlement": "sample string 4",
              "Street": "sample string 5",
              "House": "sample string 6",
              "Structure": "sample string 7",
              "Apartment": "sample string 8"
            },
            "ForeignAddress": {
              "Country": {
                "Code2": "sample string 1",
                "Code3": "sample string 2",
                "Name": "sample string 3",
                "ShortName": "sample string 4"
              },
              "Address": "sample string 1"
            }
          }
        },
        {
          "Id": "54ecf6ed-4559-4cb8-9434-75d8a49686bb",
          "ParentDepartment": "99bb541b-5c7c-40e0-a5d5-dc5f05d7bc22",
          "Name": "sample string 2",
          "ShortName": "sample string 3",
          "Kpp": "sample string 4",
          "Address": {
            "RussianAddress": {
              "PostIndex": "sample string 1",
              "Region": {
                "Code": "sample string 1",
                "Name": "sample string 2",
                "ShortName": "sample string 3"
              },
              "Area": "sample string 2",
              "City": "sample string 3",
              "Settlement": "sample string 4",
              "Street": "sample string 5",
              "House": "sample string 6",
              "Structure": "sample string 7",
              "Apartment": "sample string 8"
            },
            "ForeignAddress": {
              "Country": {
                "Code2": "sample string 1",
                "Code3": "sample string 2",
                "Name": "sample string 3",
                "ShortName": "sample string 4"
              },
              "Address": "sample string 1"
            }
          }
        }
      ],
      "Inn": "sample string 4",
      "Kpp": "sample string 5",
      "Operator": {
        "Id": "fbfb4e96-e87a-48e9-96c8-fbf7b6b14db2",
        "DocflowMemberId": "sample string 2",
        "Inn": "sample string 3",
        "Name": "sample string 4",
        "IsRoaming": true
      },
      "IsRoaming": true,
      "Is1C": true
    },
    "ContractorStatus": 0,
    "ContractorId": "f5d47189-2f2c-47d6-9d7f-26bab9d93dbe"
  }
]

application/xml, text/xml

Пример:
<ArrayOfSearchOrganisationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Taxnet.Transcrypt.Api20.Models">
  <SearchOrganisationResult>
    <ContractorId>f5d47189-2f2c-47d6-9d7f-26bab9d93dbe</ContractorId>
    <ContractorStatus>None</ContractorStatus>
    <Organization>
      <Address>
        <ForeignAddress>
          <Address>sample string 1</Address>
          <Country>
            <Code2>sample string 1</Code2>
            <Code3>sample string 2</Code3>
            <Name>sample string 3</Name>
            <ShortName>sample string 4</ShortName>
          </Country>
        </ForeignAddress>
        <RussianAddress>
          <Apartment>sample string 8</Apartment>
          <Area>sample string 2</Area>
          <City>sample string 3</City>
          <House>sample string 6</House>
          <PostIndex>sample string 1</PostIndex>
          <Region>
            <Code>sample string 1</Code>
            <Name>sample string 2</Name>
            <ShortName>sample string 3</ShortName>
          </Region>
          <Settlement>sample string 4</Settlement>
          <Street>sample string 5</Street>
          <Structure>sample string 7</Structure>
        </RussianAddress>
      </Address>
      <Departments>
        <Contractor.ContractorOrganization.ContractOrganizationDepartment>
          <Address>
            <ForeignAddress>
              <Address>sample string 1</Address>
              <Country>
                <Code2>sample string 1</Code2>
                <Code3>sample string 2</Code3>
                <Name>sample string 3</Name>
                <ShortName>sample string 4</ShortName>
              </Country>
            </ForeignAddress>
            <RussianAddress>
              <Apartment>sample string 8</Apartment>
              <Area>sample string 2</Area>
              <City>sample string 3</City>
              <House>sample string 6</House>
              <PostIndex>sample string 1</PostIndex>
              <Region>
                <Code>sample string 1</Code>
                <Name>sample string 2</Name>
                <ShortName>sample string 3</ShortName>
              </Region>
              <Settlement>sample string 4</Settlement>
              <Street>sample string 5</Street>
              <Structure>sample string 7</Structure>
            </RussianAddress>
          </Address>
          <Id>54ecf6ed-4559-4cb8-9434-75d8a49686bb</Id>
          <Kpp>sample string 4</Kpp>
          <Name>sample string 2</Name>
          <ParentDepartment>99bb541b-5c7c-40e0-a5d5-dc5f05d7bc22</ParentDepartment>
          <ShortName>sample string 3</ShortName>
        </Contractor.ContractorOrganization.ContractOrganizationDepartment>
        <Contractor.ContractorOrganization.ContractOrganizationDepartment>
          <Address>
            <ForeignAddress>
              <Address>sample string 1</Address>
              <Country>
                <Code2>sample string 1</Code2>
                <Code3>sample string 2</Code3>
                <Name>sample string 3</Name>
                <ShortName>sample string 4</ShortName>
              </Country>
            </ForeignAddress>
            <RussianAddress>
              <Apartment>sample string 8</Apartment>
              <Area>sample string 2</Area>
              <City>sample string 3</City>
              <House>sample string 6</House>
              <PostIndex>sample string 1</PostIndex>
              <Region>
                <Code>sample string 1</Code>
                <Name>sample string 2</Name>
                <ShortName>sample string 3</ShortName>
              </Region>
              <Settlement>sample string 4</Settlement>
              <Street>sample string 5</Street>
              <Structure>sample string 7</Structure>
            </RussianAddress>
          </Address>
          <Id>54ecf6ed-4559-4cb8-9434-75d8a49686bb</Id>
          <Kpp>sample string 4</Kpp>
          <Name>sample string 2</Name>
          <ParentDepartment>99bb541b-5c7c-40e0-a5d5-dc5f05d7bc22</ParentDepartment>
          <ShortName>sample string 3</ShortName>
        </Contractor.ContractorOrganization.ContractOrganizationDepartment>
      </Departments>
      <DocflowMemberId>sample string 3</DocflowMemberId>
      <Id>c83c1e5a-f1cd-419a-8e30-3e1610bbda73</Id>
      <Inn>sample string 4</Inn>
      <Is1C>true</Is1C>
      <IsRoaming>true</IsRoaming>
      <Kpp>sample string 5</Kpp>
      <LegalEntityType>Unknown</LegalEntityType>
      <Name>sample string 2</Name>
      <Operator>
        <DocflowMemberId>sample string 2</DocflowMemberId>
        <Id>fbfb4e96-e87a-48e9-96c8-fbf7b6b14db2</Id>
        <Inn>sample string 3</Inn>
        <IsRoaming>true</IsRoaming>
        <Name>sample string 4</Name>
      </Operator>
      <Status>Active</Status>
      <Type>None</Type>
    </Organization>
  </SearchOrganisationResult>
  <SearchOrganisationResult>
    <ContractorId>f5d47189-2f2c-47d6-9d7f-26bab9d93dbe</ContractorId>
    <ContractorStatus>None</ContractorStatus>
    <Organization>
      <Address>
        <ForeignAddress>
          <Address>sample string 1</Address>
          <Country>
            <Code2>sample string 1</Code2>
            <Code3>sample string 2</Code3>
            <Name>sample string 3</Name>
            <ShortName>sample string 4</ShortName>
          </Country>
        </ForeignAddress>
        <RussianAddress>
          <Apartment>sample string 8</Apartment>
          <Area>sample string 2</Area>
          <City>sample string 3</City>
          <House>sample string 6</House>
          <PostIndex>sample string 1</PostIndex>
          <Region>
            <Code>sample string 1</Code>
            <Name>sample string 2</Name>
            <ShortName>sample string 3</ShortName>
          </Region>
          <Settlement>sample string 4</Settlement>
          <Street>sample string 5</Street>
          <Structure>sample string 7</Structure>
        </RussianAddress>
      </Address>
      <Departments>
        <Contractor.ContractorOrganization.ContractOrganizationDepartment>
          <Address>
            <ForeignAddress>
              <Address>sample string 1</Address>
              <Country>
                <Code2>sample string 1</Code2>
                <Code3>sample string 2</Code3>
                <Name>sample string 3</Name>
                <ShortName>sample string 4</ShortName>
              </Country>
            </ForeignAddress>
            <RussianAddress>
              <Apartment>sample string 8</Apartment>
              <Area>sample string 2</Area>
              <City>sample string 3</City>
              <House>sample string 6</House>
              <PostIndex>sample string 1</PostIndex>
              <Region>
                <Code>sample string 1</Code>
                <Name>sample string 2</Name>
                <ShortName>sample string 3</ShortName>
              </Region>
              <Settlement>sample string 4</Settlement>
              <Street>sample string 5</Street>
              <Structure>sample string 7</Structure>
            </RussianAddress>
          </Address>
          <Id>54ecf6ed-4559-4cb8-9434-75d8a49686bb</Id>
          <Kpp>sample string 4</Kpp>
          <Name>sample string 2</Name>
          <ParentDepartment>99bb541b-5c7c-40e0-a5d5-dc5f05d7bc22</ParentDepartment>
          <ShortName>sample string 3</ShortName>
        </Contractor.ContractorOrganization.ContractOrganizationDepartment>
        <Contractor.ContractorOrganization.ContractOrganizationDepartment>
          <Address>
            <ForeignAddress>
              <Address>sample string 1</Address>
              <Country>
                <Code2>sample string 1</Code2>
                <Code3>sample string 2</Code3>
                <Name>sample string 3</Name>
                <ShortName>sample string 4</ShortName>
              </Country>
            </ForeignAddress>
            <RussianAddress>
              <Apartment>sample string 8</Apartment>
              <Area>sample string 2</Area>
              <City>sample string 3</City>
              <House>sample string 6</House>
              <PostIndex>sample string 1</PostIndex>
              <Region>
                <Code>sample string 1</Code>
                <Name>sample string 2</Name>
                <ShortName>sample string 3</ShortName>
              </Region>
              <Settlement>sample string 4</Settlement>
              <Street>sample string 5</Street>
              <Structure>sample string 7</Structure>
            </RussianAddress>
          </Address>
          <Id>54ecf6ed-4559-4cb8-9434-75d8a49686bb</Id>
          <Kpp>sample string 4</Kpp>
          <Name>sample string 2</Name>
          <ParentDepartment>99bb541b-5c7c-40e0-a5d5-dc5f05d7bc22</ParentDepartment>
          <ShortName>sample string 3</ShortName>
        </Contractor.ContractorOrganization.ContractOrganizationDepartment>
      </Departments>
      <DocflowMemberId>sample string 3</DocflowMemberId>
      <Id>c83c1e5a-f1cd-419a-8e30-3e1610bbda73</Id>
      <Inn>sample string 4</Inn>
      <Is1C>true</Is1C>
      <IsRoaming>true</IsRoaming>
      <Kpp>sample string 5</Kpp>
      <LegalEntityType>Unknown</LegalEntityType>
      <Name>sample string 2</Name>
      <Operator>
        <DocflowMemberId>sample string 2</DocflowMemberId>
        <Id>fbfb4e96-e87a-48e9-96c8-fbf7b6b14db2</Id>
        <Inn>sample string 3</Inn>
        <IsRoaming>true</IsRoaming>
        <Name>sample string 4</Name>
      </Operator>
      <Status>Active</Status>
      <Type>None</Type>
    </Organization>
  </SearchOrganisationResult>
</ArrayOfSearchOrganisationResult>