POST api/file/delete

Request Information

URI Parameters

None.

Body Parameters

FileModel
NameDescriptionTypeAdditional information
FileId

integer

None.

Name

string

Required

Max length: 100

Folder

string

Required

Max length: 100

Url

string

Required

Request Formats

application/json, text/json

Sample:
{
  "FileId": 1,
  "Name": "sample string 1",
  "Folder": "sample string 2",
  "Url": "sample string 3"
}

application/xml, text/xml

Sample:
<FileModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALTAMBS.Business.Entities.Models.Files">
  <FileId>1</FileId>
  <Folder>sample string 2</Folder>
  <Name>sample string 1</Name>
  <Url>sample string 3</Url>
</FileModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'FileModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.