PUT api/Media/updateMediaFile
Aktualizacja metryki upload'owanego pliku
Request Information
URI Parameters
None.
Body Parameters
MediaFileModelToUpdate| Nazwa | Opis | Typ | Informacje 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:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.