All Verbs | /restfiles/GetFileItemRQ |
---|
export class FileItemRecursive
{
public idArchivo?: number;
public carp_carp?: number;
public carp_padre?: number;
public isDirectory: boolean;
public name: string;
public usua_login: string;
public fecha: string;
public items: FileItemRecursive[];
public constructor(init?: Partial<FileItemRecursive>) { (Object as any).assign(this, init); }
}
export class GetDirectoryRS
{
public FileItem: FileItemRecursive[];
public constructor(init?: Partial<GetDirectoryRS>) { (Object as any).assign(this, init); }
}
export class GetFileItemRQ
{
public carpeta: number;
public usuario: string;
public constructor(init?: Partial<GetFileItemRQ>) { (Object as any).assign(this, init); }
}
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: [ { } ] }