ShortLinkControllerGetShortLink Method (String, NullableGuid)

POST /ShortLink/ Creates a short link based on the long link given.

Namespace:  Dundas.BI.WebApi.Controllers
Assembly:  Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
[HttpPostAttribute]
[ActionNameAttribute("Index")]
public IActionResult GetShortLink(
	[FromBodyAttribute] string longLink,
	Guid? sessionId = null
)

Parameters

longLink
Type: SystemString
The long link to shorten.
sessionId (Optional)
Type: SystemNullableGuid
Current session ID.

Return Value

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