GET api/SysTableMain/GetAttrModelById/{id}

获取配置表属性单条信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

获取配置表属性单条信息

SysTableAttrDTO
NameDescriptionTypeAdditional information
Id

integer

None.

MyPK

string

String length: inclusive between 0 and 500

FK_MapData

string

String length: inclusive between 0 and 100

KeyOfEn

string

String length: inclusive between 0 and 200

Name

string

String length: inclusive between 0 and 200

DefVal

string

String length: inclusive between 0 and 4000

UIContralType

EnumControl

None.

MyDataType

EnumDataType

None.

LGType

EnumLGType

None.

MinLen

integer

None.

MaxLen

integer

None.

UIWidth

decimal number

None.

UIHeight

decimal number

None.

UIBindKey

string

String length: inclusive between 0 and 100

UIRefKey

string

String length: inclusive between 0 and 30

UIRefKeyText

string

String length: inclusive between 0 and 30

UIVisible

EnumVisible

None.

UIIsEnable

EnumEnable

None.

UIIsLine

EnumIsLine

None.

UIIsInput

EnumIsInput

None.

EditType

EnumEditType

None.

ColSpan

integer

None.

IsLine

EnumIsLine

None.

IsCondition

EnumFlag

None.

AtPara

string

String length: inclusive between 0 and 4000

Tag

string

String length: inclusive between 0 and 100

GroupID

integer

None.

Idx

integer

None.

IsGirdShow

EnumVisible

None.

IsGirdEdit

EnumEnable

None.

TableExt

Collection of SysTableExtDTO

None.

TableEnum

Collection of SysTableEnumDTO

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "MyPK": "sample string 2",
  "FK_MapData": "sample string 3",
  "KeyOfEn": "sample string 4",
  "Name": "sample string 5",
  "DefVal": "sample string 6",
  "UIContralType": 0,
  "MyDataType": 1,
  "LGType": 0,
  "MinLen": 1,
  "MaxLen": 1,
  "UIWidth": 1.1,
  "UIHeight": 1.1,
  "UIBindKey": "sample string 7",
  "UIRefKey": "sample string 8",
  "UIRefKeyText": "sample string 9",
  "UIVisible": 0,
  "UIIsEnable": 0,
  "UIIsLine": 0,
  "UIIsInput": 0,
  "EditType": 0,
  "ColSpan": 1,
  "IsLine": 0,
  "IsCondition": 0,
  "AtPara": "sample string 10",
  "Tag": "sample string 11",
  "GroupID": 1,
  "Idx": 1,
  "IsGirdShow": 0,
  "IsGirdEdit": 0,
  "TableExt": [
    {
      "MyPK": "sample string 1",
      "FK_MapData": "sample string 2",
      "ExtType": "sample string 3",
      "DoWay": 4,
      "AttrOfOper": "sample string 5",
      "AttrsOfActive": "sample string 6",
      "FK_DBSrc": "sample string 7",
      "Doc": "sample string 8",
      "Tag": "sample string 9",
      "Tag1": "sample string 10",
      "Tag2": "sample string 11",
      "Tag3": "sample string 12",
      "Tag4": "sample string 13",
      "AtPara": "sample string 14",
      "DBSrc": "sample string 15",
      "H": 16,
      "W": 17,
      "PRI": 18
    },
    {
      "MyPK": "sample string 1",
      "FK_MapData": "sample string 2",
      "ExtType": "sample string 3",
      "DoWay": 4,
      "AttrOfOper": "sample string 5",
      "AttrsOfActive": "sample string 6",
      "FK_DBSrc": "sample string 7",
      "Doc": "sample string 8",
      "Tag": "sample string 9",
      "Tag1": "sample string 10",
      "Tag2": "sample string 11",
      "Tag3": "sample string 12",
      "Tag4": "sample string 13",
      "AtPara": "sample string 14",
      "DBSrc": "sample string 15",
      "H": 16,
      "W": 17,
      "PRI": 18
    }
  ],
  "TableEnum": [
    {
      "Id": 1,
      "IntKey": 2,
      "MyPK": "sample string 3",
      "Lab": "sample string 4",
      "EnumKey": "sample string 5",
      "Lang": "sample string 6"
    },
    {
      "Id": 1,
      "IntKey": 2,
      "MyPK": "sample string 3",
      "Lab": "sample string 4",
      "EnumKey": "sample string 5",
      "Lang": "sample string 6"
    }
  ]
}

