POST api/mediwaveprogramstepapi/add?siteId={siteId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| siteId | globally unique identifier |
None. |
Body Parameters
MediWaveProgramStepViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| active | boolean |
Required |
|
| code | integer |
Required Range: inclusive between 0 and ∞ |
|
| id | globally unique identifier |
None. |
|
| program_id | globally unique identifier |
Required |
|
| mediwave_program_step_type_id | globally unique identifier |
Required |
|
| name | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"active": true,
"code": 2,
"id": "4dfc7907-e197-43f5-89b4-e4fcefa4491e",
"program_id": "23375d57-1bd1-452b-a943-ea91a6e7ed62",
"mediwave_program_step_type_id": "e6677700-9952-48fa-8394-31f39f27b854",
"name": "sample string 6"
}
application/xml, text/xml
Sample:
<mediwave_program_step xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel"> <active>true</active> <code>2</code> <id>4dfc7907-e197-43f5-89b4-e4fcefa4491e</id> <mediwave_program_step_type_id>e6677700-9952-48fa-8394-31f39f27b854</mediwave_program_step_type_id> <name>sample string 6</name> <program_id>23375d57-1bd1-452b-a943-ea91a6e7ed62</program_id> </mediwave_program_step>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"f63fb7c2-043b-4d12-83f8-ed02ceca089c"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">f63fb7c2-043b-4d12-83f8-ed02ceca089c</guid>