All Verbs | /Utilidades/Consultas/Cubos/OperacionesRemotas |
---|
import Foundation
import ServiceStack
public class EjecutaCuboOpRemotasRQ : Codable
{
public var idVista:Int
public var idPivot:Int
public var parametros:[String:Object] = [:]
public var lenguaje:Lenguajes
public var skip:Int
public var take:Int
public var filter:[Object] = []
public var sort:gridSortOptions
public var group:[gridGroupOptions] = []
public var groupSummary:[gridSummaryOptions] = []
public var totalSummary:[gridSummaryOptions] = []
public var requireTotalCount:Bool
public var requireGroupCount:Bool
required public init(){}
}
public enum Lenguajes : String, Codable
{
case ES
case PT
case EN
}
public class gridSortOptions : Codable
{
public var selector:String
public var desc:Bool
required public init(){}
}
public class gridGroupOptions : Codable
{
public var selector:String
public var desc:Bool
public var isExpanded:Bool
required public init(){}
}
public class gridSummaryOptions : Codable
{
public var selector:String
public var summaryType:String
required public init(){}
}
public class EjecutaCuboOpRemotasRS : Codable
{
public var data:[[String:Object]] = []
public var totalCount:Int
public var error:String
public var sql:String
required public init(){}
}
Swift EjecutaCuboOpRemotasRQ DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
Content-Type: application/json
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: application/json Content-Length: length {"data":[{"String":{}}],"totalCount":0,"Error":"String","SQL":"String"}