ViewControllerTCloseVisit Method |
Closes the usage tracking visit corresponding to the specified view. If the session and client ID are not provided, the values are inferred from the HTTP headers.
Namespace:
Dundas.BI.WebApi.Controllers
Assembly:
Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (26.1.0.1000)
Syntax[HttpPutAttribute("CloseVisit/{id}")]
[ProducesResponseTypeAttribute(440)]
public ActionResult CloseVisit(
Guid id,
Guid? sessionId = null,
Guid? clientId = null
)<HttpPutAttribute("CloseVisit/{id}")>
<ProducesResponseTypeAttribute(440)>
Public Function CloseVisit (
id As Guid,
Optional sessionId As Guid? = Nothing,
Optional clientId As Guid? = Nothing
) As ActionResultpublic:
[HttpPutAttribute(L"CloseVisit/{id}")]
[ProducesResponseTypeAttribute(440)]
ActionResult^ CloseVisit(
Guid id,
Nullable<Guid> sessionId = nullptr,
Nullable<Guid> clientId = nullptr
)[<HttpPutAttribute("CloseVisit/{id}")>]
[<ProducesResponseTypeAttribute(440)>]
member CloseVisit :
id : Guid *
?sessionId : Nullable<Guid> *
?clientId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
let _clientId = defaultArg clientId null
*)
-> ActionResult
Parameters
- id
- Type: SystemGuid
The ID of the view to track the usage for. - sessionId (Optional)
- Type: SystemNullableGuid
Current session ID. - clientId (Optional)
- Type: SystemNullableGuid
The client ID.
Return Value
Type:
ActionResult
See Also