Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports IDB.API.DTO.Rights.Operations
Imports IDB.API.DTO.Rights
Namespace Global
    Namespace IDB.API.DTO.Rights
        Public Partial Class RightsInformation
            Public Overridable Property Rights As Hashtable
        End Class
    End Namespace
    Namespace IDB.API.DTO.Rights.Operations
        '''<Summary>
        '''Get rights for application or object
        '''</Summary>
        Public Partial Class GetRights
            Public Sub New()
                Rights = New List(Of String)
            End Sub
            Public Overridable Property Rights As List(Of String)
            Public Overridable Property EntityName As String
            Public Overridable Property ID As String
        End Class
    End Namespace
End Namespace
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsonl/reply/GetRights HTTP/1.1 
Host: doapigw.baasbv.nl 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"Rights":["String"],"EntityName":"String","ID":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"Rights":{}}