POST api/medistreamprogramsteptypeapi/add?siteId={siteId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| siteId | globally unique identifier |
None. |
Body Parameters
MediStreamProgramStepTypeViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
None. |
|
| code | integer |
Required |
|
| name | string |
Required |
|
| active | boolean |
Required |
Request Formats
application/json, text/json
Sample:
{
"id": "6e2689fe-dc1e-4714-a85b-20983cca210d",
"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>6e2689fe-dc1e-4714-a85b-20983cca210d</id> <name>sample string 3</name> </medistream_program_step_type>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"c5c3e3af-900d-4d60-98a6-9e8919c8446c"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">c5c3e3af-900d-4d60-98a6-9e8919c8446c</guid>