digitaluapi

<back to all web services

AddTableRecordRequest

Requires Authentication
Requires any of the roles:Client, Admin, Partner
The following routes are available for this service:
POST/scadmeta/tables/{TablesId}/addAdd Table Records
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 AddTableRecordRequest
            '''<Summary>
            '''Table id
            '''</Summary>
            <ApiMember(Description:="Table id", IsRequired:=true)>
            Public Overridable Property TablesId As Integer

            '''<Summary>
            '''Parameter list
            '''</Summary>
            <ApiMember(Description:="Parameter list")>
            Public Overridable Property ParameterList As Dictionary(Of String, Object)

            '''<Summary>
            '''Global parameter list
            '''</Summary>
            <ApiMember(Description:="Global parameter list")>
            Public Overridable Property GlobalParamList As Dictionary(Of String, Object)

            '''<Summary>
            '''View id
            '''</Summary>
            <ApiMember(Description:="View id")>
            Public Overridable Property ViewId As Integer?

            '''<Summary>
            '''Whether or not to refresh the cache
            '''</Summary>
            <ApiMember(Description:="Whether or not to refresh the cache")>
            Public Overridable Property RefreshCache As Boolean
        End Class
    End Namespace
End Namespace

VB.NET AddTableRecordRequest DTOs

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

HTTP + CSV

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

POST /scadmeta/tables/{TablesId}/add HTTP/1.1 
Host: duengageapi.uat.scadsoftware.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"TablesId":0,"ParameterList":{"String":{}},"GlobalParamList":{"String":{}},"ViewId":0,"RefreshCache":false}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{}