FrameAppWS

<back to all web services

GetFilesRQ

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

public class dtos
{

    public static class GetFilesRQ
    {
        public String usua_login = null;
        public Integer sist_sist = null;
        public Integer empr_empr = null;
        public Date fechaini = null;
        public Date fechafin = null;
        
        public String getUsuaLogin() { return usua_login; }
        public GetFilesRQ setUsuaLogin(String value) { this.usua_login = value; return this; }
        public Integer getSistSist() { return sist_sist; }
        public GetFilesRQ setSistSist(Integer value) { this.sist_sist = value; return this; }
        public Integer getEmprEmpr() { return empr_empr; }
        public GetFilesRQ setEmprEmpr(Integer value) { this.empr_empr = value; return this; }
        public Date getFechaini() { return fechaini; }
        public GetFilesRQ setFechaini(Date value) { this.fechaini = value; return this; }
        public Date getFechafin() { return fechafin; }
        public GetFilesRQ setFechafin(Date value) { this.fechafin = value; return this; }
    }

    public static class GetDirectoryRS
    {
        public ArrayList<FileItemRecursive> FileItem = null;
        
        public ArrayList<FileItemRecursive> getFileItem() { return FileItem; }
        public GetDirectoryRS setFileItem(ArrayList<FileItemRecursive> value) { this.FileItem = value; return this; }
    }

    public static class FileItemRecursive
    {
        public BigDecimal idArchivo = null;
        public BigDecimal carp_carp = null;
        public BigDecimal carp_padre = null;
        public Boolean isDirectory = null;
        public String name = null;
        public String usua_login = null;
        public Date fecha = null;
        public ArrayList<FileItemRecursive> items = null;
        
        public BigDecimal getIdArchivo() { return idArchivo; }
        public FileItemRecursive setIdArchivo(BigDecimal value) { this.idArchivo = value; return this; }
        public BigDecimal getCarpCarp() { return carp_carp; }
        public FileItemRecursive setCarpCarp(BigDecimal value) { this.carp_carp = value; return this; }
        public BigDecimal getCarpPadre() { return carp_padre; }
        public FileItemRecursive setCarpPadre(BigDecimal value) { this.carp_padre = value; return this; }
        public Boolean getIsDirectory() { return isDirectory; }
        public FileItemRecursive setIsDirectory(Boolean value) { this.isDirectory = value; return this; }
        public String getName() { return name; }
        public FileItemRecursive setName(String value) { this.name = value; return this; }
        public String getUsuaLogin() { return usua_login; }
        public FileItemRecursive setUsuaLogin(String value) { this.usua_login = value; return this; }
        public Date getFecha() { return fecha; }
        public FileItemRecursive setFecha(Date value) { this.fecha = value; return this; }
        public ArrayList<FileItemRecursive> getItems() { return items; }
        public FileItemRecursive setItems(ArrayList<FileItemRecursive> value) { this.items = value; return this; }
    }

}

Java GetFilesRQ DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /restfiles/GetFilesRQ HTTP/1.1 
Host: soluser-recaudo.sgsas.co 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"usua_login":"String","sist_sist":0,"empr_empr":0,"fechaini":null,"fechafin":null}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"FileItem":[{}]}