GET api/InnerTypeRelation/GetModelById/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

InnerTypeRelationDTO
NameDescriptionTypeAdditional information
MTid

integer

None.

Mid

integer

None.

Tid

integer

None.

OrderId

integer

None.

TypeFlagId

integer

None.

ITRelationRemark

string

None.

sequence

Collection of OrderListInnerType

None.

items

Collection of InnerTypeAttrRelationDTO

None.

InnerTypeAttrList

Collection of InnerTypeAttrRelationDTO

None.

Id

编号

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "MTid": 1,
  "Mid": 2,
  "Tid": 3,
  "OrderId": 4,
  "TypeFlagId": 5,
  "ITRelationRemark": "sample string 6",
  "sequence": [
    {
      "ITid": 1,
      "OrderId": 2,
      "TypeFlagId": 3
    },
    {
      "ITid": 1,
      "OrderId": 2,
      "TypeFlagId": 3
    }
  ],
  "items": [
    {
      "Tid": 1,
      "Aid": 1,
      "Mid": 2,
      "MTid": 3,
      "ITid": 4,
      "AttrValue": "sample string 5",
      "Events": null,
      "IsShow": true,
      "ITARelationRemark": "sample string 6",
      "FormAttrName": "sample string 7",
      "FormTypeName": "sample string 8",
      "OrderId": 9,
      "TypeFlagId": 10,
      "Id": 11
    },
    {
      "Tid": 1,
      "Aid": 1,
      "Mid": 2,
      "MTid": 3,
      "ITid": 4,
      "AttrValue": "sample string 5",
      "Events": null,
      "IsShow": true,
      "ITARelationRemark": "sample string 6",
      "FormAttrName": "sample string 7",
      "FormTypeName": "sample string 8",
      "OrderId": 9,
      "TypeFlagId": 10,
      "Id": 11
    }
  ],
  "InnerTypeAttrList": [
    {
      "Tid": 1,
      "Aid": 1,
      "Mid": 2,
      "MTid": 3,
      "ITid": 4,
      "AttrValue": "sample string 5",
      "Events": null,
      "IsShow": true,
      "ITARelationRemark": "sample string 6",
      "FormAttrName": "sample string 7",
      "FormTypeName": "sample string 8",
      "OrderId": 9,
      "TypeFlagId": 10,
      "Id": 11
    },
    {
      "Tid": 1,
      "Aid": 1,
      "Mid": 2,
      "MTid": 3,
      "ITid": 4,
      "AttrValue": "sample string 5",
      "Events": null,
      "IsShow": true,
      "ITARelationRemark": "sample string 6",
      "FormAttrName": "sample string 7",
      "FormTypeName": "sample string 8",
      "OrderId": 9,
      "TypeFlagId": 10,
      "Id": 11
    }
  ],
  "Id": 7
}

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”的定义,移除对其自身的引用。