API Guide
/api/DeviceService/Devices(Id)/GraphicInfo
This URI represents the graphics information of a specific device.
GET method for GraphicInfo
This method returns the graphics-related information of a specific device.
Description Returns the graphics-related information of a specific device.
Privilege VIEW
HTTP response
codes
200
Example
Input:
Output:
{
"@odata.context": "$metadata#DeviceService.GraphicInfo/$entity",
"@odata.id": "/api/DeviceService/Devices(3265)/GraphicInfo",
"Svg": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!-- Generator: Adobe
Illustrator 19.1.0,
SVG Export Plug-In . SVG Version: 6.00 Build 0) -->\n<svg xmlns=\"http://
www.w3.org/2000/svg\"
xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\" id=\"SLED\"
x=\"0px\" y=\"0px\"
width=\"121px\" height=\"710px\" viewBox=\"0 0 121 710\" style=\"enable-
background:new
0 0 121 710;\" xml:space=\"preserve\">\n
<symbol id=\"_x32_.5_HDD\" viewBox=\"-21.3 -106.7 42.5 213.3\">\n <g>\n
<path d=\"M21.3-98.5c0-0.8-0.6-1.4-1.4-1.4h-39.7c-0.8,
0-1.4,0.6-0.6-1.4-1.4v-7.8v-6.6V58.2h42.5v32.7v6.6v7.8
C21.3,106,20.6,106.7,19.8,106.7z\" />\n
<polygon style=\"fill:#333333;\" points=\"14.2,56.3 -14.2,56.3
-14.2,57.1 14.2,57.1 \" />\n
<polygon style=\"fill:#B3B3B3;\" points=\"-18.1,58.2 -21.3,58.2
-21.3,-99.9 -18.1,-99.9 \" />\n
<polygon style=\"fill:#B3B3B3;\" points=\"21.3,58.2 18.1,58.2 18.1,-99.9
21.3,-99.9 \" />\n
<polygon style=\"fill:#1A1A1A;\" points=\"-14.2,44.3 14.2,44.3 14.2,35.3
-14.2,35.3 \" />\n
<polygon style=\"fill:#666666;\" points=\"-14.2,44.3 14.2,44.3 14.2,57.1
-14.2,57.1 \" />\n
<polygon <use xlink:href=\"#status-led-off\" width=\"8.5\" height=
\"50.8\" id=\"XMLID_3_\"
x=\"-4.3\" y=\"-25.4\" transform=\"matrix(1 0 0 -1 6.838 61.8476)\"
style=\"overflow:visible;\" />\n
<use xlink:href=\"#status-led-on\" width=\"8.5\" height=\"50.8\" x=
\"-4.3\" y=\"-25.4\"
transform=\"matrix(1 0 0 -1 6.838 61.8476)\" style=
\"display:none;overflow:visible;\" />\n</svg>"
}
/api/DeviceService/PowerStates
This URI represents the power states of the devices.
GET method for PowerStates
This method returns a list of the power states that the devices can be in.
Description
Returns a list of power states.
Privilege VIEW
Devices 207