GET api/Link

Provides a link that can be used to Open a document in the relative viewer from the Office Web Apps server

Request Information

Parameters

NameDescriptionAdditional information
fileRequest
indicates the request type

Define this parameter in the request URI.

Response Information

A link usable for HREF

Response body formats

application/json, text/json

Sample:
{
  "Url": "sample string 1",
  "FileName": "sample string 2"
}

application/xml, text/xml

Sample:
<Link xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MainWeb.Models">
  <FileName>sample string 2</FileName>
  <Url>sample string 1</Url>
</Link>