| POST | /support/request | 
|---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Support.WebApi.ServiceModel
Imports Betting.Common
Imports Starnet.Common
Namespace Global
    Namespace Betting.Common
        Public Partial Class BettingApp
            Public Overridable Property Name As String
            Public Overridable Property Version As String
        End Class
        Public Partial Class Origin
            Public Overridable Property Application As BettingApp
            Public Overridable Property IP As String
            Public Overridable Property Organization As Ref
            Public Overridable Property Region As Ref
            Public Overridable Property LocationGroup As Ref
            Public Overridable Property Location As Ref
            Public Overridable Property Device As Ref
            Public Overridable Property Clerk As Ref
        End Class
    End Namespace
    Namespace Starnet.Common
        Public Partial Class Ref
            Public Overridable Property Id As String
            Public Overridable Property Val As String
        End Class
    End Namespace
    Namespace Support.WebApi.ServiceModel
        Public Partial Class RequestSupport
            Public Overridable Property Origin As Origin
        End Class
    End Namespace
End Namespace
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /support/request HTTP/1.1 
Host: support.bettor-dual-stage.webhop.biz 
Accept: application/json
Content-Type: application/json
Content-Length: length
{"origin":{"application":{"name":"String","version":"String"},"ip":"String","organization":{"id":"String","val":"String"},"region":{"id":"String","val":"String"},"locationGroup":{"id":"String","val":"String"},"location":{"id":"String","val":"String"},"device":{"id":"String","val":"String"},"clerk":{"id":"String","val":"String"}}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}