application/xml, text/xml

Sample:
<SysTableAttrDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <AtPara>sample string 10</AtPara>
  <ColSpan>1</ColSpan>
  <DefVal>sample string 6</DefVal>
  <EditType>Input</EditType>
  <FK_MapData>sample string 3</FK_MapData>
  <GroupID>1</GroupID>
  <Id>1</Id>
  <Idx>1</Idx>
  <IsCondition>Invalid</IsCondition>
  <IsGirdEdit>False</IsGirdEdit>
  <IsGirdShow>False</IsGirdShow>
  <IsLine>False</IsLine>
  <KeyOfEn>sample string 4</KeyOfEn>
  <LGType>Normal</LGType>
  <MaxLen>1</MaxLen>
  <MinLen>1</MinLen>
  <MyDataType>String</MyDataType>
  <MyPK>sample string 2</MyPK>
  <Name>sample string 5</Name>
  <TableEnum>
    <SysTableEnumDTO>
      <EnumKey>sample string 5</EnumKey>
      <Id>1</Id>
      <IntKey>2</IntKey>
      <Lab>sample string 4</Lab>
      <Lang>sample string 6</Lang>
      <MyPK>sample string 3</MyPK>
    </SysTableEnumDTO>
    <SysTableEnumDTO>
      <EnumKey>sample string 5</EnumKey>
      <Id>1</Id>
      <IntKey>2</IntKey>
      <Lab>sample string 4</Lab>
      <Lang>sample string 6</Lang>
      <MyPK>sample string 3</MyPK>
    </SysTableEnumDTO>
  </TableEnum>
  <TableExt>
    <SysTableExtDTO>
      <AtPara>sample string 14</AtPara>
      <AttrOfOper>sample string 5</AttrOfOper>
      <AttrsOfActive>sample string 6</AttrsOfActive>
      <DBSrc>sample string 15</DBSrc>
      <DoWay>4</DoWay>
      <Doc>sample string 8</Doc>
      <ExtType>sample string 3</ExtType>
      <FK_DBSrc>sample string 7</FK_DBSrc>
      <FK_MapData>sample string 2</FK_MapData>
      <H>16</H>
      <MyPK>sample string 1</MyPK>
      <PRI>18</PRI>
      <Tag>sample string 9</Tag>
      <Tag1>sample string 10</Tag1>
      <Tag2>sample string 11</Tag2>
      <Tag3>sample string 12</Tag3>
      <Tag4>sample string 13</Tag4>
      <W>17</W>
    </SysTableExtDTO>
    <SysTableExtDTO>
      <AtPara>sample string 14</AtPara>
      <AttrOfOper>sample string 5</AttrOfOper>
      <AttrsOfActive>sample string 6</AttrsOfActive>
      <DBSrc>sample string 15</DBSrc>
      <DoWay>4</DoWay>
      <Doc>sample string 8</Doc>
      <ExtType>sample string 3</ExtType>
      <FK_DBSrc>sample string 7</FK_DBSrc>
      <FK_MapData>sample string 2</FK_MapData>
      <H>16</H>
      <MyPK>sample string 1</MyPK>
      <PRI>18</PRI>
      <Tag>sample string 9</Tag>
      <Tag1>sample string 10</Tag1>
      <Tag2>sample string 11</Tag2>
      <Tag3>sample string 12</Tag3>
      <Tag4>sample string 13</Tag4>
      <W>17</W>
    </SysTableExtDTO>
  </TableExt>
  <Tag>sample string 11</Tag>
  <UIBindKey>sample string 7</UIBindKey>
  <UIContralType>Input</UIContralType>
  <UIHeight>1.1</UIHeight>
  <UIIsEnable>False</UIIsEnable>
  <UIIsInput>False</UIIsInput>
  <UIIsLine>False</UIIsLine>
  <UIRefKey>sample string 8</UIRefKey>
  <UIRefKeyText>sample string 9</UIRefKeyText>
  <UIVisible>False</UIVisible>
  <UIWidth>1.1</UIWidth>
</SysTableAttrDTO>