redirect
Applies to: Skype for Business 2015
Represents a pointer to a different server that the application should use for future requests.
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. |
The redirect resource indicates that the user is homed on a different server.The application must direct future requests to this server as the current server does not have all of this user's information.This can happen when a user hits an on-premises server and the user is homed online, or when a company has multiple servers.Credentials might need to be resubmitted after following the redirect.
None
This resource can have the following relationships.
Link | Description |
---|---|
self | The link to the current resource. |
user | Represents the entry point to the API using user credentials. |
xframe | Represents the cross-domain frame used for web-based applications. |
Returns a representation of a pointer to a different server that the application should use for future requests.
None
The response from a GET request contains the properties and links shown in the Properties and Links sections at the top of this page.
The errors below (if any) are specific to this resource. Generic errors that can apply to any resource are covered in Generic synchronous errors.
Error | Code | Subcode | Description |
---|---|---|---|
ServiceFailure | 500 | InvalidExchangeServerVersion | Invalid exchange server version.The exchange mailbox of the server might have moved to an unsupported version for the required feature. |
Conflict | 409 | AlreadyExists | The already exists error. |
Conflict | 409 | TooManyGroups | The too many groups error. |
Conflict | 409 | None | Un-supported Service/Resource/API error. |
Gone | 410 | CannotRedirect | Cannot redirect since there is no back up pool configured. |
Get https://fe1.contoso.com:443/autodiscover/autodiscoverservice.svc/root/user/redirect HTTP/1.1
Authorization: Bearer cwt=PHNhbWw6QXNzZXJ0aW9uIHhtbG5...uZm8
Host: fe1.contoso.com
Accept: application/json
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: 240
{
"rel" : "redirect",
"_links" : {
"self" : {
"href" : "/autodiscover/autodiscoverservice.svc/root/user/redirect"
},
"user" : {
"href" : "/autodiscover/autodiscoverservice.svc/root/user"
},
"xframe" : {
"href" : "/autodiscover/autodiscoverservice.svc/root/xframe"
}
}
}
Get https://fe1.contoso.com:443/autodiscover/autodiscoverservice.svc/root/user/redirect HTTP/1.1
Authorization: Bearer cwt=PHNhbWw6QXNzZXJ0aW9uIHhtbG5...uZm8
Host: fe1.contoso.com
Accept: application/xml
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: 384
<?xml version="1.0" encoding="utf-8"?>
<resource rel="redirect" href="/autodiscover/autodiscoverservice.svc/root/user/redirect" xmlns="http://schemas.microsoft.com/rtc/2012/03/ucwa">
<link rel="user" href="/autodiscover/autodiscoverservice.svc/root/user" />
<link rel="xframe" href="/autodiscover/autodiscoverservice.svc/root/xframe" />
<property name="rel">redirect</property>
</resource>