GET api/Programs/GetTraitDefinitions/{traitid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
traitid

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of DefsModel
NameDescriptionTypeAdditional information
def_id

integer

None.

trait_link

integer

None.

definition

string

None.

hi_lo

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "def_id": 1,
    "trait_link": 2,
    "definition": "sample string 3",
    "hi_lo": "sample string 4"
  },
  {
    "def_id": 1,
    "trait_link": 2,
    "definition": "sample string 3",
    "hi_lo": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDefsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_10RuleAPI.Models.Programs">
  <DefsModel>
    <def_id>1</def_id>
    <definition>sample string 3</definition>
    <hi_lo>sample string 4</hi_lo>
    <trait_link>2</trait_link>
  </DefsModel>
  <DefsModel>
    <def_id>1</def_id>
    <definition>sample string 3</definition>
    <hi_lo>sample string 4</hi_lo>
    <trait_link>2</trait_link>
  </DefsModel>
</ArrayOfDefsModel>