GET api/Link/GetLink
Provides a link that can be used to Open a document in the relative viewer from the Office Web Apps server
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| fileRequest | indicates the request type |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{
"Url": "sample string 1",
"FileName": "sample string 2",
"Size": 3
}
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> <Size>3</Size> <Url>sample string 1</Url> </Link>