GET api/pcapi/pc/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

PCViewModel
NameDescriptionTypeAdditional information
active

boolean

Required

cleanroom_id

globally unique identifier

None.

db_login

string

String length: inclusive between 0 and 50

db_name

string

String length: inclusive between 0 and 50

db_password

string

String length: inclusive between 0 and 50

db_source

string

String length: inclusive between 0 and 50

id

globally unique identifier

None.

local_ip

string

String length: inclusive between 0 and 15

lock_id

globally unique identifier

None.

mac_address

string

Required

String length: inclusive between 0 and 30

name

string

String length: inclusive between 0 and 100

pc_type_id

globally unique identifier

None.

rights

Collection of ShortRightViewModel

None.

site_id

globally unique identifier

None.

zone_id

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "active": true,
  "cleanroom_id": "6d200f45-edb5-4fc8-9034-62841ef38c34",
  "db_login": "sample string 2",
  "db_name": "sample string 3",
  "db_password": "sample string 4",
  "db_source": "sample string 5",
  "id": "76d9aff0-2725-4085-91d1-97018917d5d5",
  "local_ip": "sample string 7",
  "lock_id": "052181c6-756e-4d8d-9e58-c84406f1b731",
  "mac_address": "sample string 8",
  "name": "sample string 9",
  "pc_type_id": "24d55a0a-c3cd-4203-90e3-c264050abea3",
  "rights": [
    {
      "code": "sample string 1",
      "id": "1e0bd3d0-8bbb-4cc9-97bb-7bdb9182421b"
    },
    {
      "code": "sample string 1",
      "id": "1e0bd3d0-8bbb-4cc9-97bb-7bdb9182421b"
    }
  ],
  "site_id": "b2fe7a9a-a5a4-406e-958f-d24ab21aab7a",
  "zone_id": "fe64b5a9-91f6-4a3d-b7c3-5d1795707bad"
}

application/xml, text/xml

Sample:
<pc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
  <active>true</active>
  <cleanroom_id>6d200f45-edb5-4fc8-9034-62841ef38c34</cleanroom_id>
  <db_login>sample string 2</db_login>
  <db_name>sample string 3</db_name>
  <db_password>sample string 4</db_password>
  <db_source>sample string 5</db_source>
  <id>76d9aff0-2725-4085-91d1-97018917d5d5</id>
  <local_ip>sample string 7</local_ip>
  <lock_id>052181c6-756e-4d8d-9e58-c84406f1b731</lock_id>
  <mac_address>sample string 8</mac_address>
  <name>sample string 9</name>
  <pc_type_id>24d55a0a-c3cd-4203-90e3-c264050abea3</pc_type_id>
  <rights>
    <right>
      <ID>1e0bd3d0-8bbb-4cc9-97bb-7bdb9182421b</ID>
      <code>sample string 1</code>
    </right>
    <right>
      <ID>1e0bd3d0-8bbb-4cc9-97bb-7bdb9182421b</ID>
      <code>sample string 1</code>
    </right>
  </rights>
  <site_id>b2fe7a9a-a5a4-406e-958f-d24ab21aab7a</site_id>
  <zone_id>fe64b5a9-91f6-4a3d-b7c3-5d1795707bad</zone_id>
</pc>