Retrieve a Photo

 

Updated: October 9, 2012

Applies To: Windows Server 2012 Essentials

Retrieves a photo.

GET services/builtin/MediaManagement.svc/photo/{ID}/isOriginal/{Isoriginal}/width/{width}/height/{height}

{ID}
The photo identifier.

{Isoriginal}
true to return the original data and ignore the specified width and height; otherwise, false.

{width}
The width of the photo. This value is required, but it is ignored if {Isoriginal} is true.

{height}
The height of the photo. This value is required, but it is ignored if {Isoriginal} is true.

GET https://www.contoso.com/services/builtin/MediaManagement.svc/photo/B-358/isOriginal/false/width/640/height/480 HTTP/1.1  
Accept: application/xml  
Cookie: ASP.NET_SessionId=********************  
Canary: *********************  
Host: domainname  

HTTP/1.1 200 OK  
[binary]  

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

Web Service Methods

Community Additions

ADD
Show: