| GET | /api/views/{ViewId}/explorers/{ExplorerId}/navigators | ||
|---|---|---|---|
| GET | /api/documentviews/{ViewId}/explorers/{ExplorerId}/navigators |
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
import com.google.gson.annotations.*;
import com.google.gson.reflect.*;
public class dtos
{
public static class GetNavigators
{
public UUID ViewId = null;
public UUID ExplorerId = null;
public String Path = null;
public String NodeExplorerID = null;
public String SearchCriteria = null;
public UUID getViewId() { return ViewId; }
public GetNavigators setViewId(UUID value) { this.ViewId = value; return this; }
public UUID getExplorerId() { return ExplorerId; }
public GetNavigators setExplorerId(UUID value) { this.ExplorerId = value; return this; }
public String getPath() { return Path; }
public GetNavigators setPath(String value) { this.Path = value; return this; }
public String getNodeExplorerID() { return NodeExplorerID; }
public GetNavigators setNodeExplorerID(String value) { this.NodeExplorerID = value; return this; }
public String getSearchCriteria() { return SearchCriteria; }
public GetNavigators setSearchCriteria(String value) { this.SearchCriteria = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api/views/{ViewId}/explorers/{ExplorerId}/navigators HTTP/1.1
Host: doapigw.baasbv.nl
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
[
{
EntityName: String,
ID: String,
ParentID: String,
Title: String,
Count: 0,
ImageKey: String,
Expanded: False,
Selected: False,
DisplayPath: String,
ChildNodes:
[
{
EntityName: String,
ID: String,
ParentID: String,
Title: String,
Count: 0,
ImageKey: String,
Expanded: False,
Selected: False,
DisplayPath: String,
ChildNodes:
[
{
EntityName: String,
ID: String,
ParentID: String,
Title: String,
Count: 0,
ImageKey: String,
Expanded: False,
Selected: False,
DisplayPath: String,
RegistrationPathElement: String,
QueryPathElement: String,
Path: String,
IsHierarchy: False
}
],
RegistrationPathElement: String,
QueryPathElement: String,
Path: String,
IsHierarchy: False
}
],
RegistrationPathElement: String,
QueryPathElement: String,
Path: String,
IsHierarchy: False
}
]