All Verbs | /restfiles/GetReportsRQ |
---|
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 GetReportsRQ
{
public usua_login?: string;
public sist_sist?: number;
public empr_empr?: number;
public fechaini?: string;
public fechafin?: string;
public constructor(init?: Partial<GetReportsRQ>) { (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/GetReportsRQ HTTP/1.1
Host: ws.jimsnwa.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
usua_login: String,
sist_sist: 0,
empr_empr: 0,
fechaini: 0001-01-01,
fechafin: 0001-01-01
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { FileItem: [ { } ] }