DigiOffice API Services Services

<back to all web services

GetNavigationContext

Requires Authentication
The following routes are available for this service:
GET/api/navigation/context
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class GetNavigationContext
    {
        public UUID ViewID = null;
        public String Path = null;
        
        public UUID getViewID() { return ViewID; }
        public GetNavigationContext setViewID(UUID value) { this.ViewID = value; return this; }
        public String getPath() { return Path; }
        public GetNavigationContext setPath(String value) { this.Path = value; return this; }
    }

    public static class NavigationContext
    {
        public String Title = null;
        public ArrayList<CommonEntityIdentifier> NavigationElements = null;
        
        public String getTitle() { return Title; }
        public NavigationContext setTitle(String value) { this.Title = value; return this; }
        public ArrayList<CommonEntityIdentifier> getNavigationElements() { return NavigationElements; }
        public NavigationContext setNavigationElements(ArrayList<CommonEntityIdentifier> value) { this.NavigationElements = value; return this; }
    }

    public static class CommonEntityIdentifier
    {
        public String ID = null;
        public String DisplayName = null;
        public String EntityName = null;
        
        public String getId() { return ID; }
        public CommonEntityIdentifier setId(String value) { this.ID = value; return this; }
        public String getDisplayName() { return DisplayName; }
        public CommonEntityIdentifier setDisplayName(String value) { this.DisplayName = value; return this; }
        public String getEntityName() { return EntityName; }
        public CommonEntityIdentifier setEntityName(String value) { this.EntityName = value; return this; }
    }

}

Java GetNavigationContext DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

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: test-do-services.klokgroep.nl 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Title":"String","NavigationElements":[{"ID":"String","DisplayName":"String","EntityName":"String"}]}