GET api/Programs/GetTraitAttributes/{traitid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
traitid

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of DefAttributesModel
NameDescriptionTypeAdditional information
def_attr_id

integer

None.

trait_link

integer

None.

attr_type

string

None.

attr_text

string

None.

trait_hi_lo

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "def_attr_id": 1,
    "trait_link": 2,
    "attr_type": "sample string 3",
    "attr_text": "sample string 4",
    "trait_hi_lo": "sample string 5"
  },
  {
    "def_attr_id": 1,
    "trait_link": 2,
    "attr_type": "sample string 3",
    "attr_text": "sample string 4",
    "trait_hi_lo": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDefAttributesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_10RuleAPI.Models.Programs">
  <DefAttributesModel>
    <attr_text>sample string 4</attr_text>
    <attr_type>sample string 3</attr_type>
    <def_attr_id>1</def_attr_id>
    <trait_hi_lo>sample string 5</trait_hi_lo>
    <trait_link>2</trait_link>
  </DefAttributesModel>
  <DefAttributesModel>
    <attr_text>sample string 4</attr_text>
    <attr_type>sample string 3</attr_type>
    <def_attr_id>1</def_attr_id>
    <trait_hi_lo>sample string 5</trait_hi_lo>
    <trait_link>2</trait_link>
  </DefAttributesModel>
</ArrayOfDefAttributesModel>