AccountController.GetAccountInfoByName Method |
Gets the account by name.
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("InfoName")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<MemberInfoData> GetAccountInfoByName(
[FromBodyAttribute] string name,
Guid? sessionId = null
)
<HttpPostAttribute("InfoName")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(410)>
<ProducesResponseTypeAttribute(440)>
Public Function GetAccountInfoByName (
<FromBodyAttribute> name As String,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of MemberInfoData)
public:
[HttpPostAttribute(L"InfoName")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
ActionResult<MemberInfoData^>^ GetAccountInfoByName(
[FromBodyAttribute] String^ name,
Nullable<Guid> sessionId = nullptr
)
[<HttpPostAttribute("InfoName")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(410)>]
[<ProducesResponseTypeAttribute(440)>]
member GetAccountInfoByName :
[<FromBodyAttribute>] name : string *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<MemberInfoData>
Parameters
- name
- Type: System.String
The name of the account. - sessionId (Optional)
- Type: System.Nullable<Guid>
The current session ID.
Return Value
Type:
ActionResult<MemberInfoData>A
MemberInfoData object.
See Also