digitaluapi

<back to all web services

GetQueryResults

Requires Authentication
Requires any of the roles:Client, Admin, Partner
The following routes are available for this service:
GET/scadmeta/tables/query/{QueryId}
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 digitaluapi.ServiceModel.Types

Namespace Global

    Namespace digitaluapi.ServiceModel

        Public Partial Class GetQueryResults
            Public Overridable Property QueryId As Integer
            Public Overridable Property ParameterList As Dictionary(Of String, Object)
            Public Overridable Property Paging As Paging
        End Class
    End Namespace

    Namespace digitaluapi.ServiceModel.Types

        Public Partial Class Paging
            Public Overridable Property PageNumber As Integer
            Public Overridable Property PageSize As Integer
        End Class
    End Namespace
End Namespace

VB.NET GetQueryResults DTOs

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

HTTP + XML

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

GET /scadmeta/tables/query/{QueryId} HTTP/1.1 
Host: duengageapi.uat.scadsoftware.com 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ArrayOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <anyType />
</ArrayOfanyType>