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": "4855eded-7ec0-447e-a322-40968b8808ce",
"program_id": "a41ad59b-5051-4ec3-b268-eb7d528a4f8d",
"code": 3,
"name": "sample string 4",
"medistream_program_step_type_id": "1f1fa8df-6748-416e-830a-fee7e547db52",
"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>4855eded-7ec0-447e-a322-40968b8808ce</id> <medistream_program_step_type_id>1f1fa8df-6748-416e-830a-fee7e547db52</medistream_program_step_type_id> <name>sample string 4</name> <program_id>a41ad59b-5051-4ec3-b268-eb7d528a4f8d</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:
"8bebffd8-e030-4373-a4b4-4a5c311b3fcb"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">8bebffd8-e030-4373-a4b4-4a5c311b3fcb</guid>