FrameAppWS

<back to all web services

FileUtilsRQ

Requires Authentication
The following routes are available for this service:
All Verbs/utilidades/FilesConvertPdf
"use strict";
export class FilesRS {
    /** @param {{Nombre?:string,Base64File?:string,Ext?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    Nombre;
    /** @type {string} */
    Base64File;
    /** @type {string} */
    Ext;
}
export class FileUtilsRS {
    /** @param {{Success?:boolean,ErrorMessage?:string,Archivos?:FilesRS[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {boolean} */
    Success;
    /** @type {string} */
    ErrorMessage;
    /** @type {FilesRS[]} */
    Archivos;
}
export class FilesData {
    /** @param {{Nombre?:string,Base64File?:string,ExtRQ?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    Nombre;
    /** @type {string} */
    Base64File;
    /** @type {string} */
    ExtRQ;
}
export class FileUtilsRQ {
    /** @param {{Files?:FilesData[],DocMerge?:boolean}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {FilesData[]} */
    Files;
    /** @type {boolean} */
    DocMerge;
}

JavaScript 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"}]}