DigiOffice Gateway Web Services

<back to all web services

GetUserConfig

Requires Authentication
The following routes are available for this service:
GET/api/users/me/config
namespace IDB.API.DTO.UserInformation

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type Permissions() = 
        member val DefaultGridProfiles:Boolean = new Boolean() with get,set

    [<AllowNullLiteral>]
    type UserConfig() = 
        member val Theme:String = null with get,set
        member val ZoomLevel:String = null with get,set
        member val InterfaceCulture:String = null with get,set
        member val Autocomplete:Boolean = new Boolean() with get,set
        member val Permissions:Permissions = null with get,set

    [<AllowNullLiteral>]
    type GetUserConfig() = 
        class end

F# GetUserConfig DTOs

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

HTTP + JSV

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/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Theme: String,
	ZoomLevel: String,
	InterfaceCulture: String,
	Autocomplete: False,
	Permissions: 
	{
		DefaultGridProfiles: False
	}
}