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": "bf5e87e8-a63e-4a66-8e49-73999db1b5b3",
"program_id": "32409048-38af-43b2-bee6-e36e2271f9c8",
"mediwave_program_step_type_id": "8348ed6f-9085-468a-b910-08e9187c3ef8",
"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>bf5e87e8-a63e-4a66-8e49-73999db1b5b3</id> <mediwave_program_step_type_id>8348ed6f-9085-468a-b910-08e9187c3ef8</mediwave_program_step_type_id> <name>sample string 6</name> <program_id>32409048-38af-43b2-bee6-e36e2271f9c8</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:
"f356bf80-4bc4-4af9-8f59-080fff3d2e91"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">f356bf80-4bc4-4af9-8f59-080fff3d2e91</guid>