FrameAppWS

<back to all web services

EjecutaLookupRQ

Requires Authentication
The following routes are available for this service:
All Verbs/Utilidades/Consultas/Lookups/Ejecucion
namespace Administrador.Modelo.DevExtreme

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type EjecutaLookupRS() = 
        member val DatosConsulta:ResizeArray<Dictionary<String,Object>> = new ResizeArray<Dictionary<String,Object>>() with get,set
        member val Version:String = null with get,set
        member val TotalRegistros:Int32 = new Int32() with get,set
        member val TotalGrupos:Int32 = new Int32() with get,set
        member val SummaryList:ResizeArray<Object> = new ResizeArray<Object>() with get,set

    type Lenguajes =
        | ES = 0
        | PT = 1
        | EN = 2

    [<AllowNullLiteral>]
    type gridSortOptions() = 
        member val selector:String = null with get,set
        member val desc:Boolean = new Boolean() with get,set

    [<AllowNullLiteral>]
    type gridGroupOptions() = 
        member val selector:String = null with get,set
        member val desc:Boolean = new Boolean() with get,set
        member val isExpanded:Boolean = new Boolean() with get,set

    [<AllowNullLiteral>]
    type EjecutaLookupRQ() = 
        member val IDLookup:Int32 = new Int32() with get,set
        member val Parametros:Dictionary<String, Object> = new Dictionary<String, Object>() with get,set
        member val Lenguaje:Lenguajes = new Lenguajes() with get,set
        member val RecordSkip:Int32 = new Int32() with get,set
        member val RecordTake:Int32 = new Int32() with get,set
        member val Filter:ResizeArray<Object> = new ResizeArray<Object>() with get,set
        member val Sort:gridSortOptions = null with get,set
        member val Group:gridGroupOptions = null with get,set
        member val SummaryGroupItems:gridSummaryOptions[] = [||] with get,set
        member val SummaryTotalItems:gridSummaryOptions[] = [||] with get,set

    [<AllowNullLiteral>]
    type gridSummaryOptions() = 
        member val selector:String = null with get,set
        member val summaryType:String = null with get,set

F# EjecutaLookupRQ DTOs

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

HTTP + OTHER

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

POST /Utilidades/Consultas/Lookups/Ejecucion HTTP/1.1 
Host: soluser-recaudo.sgsas.co 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"IDLookup":0,"Parametros":{"String":{}},"Lenguaje":"ES","RecordSkip":0,"RecordTake":0,"Filter":[{}],"Sort":{"selector":"String","desc":false},"Group":{"selector":"String","desc":false,"isExpanded":false},"SummaryGroupItems":[{"selector":"String","summaryType":"String"}],"SummaryTotalItems":[{"selector":"String","summaryType":"String"}]}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"DatosConsulta":[{"String":{}}],"Version":"String","TotalRegistros":0,"TotalGrupos":0,"SummaryList":[{}]}