GET api/Programs/Affirmations/{driverid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
driverid

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of AffirmationsModel
NameDescriptionTypeAdditional information
aff_id

integer

None.

affirmation

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "aff_id": 1,
    "affirmation": "sample string 2"
  },
  {
    "aff_id": 1,
    "affirmation": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAffirmationsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_10RuleAPI.Models.Programs">
  <AffirmationsModel>
    <aff_id>1</aff_id>
    <affirmation>sample string 2</affirmation>
  </AffirmationsModel>
  <AffirmationsModel>
    <aff_id>1</aff_id>
    <affirmation>sample string 2</affirmation>
  </AffirmationsModel>
</ArrayOfAffirmationsModel>