FrameAppWS

<back to all web services

EjecutaCuboOpRemotasRQ

Requires Authentication
The following routes are available for this service:
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 .jsv suffix or ?format=jsv

HTTP + JSV

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/jsv
Content-Type: text/jsv
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/jsv
Content-Length: length

{
	data: 
	[
		{
			String: {}
		}
	],
	totalCount: 0,
	Error: String,
	SQL: String
}