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": "7c1694bb-9b07-48ef-90ec-268394a4d9a7",
"program_id": "365fc9ef-8872-4789-9254-36be3e6d67e1",
"mediwave_program_step_type_id": "7e62ecad-acfd-4cd2-8e30-c8bf375c1b9e",
"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>7c1694bb-9b07-48ef-90ec-268394a4d9a7</id> <mediwave_program_step_type_id>7e62ecad-acfd-4cd2-8e30-c8bf375c1b9e</mediwave_program_step_type_id> <name>sample string 6</name> <program_id>365fc9ef-8872-4789-9254-36be3e6d67e1</program_id> </mediwave_program_step>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"bf9b4315-c664-4556-a25a-aab52d9e8cfc"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">bf9b4315-c664-4556-a25a-aab52d9e8cfc</guid>