| Requires any of the roles: | Client, Admin, Partner |
| GET | /insert_batch_data |
|---|
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
<DataContract>
Public Partial Class InsertBatchDataLookup
<DataMember(Order:=2)>
Public Overridable Property Data As String
<DataMember(Order:=3)>
Public Overridable Property HasError As Boolean?
<DataMember(Order:=4)>
Public Overridable Property Merged As Boolean?
<DataMember(Order:=5)>
Public Overridable Property BatchId As Long?
<DataMember(Order:=6)>
Public Overridable Property Jsondata As String
<DataMember(Order:=7)>
Public Overridable Property ErrorData As String
End Class
End Namespace
End Namespace
VB.NET InsertBatchDataLookup DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /insert_batch_data HTTP/1.1 Host: duengageapi.uat.scadsoftware.com Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
[{"Data":"String","HasError":false,"Merged":false,"BatchId":0,"Jsondata":"String","ErrorData":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}]