All Verbs | /restfiles/DeleteFileRQ |
---|
export class DeleteFileRS
{
public isDelete: boolean;
public error: string;
public constructor(init?: Partial<DeleteFileRS>) { (Object as any).assign(this, init); }
}
export class RestFiles
{
public Path: string;
public TextContents: string;
public ForDownload: boolean;
public constructor(init?: Partial<RestFiles>) { (Object as any).assign(this, init); }
}
export class DeleteFileRQ
{
public idArchivo: number;
public usua_login: string;
public carp_carp: number;
public isDirectory: boolean;
public empr_empr: number;
public sist_sist: number;
public path: string;
public dataDelete: RestFiles;
public constructor(init?: Partial<DeleteFileRQ>) { (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/DeleteFileRQ HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
idArchivo: 0,
usua_login: String,
carp_carp: 0,
isDirectory: False,
empr_empr: 0,
sist_sist: 0,
path: String,
dataDelete:
{
Path: String,
TextContents: String,
ForDownload: False
}
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { isDelete: False, error: String }