FrameAppWS

<back to all web services

FileUtilsRQ

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

public class dtos
{

    public static class FileUtilsRQ
    {
        public ArrayList<FilesData> Files = null;
        public Boolean DocMerge = null;
        
        public ArrayList<FilesData> getFiles() { return Files; }
        public FileUtilsRQ setFiles(ArrayList<FilesData> value) { this.Files = value; return this; }
        public Boolean isDocMerge() { return DocMerge; }
        public FileUtilsRQ setDocMerge(Boolean value) { this.DocMerge = value; return this; }
    }

    public static class FilesData
    {
        public String Nombre = null;
        public String Base64File = null;
        public String ExtRQ = null;
        
        public String getNombre() { return Nombre; }
        public FilesData setNombre(String value) { this.Nombre = value; return this; }
        public String getBase64File() { return Base64File; }
        public FilesData setBase64File(String value) { this.Base64File = value; return this; }
        public String getExtRQ() { return ExtRQ; }
        public FilesData setExtRQ(String value) { this.ExtRQ = value; return this; }
    }

    public static class FileUtilsRS
    {
        public Boolean Success = null;
        public String ErrorMessage = null;
        public ArrayList<FilesRS> Archivos = null;
        
        public Boolean isSuccess() { return Success; }
        public FileUtilsRS setSuccess(Boolean value) { this.Success = value; return this; }
        public String getErrorMessage() { return ErrorMessage; }
        public FileUtilsRS setErrorMessage(String value) { this.ErrorMessage = value; return this; }
        public ArrayList<FilesRS> getArchivos() { return Archivos; }
        public FileUtilsRS setArchivos(ArrayList<FilesRS> value) { this.Archivos = value; return this; }
    }

    public static class FilesRS
    {
        public String Nombre = null;
        public String Base64File = null;
        public String Ext = null;
        
        public String getNombre() { return Nombre; }
        public FilesRS setNombre(String value) { this.Nombre = value; return this; }
        public String getBase64File() { return Base64File; }
        public FilesRS setBase64File(String value) { this.Base64File = value; return this; }
        public String getExt() { return Ext; }
        public FilesRS setExt(String value) { this.Ext = value; return this; }
    }

}

Java FileUtilsRQ DTOs

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

HTTP + JSV

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

POST /utilidades/FilesConvertPdf HTTP/1.1 
Host: ws.jimsnwa.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Files: 
	[
		{
			Nombre: String,
			Base64File: String,
			ExtRQ: String
		}
	],
	DocMerge: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Success: False,
	ErrorMessage: String,
	Archivos: 
	[
		{
			Nombre: String,
			Base64File: String,
			Ext: String
		}
	]
}