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": "fe395383-6c50-4706-b430-cd19add31182",
"program_id": "334c263c-e0cd-46cf-b630-f646c9331def",
"mediwave_program_step_type_id": "ea683e0e-8611-410d-a507-bef02067e395",
"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>fe395383-6c50-4706-b430-cd19add31182</id> <mediwave_program_step_type_id>ea683e0e-8611-410d-a507-bef02067e395</mediwave_program_step_type_id> <name>sample string 6</name> <program_id>334c263c-e0cd-46cf-b630-f646c9331def</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:
"55190f65-026c-46a1-b738-7728cc988ada"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">55190f65-026c-46a1-b738-7728cc988ada</guid>