digitaluapi

<back to all web services

Requests

Requires Authentication
Requires any of the roles:Client, Admin, Partner
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports digitaluapi.ServiceModel
Imports ServiceStack.Text
Imports digitaluapi.ServiceModel.Types

Namespace Global

    Namespace digitaluapi.ServiceModel

        Public Partial Class CSVRequestsArr
            Public Overridable Property BatchId As Integer
            Public Overridable Property Data As JsonObject
            Public Overridable Property Errors As CSVErrors()
        End Class

        Public Partial Class CSVRequestsArrResponse
            Inherits List(Of MetaParseUpload)
        End Class

        <DataContract>
        Public Partial Class MetaParseUpload
            <DataMember(Order:=1)>
            Public Overridable Property Data As String
        End Class

        Public Partial Class Requests
            Inherits List(Of CSVRequestsArr)
        End Class
    End Namespace

    Namespace digitaluapi.ServiceModel.Types

        Public Partial Class CSVErrors
            Public Overridable Property type As String
            Public Overridable Property code As String
            Public Overridable Property message As String
            Public Overridable Property row As String
        End Class
    End Namespace

    Namespace ServiceStack.Text

        Public Partial Class JsonObject
            Inherits Dictionary(Of String, String)
        End Class
    End Namespace
End Namespace

VB.NET Requests 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.

POST /jsv/reply/Requests HTTP/1.1 
Host: duengageapi.uat.scadsoftware.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

[
	
]
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

[
	
]