FrameAppWS

<back to all web services

DeleteFileRQ

Requires Authentication
The following routes are available for this service:
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); }
}

TypeScript DeleteFileRQ DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

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: ws.jimsnwa.com 
Accept: text/csv
Content-Type: text/csv
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/csv
Content-Length: length

{"isDelete":false,"error":"String"}