GET api/medistreamapi/medistream/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
MediStreamViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
None. |
|
| cleanroom_id | globally unique identifier |
Required |
|
| local_id | integer |
Range: inclusive between 0 and ∞ |
|
| name | string |
Required |
|
| serial_number | string |
Required |
|
| active | boolean |
Required |
|
| door_status | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": "b67e0ab1-035c-466c-b030-8f8e7a7d489c",
"cleanroom_id": "a488d4c1-536d-4bde-9c20-0cc0c4be332c",
"local_id": 1,
"name": "sample string 3",
"serial_number": "sample string 4",
"active": true,
"door_status": true
}
application/xml, text/xml
Sample:
<medistream xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel"> <active>true</active> <cleanroom_id>a488d4c1-536d-4bde-9c20-0cc0c4be332c</cleanroom_id> <door_status>true</door_status> <id>b67e0ab1-035c-466c-b030-8f8e7a7d489c</id> <local_id>1</local_id> <name>sample string 3</name> <serial_number>sample string 4</serial_number> </medistream>