LicenseController.InstallLicenseFile Method |
Installs a new license from a file. This API call expects form files inside the request body.
Namespace:
Dundas.BI.WebApi.Controllers
Assembly:
Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax[HttpPostAttribute("File")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(415)]
[ProducesResponseTypeAttribute(440)]
[FormFileAttribute]
public ActionResult<string> InstallLicenseFile(
Guid? sessionId = null
)
<HttpPostAttribute("File")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(415)>
<ProducesResponseTypeAttribute(440)>
<FormFileAttribute>
Public Function InstallLicenseFile (
Optional sessionId As Guid? = Nothing
) As ActionResult(Of String)
public:
[HttpPostAttribute(L"File")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(415)]
[ProducesResponseTypeAttribute(440)]
[FormFileAttribute]
ActionResult<String^>^ InstallLicenseFile(
Nullable<Guid> sessionId = nullptr
)
[<HttpPostAttribute("File")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(415)>]
[<ProducesResponseTypeAttribute(440)>]
[<FormFileAttribute>]
member InstallLicenseFile :
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<string>
Parameters
- sessionId (Optional)
- Type: System.Nullable<Guid>
The current session ID.
Return Value
Type:
ActionResult<String>The operation completed successfully. The payload contains a
String object containing the license text.
See Also