FrameAppWS

<back to all web services

EjecutaScriptBDRQ

Requires Authentication
The following routes are available for this service:
All Verbs/Utilidades/EjecutaScriptBD

// @DataContract
export class LogScriptsBD
{
    // @DataMember
    public CodigoServidor: number;

    // @DataMember
    public CodigoDetalle: number;

    // @DataMember
    public CodigoLog: number;

    // @DataMember
    public CodigoScript: number;

    // @DataMember
    public SQL: string;

    // @DataMember
    public SQLAnt: string;

    // @DataMember
    public NombreServidor: string;

    // @DataMember
    public Mensaje: string;

    // @DataMember
    public FechaEjecucion: string;

    // @DataMember
    public LoginAplica: string;

    // @DataMember
    public Estado: string;

    public constructor(init?: Partial<LogScriptsBD>) { (Object as any).assign(this, init); }
}

export class EjecutaScriptBDRS
{
    public LogScript: LogScriptsBD[];
    public Error: string;

    public constructor(init?: Partial<EjecutaScriptBDRS>) { (Object as any).assign(this, init); }
}

export class EjecutaScriptBDRQ
{
    public CodigoScript: number;

    public constructor(init?: Partial<EjecutaScriptBDRQ>) { (Object as any).assign(this, init); }
}

TypeScript 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"}