GET api/v1/general/{operatorId}/programs

Request Information

URI Parameters

NameDescriptionTypeAdditional information
operatorId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ProgramModel
NameDescriptionTypeAdditional information
Id

integer

Required

OperatorId

integer

Required

Name

string

Required

Max length: 100

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "OperatorId": 2,
    "Name": "sample string 3"
  },
  {
    "Id": 1,
    "OperatorId": 2,
    "Name": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfProgramModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emalogic.Conservatory.Common.Models">
  <ProgramModel>
    <Id>1</Id>
    <Name>sample string 3</Name>
    <OperatorId>2</OperatorId>
  </ProgramModel>
  <ProgramModel>
    <Id>1</Id>
    <Name>sample string 3</Name>
    <OperatorId>2</OperatorId>
  </ProgramModel>
</ArrayOfProgramModel>