GET | /api/users/me/config |
---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports IDB.API.DTO.UserInformation.Operations
Imports IDB.API.DTO.UserInformation
Namespace Global
Namespace IDB.API.DTO.UserInformation
Public Partial Class Permissions
Public Overridable Property DefaultGridProfiles As Boolean
End Class
Public Partial Class UserConfig
Public Overridable Property Theme As String
Public Overridable Property ZoomLevel As String
Public Overridable Property InterfaceCulture As String
Public Overridable Property Autocomplete As Boolean
Public Overridable Property Permissions As Permissions
End Class
End Namespace
Namespace IDB.API.DTO.UserInformation.Operations
Public Partial Class GetUserConfig
End Class
End Namespace
End Namespace
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/users/me/config HTTP/1.1 Host: digiofficeapigateway.deltares.nl Accept: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"Theme":"String","ZoomLevel":"String","InterfaceCulture":"String","Autocomplete":false,"Permissions":{"DefaultGridProfiles":false}}