TenantController.UpdateTenant Method |
Updates a tenant.
Namespace:
Dundas.BI.WebApi.Controllers
Assembly:
Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax[HttpPutAttribute("{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<TenantData> UpdateTenant(
Guid id,
[FromBodyAttribute] TenantData tenantData,
Guid? sessionId = null
)
<HttpPutAttribute("{id}")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(405)>
<ProducesResponseTypeAttribute(409)>
<ProducesResponseTypeAttribute(410)>
<ProducesResponseTypeAttribute(440)>
Public Function UpdateTenant (
id As Guid,
<FromBodyAttribute> tenantData As TenantData,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of TenantData)
public:
[HttpPutAttribute(L"{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
ActionResult<TenantData^>^ UpdateTenant(
Guid id,
[FromBodyAttribute] TenantData^ tenantData,
Nullable<Guid> sessionId = nullptr
)
[<HttpPutAttribute("{id}")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(405)>]
[<ProducesResponseTypeAttribute(409)>]
[<ProducesResponseTypeAttribute(410)>]
[<ProducesResponseTypeAttribute(440)>]
member UpdateTenant :
id : Guid *
[<FromBodyAttribute>] tenantData : TenantData *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<TenantData>
Parameters
- id
- Type: System.Guid
The ID of the tenant to update. - tenantData
- Type: Dundas.BI.WebApi.Models.TenantData
The data that needs to be modified. - sessionId (Optional)
- Type: System.Nullable<Guid>
Current session ID.
Return Value
Type:
ActionResult<TenantData>The operation completed successfully. The payload contains a
TenantData object.
See Also