ProjectControllerCreateDefaultTenantProject Method |
Creates a default tenant project for the specified tenant ID.
Namespace:
Dundas.BI.WebApi.Controllers
Assembly:
Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.4.0.1000)
Syntax[HttpPostAttribute("TenantDefault/{tenantId}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<ProjectData> CreateDefaultTenantProject(
Guid tenantId,
Guid? sessionId = null
)<HttpPostAttribute("TenantDefault/{tenantId}")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(409)>
<ProducesResponseTypeAttribute(410)>
<ProducesResponseTypeAttribute(440)>
Public Function CreateDefaultTenantProject (
tenantId As Guid,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of ProjectData)public:
[HttpPostAttribute(L"TenantDefault/{tenantId}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
ActionResult<ProjectData^>^ CreateDefaultTenantProject(
Guid tenantId,
Nullable<Guid> sessionId = nullptr
)[<HttpPostAttribute("TenantDefault/{tenantId}")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(409)>]
[<ProducesResponseTypeAttribute(410)>]
[<ProducesResponseTypeAttribute(440)>]
member CreateDefaultTenantProject :
tenantId : Guid *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<ProjectData>
Parameters
- tenantId
- Type: SystemGuid
The ID of the tenant to create a default tenant project for. - sessionId (Optional)
- Type: SystemNullableGuid
The ID of the current session.
Return Value
Type:
ActionResultProjectDataThe operation completed successfully. The payload contains a
ProjectData object.
See Also