POST api/medistreamprogramsteptypeapi/add?siteId={siteId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
siteId

globally unique identifier

None.

Body Parameters

MediStreamProgramStepTypeViewModel
NameDescriptionTypeAdditional information
id

globally unique identifier

None.

code

integer

Required

name

string

Required

active

boolean

Required

Request Formats

application/json, text/json

Sample:
{
  "id": "9095e643-7e6d-4a32-8336-974a997ba5e0",
  "code": 2,
  "name": "sample string 3",
  "active": true
}

application/xml, text/xml

Sample:
<medistream_program_step_type xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
  <active>true</active>
  <code>2</code>
  <id>9095e643-7e6d-4a32-8336-974a997ba5e0</id>
  <name>sample string 3</name>
</medistream_program_step_type>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

globally unique identifier

Response Formats

application/json, text/json

Sample:
"025e1cfe-cede-420d-bbb3-31950bafedb3"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">025e1cfe-cede-420d-bbb3-31950bafedb3</guid>