| GET | /api/navigation/context |
|---|
namespace IDB.API.DTO.General
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type CommonEntityIdentifier() =
member val ID:String = null with get,set
member val DisplayName:String = null with get,set
member val EntityName:String = null with get,set
[<AllowNullLiteral>]
type NavigationContext() =
member val Title:String = null with get,set
member val NavigationElements:ResizeArray<CommonEntityIdentifier> = null with get,set
[<AllowNullLiteral>]
type GetNavigationContext() =
member val ViewID:Guid = new Guid() with get,set
member val Path:String = null with get,set
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api/navigation/context HTTP/1.1 Host: dogw.klokgroep.nl Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"Title":"String","NavigationElements":[{"ID":"String","DisplayName":"String","EntityName":"String"}]}