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": "9716dfbc-0c75-4fb7-9aee-ff48f9d4342e",
"program_id": "459fbf8d-b0ff-4ae4-81cc-ad1e1561b642",
"mediwave_program_step_type_id": "c1899c9b-c776-40e4-b46b-9ec30ad98a72",
"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>9716dfbc-0c75-4fb7-9aee-ff48f9d4342e</id> <mediwave_program_step_type_id>c1899c9b-c776-40e4-b46b-9ec30ad98a72</mediwave_program_step_type_id> <name>sample string 6</name> <program_id>459fbf8d-b0ff-4ae4-81cc-ad1e1561b642</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:
"00a5da23-dfd1-4eab-9bc9-9c95617d3dc3"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">00a5da23-dfd1-4eab-9bc9-9c95617d3dc3</guid>