PUT api/Media/updateMediaFile

Aktualizacja metryki upload'owanego pliku

Request Information

URI Parameters

None.

Body Parameters

MediaFileModelToUpdate
NazwaOpisTypInformacje dodatkowe
Id

integer

Required

Name

string

Max length: 150

Description

string

Max length: 2000

idCategory

integer

None.

FileName

string

Max length: 500

Link

string

Max length: 500

SortNo

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Description": "sample string 3",
  "idCategory": 1,
  "FileName": "sample string 4",
  "Link": "sample string 5",
  "SortNo": 6
}

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.