digitaluapi

<back to all web services

CSVRequests

Requires Authentication
Requires any of the roles:Client, Admin, Partner
The following routes are available for this service:
All Verbs/scadmeta/csv/upload
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports digitaluapi.ServiceModel

Namespace Global

    Namespace digitaluapi.ServiceModel

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

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

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

VB.NET CSVRequests 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 /scadmeta/csv/upload HTTP/1.1 
Host: duengageapi.uat.scadsoftware.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

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

[]