All Verbs | /Utilidades/Consultas/Cubos/OperacionesRemotas |
---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Administrador.Modelo.Tipos
Imports Administrador.Modelo.DevExtreme
Namespace Global
Namespace Administrador.Modelo.DevExtreme
Public Partial Class gridGroupOptions
Public Overridable Property selector As String
Public Overridable Property desc As Boolean
Public Overridable Property isExpanded As Boolean
End Class
Public Partial Class gridSortOptions
Public Overridable Property selector As String
Public Overridable Property desc As Boolean
End Class
Public Partial Class gridSummaryOptions
Public Overridable Property selector As String
Public Overridable Property summaryType As String
End Class
End Namespace
Namespace Administrador.Modelo.Tipos
Public Partial Class EjecutaCuboOpRemotasRQ
Public Sub New()
Parametros = New Dictionary(Of String, Object)
filter = New List(Of Object)
group = New gridGroupOptions(){}
groupSummary = New gridSummaryOptions(){}
totalSummary = New gridSummaryOptions(){}
End Sub
Public Overridable Property IDVista As Integer
Public Overridable Property IDPivot As Integer
Public Overridable Property Parametros As Dictionary(Of String, Object)
Public Overridable Property Lenguaje As Lenguajes
Public Overridable Property skip As Integer
Public Overridable Property take As Integer
Public Overridable Property filter As List(Of Object)
Public Overridable Property sort As gridSortOptions
Public Overridable Property group As gridGroupOptions()
Public Overridable Property groupSummary As gridSummaryOptions()
Public Overridable Property totalSummary As gridSummaryOptions()
Public Overridable Property requireTotalCount As Boolean
Public Overridable Property requireGroupCount As Boolean
End Class
Public Partial Class EjecutaCuboOpRemotasRS
Public Sub New()
data = New List(Of Dictionary(Of String,Object))
End Sub
Public Overridable Property data As List(Of Dictionary(Of String,Object))
Public Overridable Property totalCount As Integer
Public Overridable Property [Error] As String
Public Overridable Property SQL As String
End Class
Public Enum Lenguajes
ES
PT
EN
End Enum
End Namespace
End Namespace
VB.NET EjecutaCuboOpRemotasRQ DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Utilidades/Consultas/Cubos/OperacionesRemotas HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"IDVista":0,"IDPivot":0,"Parametros":{"String":{}},"Lenguaje":"ES","skip":0,"take":0,"filter":[{}],"sort":{"selector":"String","desc":false},"group":[{"selector":"String","desc":false,"isExpanded":false}],"groupSummary":[{"selector":"String","summaryType":"String"}],"totalSummary":[{"selector":"String","summaryType":"String"}],"requireTotalCount":false,"requireGroupCount":false}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"data":[{"String":{}}],"totalCount":0,"Error":"String","SQL":"String"}