GET api/pcconfigapi/pcconfigs/{pcId}?active={active}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| pcId | globally unique identifier |
Required |
|
| active | boolean |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of PcConfigViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| active | boolean |
Required |
|
| id | globally unique identifier |
None. |
|
| key | globally unique identifier |
Required |
|
| pc_id | globally unique identifier |
Required |
|
| value | string |
String length: inclusive between 0 and 500 |
Response Formats
application/json, text/json
Sample:
[
{
"active": true,
"id": "ca3b5274-7e66-4d39-aec9-ebd432ae865f",
"key": "2b5a887b-362b-4a3c-abf5-9df2f2ac6d70",
"pc_id": "e2b56f9e-4890-41ab-90bb-f9f6fb784bbe",
"value": "sample string 3"
},
{
"active": true,
"id": "ca3b5274-7e66-4d39-aec9-ebd432ae865f",
"key": "2b5a887b-362b-4a3c-abf5-9df2f2ac6d70",
"pc_id": "e2b56f9e-4890-41ab-90bb-f9f6fb784bbe",
"value": "sample string 3"
}
]
application/xml, text/xml
Sample:
<ArrayOfpc_config xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
<pc_config>
<active>true</active>
<id>ca3b5274-7e66-4d39-aec9-ebd432ae865f</id>
<key>2b5a887b-362b-4a3c-abf5-9df2f2ac6d70</key>
<pc_id>e2b56f9e-4890-41ab-90bb-f9f6fb784bbe</pc_id>
<value>sample string 3</value>
</pc_config>
<pc_config>
<active>true</active>
<id>ca3b5274-7e66-4d39-aec9-ebd432ae865f</id>
<key>2b5a887b-362b-4a3c-abf5-9df2f2ac6d70</key>
<pc_id>e2b56f9e-4890-41ab-90bb-f9f6fb784bbe</pc_id>
<value>sample string 3</value>
</pc_config>
</ArrayOfpc_config>