GET api/mediwaveprogramapi/program/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
MediWaveProgramViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| active | boolean |
Required |
|
| duration | integer |
None. |
|
| id | globally unique identifier |
None. |
|
| local_id | integer |
Range: inclusive between 0 and ∞ |
|
| mediwave_id | globally unique identifier |
Required |
|
| name | string |
Required |
Response Formats
application/json, text/json
Sample:
{
"active": true,
"duration": 1,
"id": "b27b014d-ba4d-4c0f-9305-c5b1f4958d6e",
"local_id": 1,
"mediwave_id": "6a37e915-4bf0-4db2-9d4c-57e2b1380ec4",
"name": "sample string 4"
}
application/xml, text/xml
Sample:
<mediwave_program xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel"> <active>true</active> <duration>1</duration> <id>b27b014d-ba4d-4c0f-9305-c5b1f4958d6e</id> <local_id>1</local_id> <mediwave_id>6a37e915-4bf0-4db2-9d4c-57e2b1380ec4</mediwave_id> <name>sample string 4</name> </mediwave_program>