Export (0) Print
Expand All
me
to
Expand Minimize
This topic has not yet been rated - Rate this topic

photo (UCWA)

Represents the user's photo.

For more on web links, see Web links.

Name

Description

rel

The resource that this link points to. In JSON, this is the outer container.

href

The location of this resource on the server, and the target of an HTTP operation.

Properties

None

Links

This resource can have the following relationships.

Link

Description

self

The link to the current resource.

GET

Returns a representation of the user's photo.

Query parameters

Name

Description

Required?

size

The desired size of the photo. The string should be in a format similar to "HR{length}X{width}" e.g. "HR64X64". The default size if none is provided is HR48X48. For more information about photo sizes, see User photos in EWS in Exchange 2013

No

Request body

None

Synchronous errors

The errors below, if any, are specific to this resource. Generic errors that can apply to any resource are covered in Generic synchronous errors.

Examples

Only server-supplied query parameters, if any, are shown in the request sample.

JSON Request

Get https://fe1.contoso.com:443/ucwa/v1/applications/543/photo HTTP/1.1
Authorization: Bearer cwt=PHNhbWw6QXNzZXJ0aW9uIHhtbG5...uZm8
Host: fe1.contoso.com
Accept: image/jpeg

JSON Response

This sample is given only as an illustration of response syntax. The semantic content is not guaranteed to correspond to a valid scenario.

HTTP/1.1 200 OK
Content-Type: image/jpeg
Content-Length: 19
SomeBinaryPhotoData

XML Request

Get https://fe1.contoso.com:443/ucwa/v1/applications/543/photo HTTP/1.1
Authorization: Bearer cwt=PHNhbWw6QXNzZXJ0aW9uIHhtbG5...uZm8
Host: fe1.contoso.com
Accept: image/jpeg

XML Response

This sample is given only as an illustration of response syntax. The semantic content is not guaranteed to correspond to a valid scenario.

HTTP/1.1 200 OK
Content-Type: image/jpeg
Content-Length: 19

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.