FrameAppWS

<back to all web services

EjecutaQueryBackRQ

Requires Authentication
The following routes are available for this service:
All Verbs/Utilidades/Consultas/Listados/EjecucionBackground
import datetime
import decimal
from marshmallow.fields import *
from servicestack import *
from typing import *
from dataclasses import dataclass, field
from dataclasses_json import dataclass_json, LetterCase, Undefined, config
from enum import Enum, IntEnum


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class EjecutaQueryBackgroundRS:
    empresa: Decimal = decimal.Decimal(0)
    sistema: Decimal = decimal.Decimal(0)
    login: Optional[str] = None
    app_adm: bool = False
    txt_s_q_l: Optional[str] = None
    url_archivo: Optional[str] = None
    success: bool = False
    error: Optional[str] = None


class Lenguajes(str, Enum):
    ES = 'ES'
    PT = 'PT'
    EN = 'EN'


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class gridSortOptions:
    selector: Optional[str] = None
    desc: bool = False


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class gridGroupOptions:
    selector: Optional[str] = None
    desc: bool = False
    is_expanded: bool = False


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class EjecutaQueryBackRQ:
    id_vista: int = 0
    datos_detalles: bool = False
    parametros: Optional[Dict[str, Object]] = None
    lenguaje: Optional[Lenguajes] = None
    record_skip: int = 0
    record_take: int = 0
    filter: Optional[List[Object]] = None
    sort: Optional[gridSortOptions] = None
    group: Optional[gridGroupOptions] = None
    summary_group_items: Optional[List[gridSummaryOptions]] = None
    summary_total_items: Optional[List[gridSummaryOptions]] = None


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class gridSummaryOptions:
    selector: Optional[str] = None
    summary_type: Optional[str] = None

Python EjecutaQueryBackRQ 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/Listados/EjecucionBackground HTTP/1.1 
Host: soluser-recaudo.sgsas.co 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"IDVista":0,"DatosDetalles":false,"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

{"Empresa":0,"Sistema":0,"Login":"String","AppAdm":false,"TxtSQL":"String","URLArchivo":"String","Success":false,"Error":"String"}