| GET | /api/navigation/context |
|---|
export class CommonEntityIdentifier
{
public ID: string;
public DisplayName: string;
public EntityName: string;
public constructor(init?: Partial<CommonEntityIdentifier>) { (Object as any).assign(this, init); }
}
export class NavigationContext
{
public Title: string;
public NavigationElements: CommonEntityIdentifier[];
public constructor(init?: Partial<NavigationContext>) { (Object as any).assign(this, init); }
}
export class GetNavigationContext
{
public ViewID: string;
public Path: string;
public constructor(init?: Partial<GetNavigationContext>) { (Object as any).assign(this, init); }
}
TypeScript GetNavigationContext DTOs
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"}]}