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.*


open class FileUtilsRQ
{
    var Files:ArrayList<FilesData> = ArrayList<FilesData>()
    var DocMerge:Boolean? = null
}

open class FilesData
{
    var Nombre:String? = null
    var Base64File:String? = null
    var ExtRQ:String? = null
}

open class FileUtilsRS
{
    var Success:Boolean? = null
    var ErrorMessage:String? = null
    var Archivos:ArrayList<FilesRS> = ArrayList<FilesRS>()
}

open class FilesRS
{
    var Nombre:String? = null
    var Base64File:String? = null
    var Ext:String? = null
}

Kotlin FileUtilsRQ 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/FilesConvertPdf HTTP/1.1 
Host: soluser-recaudo.sgsas.co 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

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

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