RelationshipController.GetRelationshipElements Method |
Gets all the relationship elements for a specified structure.
Namespace:
Dundas.BI.WebApi.Controllers
Assembly:
Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax[HttpGetAttribute("Elements/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<ElementData[]> GetRelationshipElements(
Guid id,
Guid? sessionId = null
)
<HttpGetAttribute("Elements/{id}")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(410)>
<ProducesResponseTypeAttribute(440)>
Public Function GetRelationshipElements (
id As Guid,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of ElementData())
public:
[HttpGetAttribute(L"Elements/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
ActionResult<array<ElementData^>^>^ GetRelationshipElements(
Guid id,
Nullable<Guid> sessionId = nullptr
)
[<HttpGetAttribute("Elements/{id}")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(410)>]
[<ProducesResponseTypeAttribute(440)>]
member GetRelationshipElements :
id : Guid *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<ElementData[]>
Parameters
- id
- Type: System.Guid
The ID of the structure to get the relationship elements for. - sessionId (Optional)
- Type: System.Nullable<Guid>
Current session ID.
Return Value
Type:
ActionResult<ElementData[]>The operation completed successfully. The payload contains an array of
ElementData objects.
See Also