GET api/cleanroomapi/cleanroomsbycustomer/{customerId}?active={active}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customerId | globally unique identifier |
Required |
|
| active | boolean |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of CleanRoomViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| active | boolean |
Required |
|
| cleanroom_type_id | globally unique identifier |
Required |
|
| communication_server_id | globally unique identifier |
Required |
|
| id | globally unique identifier |
None. |
|
| local_id | integer |
Range: inclusive between 0 and ∞ |
|
| local_name | string |
None. |
|
| name | string |
Required |
|
| type_of_temperature | string |
Required |
Response Formats
application/json, text/json
Sample:
[
{
"active": true,
"cleanroom_type_id": "dada4608-3a96-4e7c-bb8a-27324c361a41",
"communication_server_id": "af2ad6be-20ec-40c5-a54d-8b918926e37d",
"id": "3d534ef9-629a-4980-9186-34b4c30956c0",
"local_id": 1,
"local_name": "sample string 3",
"name": "sample string 4",
"type_of_temperature": "sample string 5"
},
{
"active": true,
"cleanroom_type_id": "dada4608-3a96-4e7c-bb8a-27324c361a41",
"communication_server_id": "af2ad6be-20ec-40c5-a54d-8b918926e37d",
"id": "3d534ef9-629a-4980-9186-34b4c30956c0",
"local_id": 1,
"local_name": "sample string 3",
"name": "sample string 4",
"type_of_temperature": "sample string 5"
}
]
application/xml, text/xml
Sample:
<ArrayOfcleanroom xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
<cleanroom>
<active>true</active>
<cleanroom_type_id>dada4608-3a96-4e7c-bb8a-27324c361a41</cleanroom_type_id>
<communication_server_id>af2ad6be-20ec-40c5-a54d-8b918926e37d</communication_server_id>
<id>3d534ef9-629a-4980-9186-34b4c30956c0</id>
<local_id>1</local_id>
<local_name>sample string 3</local_name>
<name>sample string 4</name>
<type_of_temperature>sample string 5</type_of_temperature>
</cleanroom>
<cleanroom>
<active>true</active>
<cleanroom_type_id>dada4608-3a96-4e7c-bb8a-27324c361a41</cleanroom_type_id>
<communication_server_id>af2ad6be-20ec-40c5-a54d-8b918926e37d</communication_server_id>
<id>3d534ef9-629a-4980-9186-34b4c30956c0</id>
<local_id>1</local_id>
<local_name>sample string 3</local_name>
<name>sample string 4</name>
<type_of_temperature>sample string 5</type_of_temperature>
</cleanroom>
</ArrayOfcleanroom>