GET api/TypeAttrRelation/GetRelationList/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

IViewPageListOfTypeAttrRelationDTO
NameDescriptionTypeAdditional information
data

Collection of TypeAttrRelationDTO

None.

total

integer

None.

pageSize

integer

None.

pageNum

integer

None.

code

integer

None.

message

string

None.

HasNextPage

boolean

None.

ColumnsList

Collection of Columns

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "Tid": 1,
      "Aid": 1,
      "Mid": 2,
      "MTid": 3,
      "AttrValue": "sample string 4",
      "OrderId": 5,
      "Events": null,
      "IsShow": true,
      "TARelationRemark": "sample string 6",
      "FormAttrName": "sample string 7",
      "FormAttrRemark": "sample string 8",
      "FormTypeName": "sample string 9",
      "FormTypeRemark": "sample string 10",
      "Id": 11,
      "CreateBy": "sample string 13",
      "CreateTime": "2019-05-20T08:45:07.4634967+08:00"
    },
    {
      "Tid": 1,
      "Aid": 1,
      "Mid": 2,
      "MTid": 3,
      "AttrValue": "sample string 4",
      "OrderId": 5,
      "Events": null,
      "IsShow": true,
      "TARelationRemark": "sample string 6",
      "FormAttrName": "sample string 7",
      "FormAttrRemark": "sample string 8",
      "FormTypeName": "sample string 9",
      "FormTypeRemark": "sample string 10",
      "Id": 11,
      "CreateBy": "sample string 13",
      "CreateTime": "2019-05-20T08:45:07.4634967+08:00"
    }
  ],
  "total": 1,
  "pageSize": 2,
  "pageNum": 3,
  "code": 4,
  "message": "sample string 5",
  "HasNextPage": true,
  "ColumnsList": [
    {
      "key": "sample string 1",
      "title": "sample string 2",
      "type": "sample string 3",
      "width": 4,
      "align": "sample string 5",
      "value": "sample string 6"
    },
    {
      "key": "sample string 1",
      "title": "sample string 2",
      "type": "sample string 3",
      "width": 4,
      "align": "sample string 5",
      "value": "sample string 6"
    }
  ]
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: 类型“Newtonsoft.Json.Linq.JToken”是不支持的递归集合数据协定。请考虑修改集合“Newtonsoft.Json.Linq.JToken”的定义,移除对其自身的引用。

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: 类型“Newtonsoft.Json.Linq.JToken”是不支持的递归集合数据协定。请考虑修改集合“Newtonsoft.Json.Linq.JToken”的定义,移除对其自身的引用。