GET api/Users/{userid}/Computers
Get User Computers
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userid | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Returns users properties
Collection of UserComputerDataName | Description | Type | Additional information |
---|---|---|---|
DestinationId |
Policy ID |
globally unique identifier |
Required |
ComputerName |
Computer name |
string |
Required |
Response Formats
application/json, text/json
Sample:
[ { "DestinationId": "55a6a18b-073a-4deb-9d6a-436c51a70dd0", "ComputerName": "sample string 2" }, { "DestinationId": "55a6a18b-073a-4deb-9d6a-436c51a70dd0", "ComputerName": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfUserComputerData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MBSAPImvc.Engine.Models"> <UserComputerData> <ComputerName>sample string 2</ComputerName> <DestinationId>55a6a18b-073a-4deb-9d6a-436c51a70dd0</DestinationId> </UserComputerData> <UserComputerData> <ComputerName>sample string 2</ComputerName> <DestinationId>55a6a18b-073a-4deb-9d6a-436c51a70dd0</DestinationId> </UserComputerData> </ArrayOfUserComputerData>