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": "25558403-2ec5-4d8c-84fa-69e7adccc30c",
"program_id": "c12326a5-c659-4b80-a94b-9a0d56336e5f",
"mediwave_program_step_type_id": "bcde5b94-e74c-41f7-a3f5-4e8446f4c8ab",
"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>25558403-2ec5-4d8c-84fa-69e7adccc30c</id> <mediwave_program_step_type_id>bcde5b94-e74c-41f7-a3f5-4e8446f4c8ab</mediwave_program_step_type_id> <name>sample string 6</name> <program_id>c12326a5-c659-4b80-a94b-9a0d56336e5f</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:
"b46aca6b-49fd-40e0-8af7-4d53813ff9a4"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">b46aca6b-49fd-40e0-8af7-4d53813ff9a4</guid>