GET api/Programs/{programid}/homework/{traitid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
programid

integer

Required

traitid

integer

Required

Body Parameters

None.

Response Information

Resource Description

HomeworkModel
NameDescriptionTypeAdditional information
keypoint

string

None.

highpoints

Collection of string

None.

lowpoints

Collection of string

None.

affirmations

Collection of string

None.

customaffirmations

Collection of string

None.

instructions

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "keypoint": "sample string 1",
  "highpoints": [
    "sample string 1",
    "sample string 2"
  ],
  "lowpoints": [
    "sample string 1",
    "sample string 2"
  ],
  "affirmations": [
    "sample string 1",
    "sample string 2"
  ],
  "customaffirmations": [
    "sample string 1",
    "sample string 2"
  ],
  "instructions": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<HomeworkModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_10RuleAPI.Models.Programs">
  <affirmations xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </affirmations>
  <customaffirmations xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </customaffirmations>
  <highpoints xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </highpoints>
  <instructions xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </instructions>
  <keypoint>sample string 1</keypoint>
  <lowpoints xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </lowpoints>
</HomeworkModel>