GET api/structure/findall?key={key}

获取全部组织架构

Request Information

URI Parameters

NameDescriptionTypeAdditional information
key

string

Default value is

Body Parameters

None.

Response Information

Resource Description

获取全部组织架构

JsonRtnDtoOfListOfStructure
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

Collection of Structure

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": [
    {
      "ID": 1,
      "StructureName": "sample string 2",
      "Path": "sample string 3",
      "PID": 4,
      "Sort": 5,
      "UpdatedTime": "2024-09-25T00:10:20.7494501+08:00",
      "CreatedTime": "2024-09-25T00:10:20.7494501+08:00"
    },
    {
      "ID": 1,
      "StructureName": "sample string 2",
      "Path": "sample string 3",
      "PID": 4,
      "Sort": 5,
      "UpdatedTime": "2024-09-25T00:10:20.7494501+08:00",
      "CreatedTime": "2024-09-25T00:10:20.7494501+08:00"
    }
  ]
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":[{"ID":1,"StructureName":"sample string 2","Path":"sample string 3","PID":4,"Sort":5,"UpdatedTime":"2024-09-25T00:10:20.7494501+08:00","CreatedTime":"2024-09-25T00:10:20.7494501+08:00"},{"ID":1,"StructureName":"sample string 2","Path":"sample string 3","PID":4,"Sort":5,"UpdatedTime":"2024-09-25T00:10:20.7494501+08:00","CreatedTime":"2024-09-25T00:10:20.7494501+08:00"}]}

application/xml, text/xml

Sample:
<JsonRtnDtoOfArrayOfStructuremEDjlcEG xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Data">
    <d2p1:Structure>
      <d2p1:CreatedTime>2024-09-25T00:10:20.7494501+08:00</d2p1:CreatedTime>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:PID>4</d2p1:PID>
      <d2p1:Path>sample string 3</d2p1:Path>
      <d2p1:Sort>5</d2p1:Sort>
      <d2p1:StructureName>sample string 2</d2p1:StructureName>
      <d2p1:UpdatedTime>2024-09-25T00:10:20.7494501+08:00</d2p1:UpdatedTime>
    </d2p1:Structure>
    <d2p1:Structure>
      <d2p1:CreatedTime>2024-09-25T00:10:20.7494501+08:00</d2p1:CreatedTime>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:PID>4</d2p1:PID>
      <d2p1:Path>sample string 3</d2p1:Path>
      <d2p1:Sort>5</d2p1:Sort>
      <d2p1:StructureName>sample string 2</d2p1:StructureName>
      <d2p1:UpdatedTime>2024-09-25T00:10:20.7494501+08:00</d2p1:UpdatedTime>
    </d2p1:Structure>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfArrayOfStructuremEDjlcEG>

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":[{"ID":1,"StructureName":"sample string 2","Path":"sample string 3","PID":4,"Sort":5,"UpdatedTime":"2024-09-25T00:10:20.7494501+08:00","CreatedTime":"2024-09-25T00:10:20.7494501+08:00"},{"ID":1,"StructureName":"sample string 2","Path":"sample string 3","PID":4,"Sort":5,"UpdatedTime":"2024-09-25T00:10:20.7494501+08:00","CreatedTime":"2024-09-25T00:10:20.7494501+08:00"}]});