FrameAppWS

<back to all web services

EjecutaScriptBDRQ

Requires Authentication
The following routes are available for this service:
All Verbs/Utilidades/EjecutaScriptBD
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class EjecutaScriptBDRQ
    {
        public BigDecimal CodigoScript = null;
        
        public BigDecimal getCodigoScript() { return CodigoScript; }
        public EjecutaScriptBDRQ setCodigoScript(BigDecimal value) { this.CodigoScript = value; return this; }
    }

    public static class EjecutaScriptBDRS
    {
        public ArrayList<LogScriptsBD> LogScript = null;
        public String Error = null;
        
        public ArrayList<LogScriptsBD> getLogScript() { return LogScript; }
        public EjecutaScriptBDRS setLogScript(ArrayList<LogScriptsBD> value) { this.LogScript = value; return this; }
        public String getError() { return Error; }
        public EjecutaScriptBDRS setError(String value) { this.Error = value; return this; }
    }

    @DataContract
    public static class LogScriptsBD
    {
        @DataMember
        public BigDecimal CodigoServidor = null;

        @DataMember
        public BigDecimal CodigoDetalle = null;

        @DataMember
        public BigDecimal CodigoLog = null;

        @DataMember
        public BigDecimal CodigoScript = null;

        @DataMember
        public String SQL = null;

        @DataMember
        public String SQLAnt = null;

        @DataMember
        public String NombreServidor = null;

        @DataMember
        public String Mensaje = null;

        @DataMember
        public Date FechaEjecucion = null;

        @DataMember
        public String LoginAplica = null;

        @DataMember
        public String Estado = null;
        
        public BigDecimal getCodigoServidor() { return CodigoServidor; }
        public LogScriptsBD setCodigoServidor(BigDecimal value) { this.CodigoServidor = value; return this; }
        public BigDecimal getCodigoDetalle() { return CodigoDetalle; }
        public LogScriptsBD setCodigoDetalle(BigDecimal value) { this.CodigoDetalle = value; return this; }
        public BigDecimal getCodigoLog() { return CodigoLog; }
        public LogScriptsBD setCodigoLog(BigDecimal value) { this.CodigoLog = value; return this; }
        public BigDecimal getCodigoScript() { return CodigoScript; }
        public LogScriptsBD setCodigoScript(BigDecimal value) { this.CodigoScript = value; return this; }
        public String getSql() { return SQL; }
        public LogScriptsBD setSql(String value) { this.SQL = value; return this; }
        public String getSqlAnt() { return SQLAnt; }
        public LogScriptsBD setSqlAnt(String value) { this.SQLAnt = value; return this; }
        public String getNombreServidor() { return NombreServidor; }
        public LogScriptsBD setNombreServidor(String value) { this.NombreServidor = value; return this; }
        public String getMensaje() { return Mensaje; }
        public LogScriptsBD setMensaje(String value) { this.Mensaje = value; return this; }
        public Date getFechaEjecucion() { return FechaEjecucion; }
        public LogScriptsBD setFechaEjecucion(Date value) { this.FechaEjecucion = value; return this; }
        public String getLoginAplica() { return LoginAplica; }
        public LogScriptsBD setLoginAplica(String value) { this.LoginAplica = value; return this; }
        public String getEstado() { return Estado; }
        public LogScriptsBD setEstado(String value) { this.Estado = value; return this; }
    }

}

Java EjecutaScriptBDRQ DTOs

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

HTTP + CSV

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

{"CodigoScript":0}
HTTP/1.1 200 OK
Content-Type: text/csv
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"}