All Verbs | /restfiles/GetReportsRQ |
---|
"use strict";
export class FileItemRecursive {
/** @param {{idArchivo?:number,carp_carp?:number,carp_padre?:number,isDirectory?:boolean,name?:string,usua_login?:string,fecha?:string,items?:FileItemRecursive[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {?number} */
idArchivo;
/** @type {?number} */
carp_carp;
/** @type {?number} */
carp_padre;
/** @type {boolean} */
isDirectory;
/** @type {string} */
name;
/** @type {string} */
usua_login;
/** @type {string} */
fecha;
/** @type {FileItemRecursive[]} */
items;
}
export class GetDirectoryRS {
/** @param {{FileItem?:FileItemRecursive[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {FileItemRecursive[]} */
FileItem;
}
export class GetReportsRQ {
/** @param {{usua_login?:string,sist_sist?:number,empr_empr?:number,fechaini?:string,fechafin?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
usua_login;
/** @type {number} */
sist_sist;
/** @type {number} */
empr_empr;
/** @type {string} */
fechaini;
/** @type {string} */
fechafin;
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /restfiles/GetReportsRQ HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"usua_login":"String","sist_sist":0,"empr_empr":0,"fechaini":null,"fechafin":null}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"FileItem":[{}]}