Partager via


Retrieve a Thumbnail of a Single Item

 

Applies To: Windows Server 2012 Essentials

Retrieves a thumbnail of a single item. This method supports most image formats.

URI Template

GET services/builtin/FileContentAccessService.svc/itemthumbnail?path={path}

{path}
A network path that begins with the server name, in the format /ServerName/FolderPath/FileName.

Sample Request

GET https://www.contoso.com/services/builtin/FileContentAccessService.svc/itemthumbnail?path=servername/users/userA/pic.jpg HTTP/1.1  
Accept: application/xml  
Cookie: ASP.NET_SessionId=********************  
Canary: *********************  
Host: domainname  
  

Sample Response

HTTP/1.1 200 OK  
<content>  

Error Codes

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

See Also

Web Service Methods