Table of contents
me
to
TOC
Collapse the table of content
Expand the table of content

me

John Austin|Last Updated: 1/27/2018
|
2 Contributors

Applies to: Skype for Business 2015

Represents the user.

For more on web links, see Web links.

NameDescription
relThe resource that this link points to. In JSON, this is the outer container.
hrefThe location of this resource on the server, and the target of an HTTP operation.

Resource description

The me resource will be updated whenever the application becomes ready for incoming calls and leaves lurker mode (makeMeAvailable).Note that me will not be updated if any of its properties, such as emailAddresses or title, change while the application is active.

Properties

NameDescription
companyThe user's company.
departmentThe user's department.
emailAddressesThe user's e-mail addresses.
endpointUriThe URI specific to the current app endpoint user is logged on to.
homePhoneNumberThe user's home phone number.
mobilePhoneNumberThe user's mobile phone number.
nameThe user's display name.
officeLocationThe user's office location.
otherPhoneNumberThe user's other phone number.
titleThe user's title.
uriThe user's URI.
workPhoneNumberThe user's work phone number.

This resource can have the following relationships.

LinkDescription
selfThe link to the current resource.
callForwardingSettingsRepresents settings that govern call forwarding.
locationRepresents the user's location.
makeMeAvailableMakes the user available for incoming communications.
noteRepresents the user's personal or out-of-office note.
phonesA collection of phone resources that represent the phone numbers of the logged-on user.
photoRepresents the user's photo.
presenceRepresents the user's availability and activity.
reportMyActivityIndicates that the user is actively using this application.

Azure Active Directory scopes for online applications

The user must have at least one of these scopes for operations on the resource to be allowed.

ScopePermissionDescription
User.ReadWriteRead/write Skype user informationAllows the app to read and update presence, photo, location, note, call forwarding settings of the signed-in user

Events

Updated

ResourcePrioritySenderReason
meMediummeThe application is no longer in lurker mode and is therefore visible to contacts. The application can now set things such as the user's presence and note.

Sample of returned event data. This sample is given only as an illustration of event syntax. The semantic content is not guaranteed to correspond to a valid scenario. { "_links" : { "self" : { "href" : "http://sample:80/ucwa/v1/applications/appId/events?ack=1" }, "next" : { "href" : "http://sample:80/ucwa/v1/applications/appId/events?ack=2" } }, "sender" : [ { "rel" : "me", "href" : "https://fe1.contoso.com:443/ucwa/v1/applications/192/me", "events" : [ { "link" : { "rel" : "me", "href" : "https://fe1.contoso.com:443/ucwa/v1/applications/192/me" }, "type" : "updated" } ] } ] }

Operations

GET

Returns a representation of the user.

Request body

None

Response body

The response from a GET request contains the properties and links shown in the Properties and Links sections at the top of this page.

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.

ErrorCodeSubcodeDescription
Conflict409NoneReturned when an application is in the process of initializing or terminating.
ServiceFailure500InvalidExchangeServerVersionInvalid exchange server version.The exchange mailbox of the server might have moved to an unsupported version for the required feature.
Conflict409AlreadyExistsThe already exists error.
Conflict409TooManyGroupsThe too many groups error.
Conflict409NoneUn-supported Service/Resource/API error.
Gone410CannotRedirectCannot redirect since there is no back up pool configured.

Examples

JSON Request

Get https://fe1.contoso.com:443/ucwa/v1/applications/192/me HTTP/1.1
Authorization: Bearer cwt=PHNhbWw6QXNzZXJ0aW9uIHhtbG5...uZm8
Host: fe1.contoso.com
Accept: application/json

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: application/json
Content-Length: 1018
{
  "rel" : "me",
  "company" : "Microsoft",
  "department" : "Sales",
  "emailAddresses" : [
    "johndoe@contoso.com"
  ],
  "endpointUri" : "sip:johndoe@contoso.com;opaque=user:epid:0mHG5gqQylGWpPELsEK8xAAA;gruu",
  "homePhoneNumber" : "tel:+14257035449",
  "mobilePhoneNumber" : "tel:+14257035449",
  "name" : "John Doe",
  "officeLocation" : "5/1380",
  "otherPhoneNumber" : "tel:+14257035449",
  "title" : "Senior Manager",
  "uri" : "sip:johndoe@contoso.com",
  "workPhoneNumber" : "tel:+14257035449",
  "_links" : {
    "self" : {
      "href" : "/ucwa/v1/applications/192/me"
    },
    "callForwardingSettings" : {
      "href" : "/ucwa/v1/applications/192/me/callForwardingSettings"
    },
    "location" : {
      "href" : "/ucwa/v1/applications/192/me/location"
    },
    "makeMeAvailable" : {
      "href" : "/ucwa/v1/applications/192/communication/makeMeAvailable"
    },
    "note" : {
      "href" : "/ucwa/v1/applications/192/me/note"
    },
    "phones" : {
      "href" : "/ucwa/v1/applications/192/me/phones"
    },
    "photo" : {
      "href" : "/ucwa/v1/applications/192/photo"
    },
    "presence" : {
      "href" : "/ucwa/v1/applications/192/me/presence"
    },
    "reportMyActivity" : {
      "href" : "/ucwa/v1/applications/192/reportMyActivity"
    }
  }
}

XML Request

Get https://fe1.contoso.com:443/ucwa/v1/applications/192/me HTTP/1.1
Authorization: Bearer cwt=PHNhbWw6QXNzZXJ0aW9uIHhtbG5...uZm8
Host: fe1.contoso.com
Accept: application/xml

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: application/xml
Content-Length: 1499
<?xml version="1.0" encoding="utf-8"?>
<resource rel="me" href="/ucwa/v1/applications/192/me" xmlns="http://schemas.microsoft.com/rtc/2012/03/ucwa">
  <link rel="callForwardingSettings" href="/ucwa/v1/applications/192/me/callForwardingSettings" />
  <link rel="location" href="/ucwa/v1/applications/192/me/location" />
  <link rel="makeMeAvailable" href="/ucwa/v1/applications/192/communication/makeMeAvailable" />
  <link rel="note" href="/ucwa/v1/applications/192/me/note" />
  <link rel="phones" href="/ucwa/v1/applications/192/me/phones" />
  <link rel="photo" href="/ucwa/v1/applications/192/photo" />
  <link rel="presence" href="/ucwa/v1/applications/192/me/presence" />
  <link rel="reportMyActivity" href="/ucwa/v1/applications/192/reportMyActivity" />
  <property name="rel">me</property>
  <property name="company">Microsoft</property>
  <property name="department">Sales</property>
  <propertyList name="emailAddresses">
    <item>johndoe@contoso.com</item>
  </propertyList>
  <property name="endpointUri">sip:johndoe@contoso.com;opaque=user:epid:0mHG5gqQylGWpPELsEK8xAAA;gruu</property>
  <property name="homePhoneNumber">tel:+14257035449</property>
  <property name="mobilePhoneNumber">tel:+14257035449</property>
  <property name="name">John Doe</property>
  <property name="officeLocation">5/1380</property>
  <property name="otherPhoneNumber">tel:+14257035449</property>
  <property name="title">Senior Manager</property>
  <property name="uri">sip:johndoe@contoso.com</property>
  <property name="workPhoneNumber">tel:+14257035449</property>
</resource>
© 2018 Microsoft