All Verbs | /restfiles/GetFileItemRQ |
---|
"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 GetFileItemRQ {
/** @param {{carpeta?:number,usuario?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
carpeta;
/** @type {string} */
usuario;
}
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 /restfiles/GetFileItemRQ HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
carpeta: 0,
usuario: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { FileItem: [ { } ] }