Partager via


Retrieve Devices

 

Applies To: Windows Server 2012 Essentials

Retrieves a list of devices that are managed by the server.

URI Template

GET services/builtin/DeviceManagement.svc/devices/index/{index}/count/{count}

{index}
The numerical position of the first device to be retrieved.

{count}
The number of devices to retrieve in the search.

Sample Request

POST https://www.contoso.com/services/builtin/DeviceManagement.svc/devices/index/0/count/100 HTTP/1.1  
Accept: application/xml  
Cookie: ASP.NET_SessionId=********************  
Canary: *********************  
Host: domainname  
Content-Length: 0  

Sample Response

HTTP/1.1 200 OK  

Error Codes

Error Code Error Message
400 One or more parameters are not valid.
401 Access is denied to the requested resource.

See Also

Web Service Methods