POST api/v1/general/programs/delete

Request Information

URI Parameters

None.

Body Parameters

ProgramModel
NameDescriptionTypeAdditional information
Id

integer

Required

OperatorId

integer

Required

Name

string

Required

Max length: 100

Request Formats

application/json, text/json

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

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ProgramModel'.

Response Information

Resource Description

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"
}

application/xml, text/xml

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