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": "9723123d-5bfb-481c-beda-a58a470d4ffd",
"program_id": "b0238285-89d4-4470-9646-16fb25970329",
"mediwave_program_step_type_id": "d8d7b837-c4e5-45e5-a48e-e84d0481aab7",
"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>9723123d-5bfb-481c-beda-a58a470d4ffd</id> <mediwave_program_step_type_id>d8d7b837-c4e5-45e5-a48e-e84d0481aab7</mediwave_program_step_type_id> <name>sample string 6</name> <program_id>b0238285-89d4-4470-9646-16fb25970329</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:
"028bfde0-a1af-4db1-b337-2b15fe86ef7b"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">028bfde0-a1af-4db1-b337-2b15fe86ef7b</guid>