A Sandcastle Documented Class Library

# MapController GetDiagram Method

POST /Map/GetDiagram Generate a diagram's SVG based on the requested diagram files.

Namespace: Dundas.BI.WebApi.Controllers
Assembly: Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    [HttpPostAttribute]
    [ActionNameAttribute("GetDiagram")]
    public IActionResult GetDiagram(
    	[FromBodyAttribute] GetMapsOptions options,
    	Guid? sessionId = null
    )

    <HttpPostAttribute>
    <ActionNameAttribute("GetDiagram")>
    Public Function GetDiagram (
    	<FromBodyAttribute> options As GetMapsOptions,
    	Optional sessionId As Guid? = Nothing
    ) As IActionResult

    public:
    [HttpPostAttribute]
    [ActionNameAttribute(L"GetDiagram")]
    IActionResult^ GetDiagram(
    	[FromBodyAttribute] GetMapsOptions^ options,
    	Nullable<Guid> sessionId = nullptr
    )

    [<HttpPostAttribute>]
    [<ActionNameAttribute("GetDiagram")>]
    member GetDiagram :
            [<FromBodyAttribute>] options : GetMapsOptions *
            ?sessionId : Nullable<Guid>
    (* Defaults:
            let _sessionId = defaultArg sessionId null
    *)
    -> IActionResult

#### Parameters

options
  Type: Dundas.BI.WebApi.Models
  GetMapsOptions
  An object that carries all needed information about the diagram that needs to be retrieved.
sessionId (Optional)
  Type: System
  Nullable
  Guid
  ID of the session.

#### Return Value

Type: IActionResult
A MapDataInfoSvgData object, or a status code indicating the problem.
See Also

#### Reference

MapController Class
Dundas.BI.WebApi.Controllers Namespace