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": "a86aa124-8241-4897-8d53-e694d0068fdf",
"program_id": "7395b50d-3cf9-4154-b2bb-f0b749911643",
"mediwave_program_step_type_id": "7add9803-294c-44d1-a93b-a7a34a3105ca",
"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>a86aa124-8241-4897-8d53-e694d0068fdf</id> <mediwave_program_step_type_id>7add9803-294c-44d1-a93b-a7a34a3105ca</mediwave_program_step_type_id> <name>sample string 6</name> <program_id>7395b50d-3cf9-4154-b2bb-f0b749911643</program_id> </mediwave_program_step>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"90e001ae-83d9-4900-8a1a-5e4ae3769a67"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">90e001ae-83d9-4900-8a1a-5e4ae3769a67</guid>