| 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;
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=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: soluser-recaudo.sgsas.co
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
}
]
}