GET api/admin/getprogramoptions/{programId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
programId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ProgramOptionModel
NameDescriptionTypeAdditional information
ProgramOptionID

integer

None.

ProgramID

integer

None.

OptionName

string

None.

ValueDate

string

None.

ValueInt

integer

None.

ValueString

string

None.

ValueMoney

decimal number

None.

ValueBool

boolean

None.

IsCurrent

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ProgramOptionID": 1,
    "ProgramID": 2,
    "OptionName": "sample string 3",
    "ValueDate": "sample string 4",
    "ValueInt": 1,
    "ValueString": "sample string 5",
    "ValueMoney": 1.0,
    "ValueBool": true,
    "IsCurrent": true
  },
  {
    "ProgramOptionID": 1,
    "ProgramID": 2,
    "OptionName": "sample string 3",
    "ValueDate": "sample string 4",
    "ValueInt": 1,
    "ValueString": "sample string 5",
    "ValueMoney": 1.0,
    "ValueBool": true,
    "IsCurrent": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfProgramOptionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models">
  <ProgramOptionModel>
    <IsCurrent>true</IsCurrent>
    <OptionName>sample string 3</OptionName>
    <ProgramID>2</ProgramID>
    <ProgramOptionID>1</ProgramOptionID>
    <ValueBool>true</ValueBool>
    <ValueDate>sample string 4</ValueDate>
    <ValueInt>1</ValueInt>
    <ValueMoney>1</ValueMoney>
    <ValueString>sample string 5</ValueString>
  </ProgramOptionModel>
  <ProgramOptionModel>
    <IsCurrent>true</IsCurrent>
    <OptionName>sample string 3</OptionName>
    <ProgramID>2</ProgramID>
    <ProgramOptionID>1</ProgramOptionID>
    <ValueBool>true</ValueBool>
    <ValueDate>sample string 4</ValueDate>
    <ValueInt>1</ValueInt>
    <ValueMoney>1</ValueMoney>
    <ValueString>sample string 5</ValueString>
  </ProgramOptionModel>
</ArrayOfProgramOptionModel>