FIBUdataServiceStack

<back to all web services

AuthRegRequest

The following routes are available for this service:
GET, POST/fibuscan/Auth/reg
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports FIBUdataServiceStack.ServiceModel.Messages

Namespace Global

    Namespace FIBUdataServiceStack.ServiceModel.Messages

        Public Partial Class AuthRegRequest
            Public Overridable Property AuthToken As String
            Public Overridable Property RegToken As String
            Public Overridable Property email As String
        End Class

        Public Partial Class AuthRegResponse
            Public Overridable Property Result As Boolean
            Public Overridable Property Fehler As String
            Public Overridable Property Token As String
        End Class
    End Namespace
End Namespace

VB.NET AuthRegRequest DTOs

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

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /fibuscan/Auth/reg HTTP/1.1 
Host: ws4.fibudata.net 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"AuthToken":"String","RegToken":"String","email":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"Result":false,"Fehler":"String","Token":"String"}