A Sandcastle Documented Class Library

# ShortLinkController GetLongLink Method

GET /ShortLink/{shortLink} Gets a long link from the given short link.

Namespace: Dundas.BI.WebApi.Controllers
Assembly: Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    [HttpGetAttribute]
    [ActionNameAttribute("Index")]
    public IActionResult GetLongLink(
    	string shortLink,
    	Guid? sessionId = null
    )

    <HttpGetAttribute>
    <ActionNameAttribute("Index")>
    Public Function GetLongLink (
    	shortLink As String,
    	Optional sessionId As Guid? = Nothing
    ) As IActionResult

    public:
    [HttpGetAttribute]
    [ActionNameAttribute(L"Index")]
    IActionResult^ GetLongLink(
    	String^ shortLink,
    	Nullable<Guid> sessionId = nullptr
    )

    [<HttpGetAttribute>]
    [<ActionNameAttribute("Index")>]
    member GetLongLink :
            shortLink : string *
            ?sessionId : Nullable<Guid>
    (* Defaults:
            let _sessionId = defaultArg sessionId null
    *)
    -> IActionResult

#### Parameters

shortLink
  Type: System
  String
  The short link to find the long link for.
sessionId (Optional)
  Type: System
  Nullable
  Guid
  Current session ID.

#### Return Value

Type: IActionResult
A String with the long link, or a status code indicating the problem.
See Also

#### Reference

ShortLinkController Class
Dundas.BI.WebApi.Controllers Namespace