POST api/medistreamprogramstepapi/add?siteId={siteId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| siteId | globally unique identifier |
None. |
Body Parameters
MediStreamProgramStepViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
None. |
|
| program_id | globally unique identifier |
Required |
|
| code | integer |
Required Range: inclusive between 0 and ∞ |
|
| name | string |
Required |
|
| medistream_program_step_type_id | globally unique identifier |
Required |
|
| active | boolean |
Required |
Request Formats
application/json, text/json
Sample:
{
"id": "d5258c39-b9c8-43e0-8f7b-dd5e74f62a17",
"program_id": "ce65b190-32b8-47c7-820a-bb56bb6fe3f6",
"code": 3,
"name": "sample string 4",
"medistream_program_step_type_id": "d88aec93-45c0-4130-a9ae-7a203842d418",
"active": true
}
application/xml, text/xml
Sample:
<medistream_program_step xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel"> <active>true</active> <code>3</code> <id>d5258c39-b9c8-43e0-8f7b-dd5e74f62a17</id> <medistream_program_step_type_id>d88aec93-45c0-4130-a9ae-7a203842d418</medistream_program_step_type_id> <name>sample string 4</name> <program_id>ce65b190-32b8-47c7-820a-bb56bb6fe3f6</program_id> </medistream_program_step>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"0fd4438a-f761-4d9e-b33f-0f2efc6a6893"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0fd4438a-f761-4d9e-b33f-0f2efc6a6893</guid>