GET | /api/Navigation/ViewsAndExplorers | ||
---|---|---|---|
GET | /api/Navigation/ViewsAndExplorers/{FlattenHierarchy} |
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports IDB.API.Navigation
Namespace Global
Namespace IDB.API.Navigation
Public Partial Class GetViewsAndExplorers
Public Overridable Property FlattenHierarchy As Boolean
Public Overridable Property ProgCode As String
End Class
End Namespace
End Namespace
VB.NET GetViewsAndExplorers DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api/Navigation/ViewsAndExplorers HTTP/1.1 Host: digiofficeapigateway.deltares.nl Accept: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"FlattenHierarchy":false,"ProgCode":"String"}