POST api/XmhSafetyHatManage/UpdateSafetyHatFile
Request Information
URI Parameters
None.
Body Parameters
XmhSafetyHatFileDtoName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
file_name | string |
None. |
|
file_url | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "file_name": "sample string 1", "file_url": "sample string 2" }
application/xml, text/xml
Sample:
<XmhSafetyHatFileDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LearnAPI.ViewModel"> <file_name>sample string 1</file_name> <file_url>sample string 2</file_url> <id>1</id> </XmhSafetyHatFileDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseResponseName | Description | Type | Additional information |
---|---|---|---|
msg | string |
None. |
|
code | integer |
None. |
|
total | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "msg": "sample string 1", "code": 2, "total": 3 }
application/xml, text/xml
Sample:
<BaseResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LearnAPI"> <code>2</code> <msg>sample string 1</msg> <total>3</total> </BaseResponse>