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 .other suffix or ?format=other
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/jsonl
Content-Type: text/jsonl
Content-Length: length
{"carpeta":0,"usuario":"String"}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"FileItem":[{}]}