POST api/{programid}/File/Delete

Request Information

URI Parameters

NameDescriptionTypeAdditional information
programid

string

Required

Body Parameters

DeleteFileRequest
NameDescriptionTypeAdditional information
FilePath

string

None.

FileId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FilePath": "sample string 1",
  "FileId": 2
}

application/xml, text/xml

Sample:
<DeleteFileRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.WebApi.Models.File">
  <FileId>2</FileId>
  <FilePath>sample string 1</FilePath>
</DeleteFileRequest>

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 'DeleteFileRequest'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>