ProjectController.CreateUserProject Method |
Creates a user project for the specified account.
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("User/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<ProjectData> CreateUserProject(
Guid id,
Guid? tenantId = null,
Guid? sessionId = null
)
<HttpPostAttribute("User/{id}")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(405)>
<ProducesResponseTypeAttribute(410)>
<ProducesResponseTypeAttribute(440)>
Public Function CreateUserProject (
id As Guid,
Optional tenantId As Guid? = Nothing,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of ProjectData)
public:
[HttpPostAttribute(L"User/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
ActionResult<ProjectData^>^ CreateUserProject(
Guid id,
Nullable<Guid> tenantId = nullptr,
Nullable<Guid> sessionId = nullptr
)
[<HttpPostAttribute("User/{id}")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(405)>]
[<ProducesResponseTypeAttribute(410)>]
[<ProducesResponseTypeAttribute(440)>]
member CreateUserProject :
id : Guid *
?tenantId : Nullable<Guid> *
?sessionId : Nullable<Guid>
(* Defaults:
let _tenantId = defaultArg tenantId null
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<ProjectData>
Parameters
- id
- Type: System.Guid
The ID of the account to create a user project for. - tenantId (Optional)
- Type: System.Nullable<Guid>
The ID of the user project's tenant. - sessionId (Optional)
- Type: System.Nullable<Guid>
The ID of the current session.
Return Value
Type:
ActionResult<ProjectData>The operation completed successfully. The payload contains a
ProjectData object.
See Also