FrameAppWS

<back to all web services

EjecutaScriptBDRQ

Requires Authentication
The following routes are available for this service:
All Verbs/Utilidades/EjecutaScriptBD
"use strict";
export class LogScriptsBD {
    /** @param {{CodigoServidor?:number,CodigoDetalle?:number,CodigoLog?:number,CodigoScript?:number,SQL?:string,SQLAnt?:string,NombreServidor?:string,Mensaje?:string,FechaEjecucion?:string,LoginAplica?:string,Estado?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    CodigoServidor;
    /** @type {number} */
    CodigoDetalle;
    /** @type {number} */
    CodigoLog;
    /** @type {number} */
    CodigoScript;
    /** @type {string} */
    SQL;
    /** @type {string} */
    SQLAnt;
    /** @type {string} */
    NombreServidor;
    /** @type {string} */
    Mensaje;
    /** @type {string} */
    FechaEjecucion;
    /** @type {string} */
    LoginAplica;
    /** @type {string} */
    Estado;
}
export class EjecutaScriptBDRS {
    /** @param {{LogScript?:LogScriptsBD[],Error?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {LogScriptsBD[]} */
    LogScript;
    /** @type {string} */
    Error;
}
export class EjecutaScriptBDRQ {
    /** @param {{CodigoScript?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    CodigoScript;
}

JavaScript EjecutaScriptBDRQ 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/EjecutaScriptBD HTTP/1.1 
Host: soluser-recaudo.sgsas.co 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"CodigoScript":0}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"LogScript":[{"CodigoServidor":0,"CodigoDetalle":0,"CodigoLog":0,"CodigoScript":0,"SQL":"String","SQLAnt":"String","NombreServidor":"String","Mensaje":"String","FechaEjecucion":null,"LoginAplica":"String","Estado":"String"}],"Error":"String"}