FrameAppWS

<back to all web services

DeleteFileRQ

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

public class dtos
{

    public static class DeleteFileRQ
    {
        public BigDecimal idArchivo = null;
        public String usua_login = null;
        public BigDecimal carp_carp = null;
        public Boolean isDirectory = null;
        public Integer empr_empr = null;
        public Integer sist_sist = null;
        public String path = null;
        public RestFiles dataDelete = null;
        
        public BigDecimal getIdArchivo() { return idArchivo; }
        public DeleteFileRQ setIdArchivo(BigDecimal value) { this.idArchivo = value; return this; }
        public String getUsuaLogin() { return usua_login; }
        public DeleteFileRQ setUsuaLogin(String value) { this.usua_login = value; return this; }
        public BigDecimal getCarpCarp() { return carp_carp; }
        public DeleteFileRQ setCarpCarp(BigDecimal value) { this.carp_carp = value; return this; }
        public Boolean getIsDirectory() { return isDirectory; }
        public DeleteFileRQ setIsDirectory(Boolean value) { this.isDirectory = value; return this; }
        public Integer getEmprEmpr() { return empr_empr; }
        public DeleteFileRQ setEmprEmpr(Integer value) { this.empr_empr = value; return this; }
        public Integer getSistSist() { return sist_sist; }
        public DeleteFileRQ setSistSist(Integer value) { this.sist_sist = value; return this; }
        public String getPath() { return path; }
        public DeleteFileRQ setPath(String value) { this.path = value; return this; }
        public RestFiles getDataDelete() { return dataDelete; }
        public DeleteFileRQ setDataDelete(RestFiles value) { this.dataDelete = value; return this; }
    }

    public static class RestFiles
    {
        public String Path = null;
        public String TextContents = null;
        public Boolean ForDownload = null;
        
        public String getPath() { return Path; }
        public RestFiles setPath(String value) { this.Path = value; return this; }
        public String getTextContents() { return TextContents; }
        public RestFiles setTextContents(String value) { this.TextContents = value; return this; }
        public Boolean isForDownload() { return ForDownload; }
        public RestFiles setForDownload(Boolean value) { this.ForDownload = value; return this; }
    }

    public static class DeleteFileRS
    {
        public Boolean isDelete = null;
        public String error = null;
        
        public Boolean getIsDelete() { return isDelete; }
        public DeleteFileRS setIsDelete(Boolean value) { this.isDelete = value; return this; }
        public String getError() { return error; }
        public DeleteFileRS setError(String value) { this.error = value; return this; }
    }

}

Java DeleteFileRQ DTOs

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

HTTP + XML

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

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

<DeleteFileRQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Administrador.Modelo.Tipos">
  <carp_carp>0</carp_carp>
  <dataDelete>
    <ForDownload>false</ForDownload>
    <Path>String</Path>
    <TextContents>String</TextContents>
  </dataDelete>
  <empr_empr>0</empr_empr>
  <idArchivo>0</idArchivo>
  <isDirectory>false</isDirectory>
  <path>String</path>
  <sist_sist>0</sist_sist>
  <usua_login>String</usua_login>
</DeleteFileRQ>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<DeleteFileRS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Administrador.Modelo.Tipos">
  <error>String</error>
  <isDelete>false</isDelete>
</DeleteFileRS>