ProjectController.CreateTenantProject Method |
Note: This API is now obsolete.
OBSOLETE - Use POST /Project/ instead.
Creates a project with the specified name and tenant ID.
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("{id}")]
[ObsoleteAttribute("Deprecated. Use CreateProject instead.")]
public ActionResult<ProjectData> CreateTenantProject(
Guid id,
[FromBodyAttribute] CreateProjectOptions options,
Guid? sessionId = null
)
<HttpPostAttribute("{id}")>
<ObsoleteAttribute("Deprecated. Use CreateProject instead.")>
Public Function CreateTenantProject (
id As Guid,
<FromBodyAttribute> options As CreateProjectOptions,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of ProjectData)
public:
[HttpPostAttribute(L"{id}")]
[ObsoleteAttribute(L"Deprecated. Use CreateProject instead.")]
ActionResult<ProjectData^>^ CreateTenantProject(
Guid id,
[FromBodyAttribute] CreateProjectOptions^ options,
Nullable<Guid> sessionId = nullptr
)
[<HttpPostAttribute("{id}")>]
[<ObsoleteAttribute("Deprecated. Use CreateProject instead.")>]
member CreateTenantProject :
id : Guid *
[<FromBodyAttribute>] options : CreateProjectOptions *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<ProjectData>
Parameters
- id
- Type: System.Guid
The tenant ID. - options
- Type: Dundas.BI.WebApi.Models.CreateProjectOptions
An object containing the create project options. - sessionId (Optional)
- Type: System.Nullable<Guid>
ID of the current session.
Return Value
Type:
ActionResult<ProjectData>
A
ProjectData object representing the newly-created project, or a status code indicating the reason for failure.
See Also