POST api/resource/setresourceconvertsetting
更新资源转换时间段设置
Request Information
URI Parameters
None.
Body Parameters
ResourceConvertSettingName | Description | Type | Additional information |
---|---|---|---|
Id |
设置时间 |
integer |
None. |
BeginTime |
开始转换时间 |
date |
None. |
EndTime |
结束转换时间 |
date |
None. |
DocumentClass |
文档类资源 |
boolean |
None. |
VideoClass |
视频类资源 |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "BeginTime": "2024-09-25T00:09:39.2985722+08:00", "EndTime": "2024-09-25T00:09:39.2985722+08:00", "DocumentClass": true, "VideoClass": true }
text/html
Sample:
{"Id":1,"BeginTime":"2024-09-25T00:09:39.2985722+08:00","EndTime":"2024-09-25T00:09:39.2985722+08:00","DocumentClass":true,"VideoClass":true}
application/xml, text/xml
Sample:
<ResourceConvertSetting xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Data"> <BeginTime>2024-09-25T00:09:39.2985722+08:00</BeginTime> <DocumentClass>true</DocumentClass> <EndTime>2024-09-25T00:09:39.2985722+08:00</EndTime> <Id>1</Id> <VideoClass>true</VideoClass> </ResourceConvertSetting>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
更新资源转换时间段设置
JsonRtnDtoOfResourceConvertSettingName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | ResourceConvertSetting |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "Id": 1, "BeginTime": "2024-09-25T00:09:39.2985722+08:00", "EndTime": "2024-09-25T00:09:39.2985722+08:00", "DocumentClass": true, "VideoClass": true } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"Id":1,"BeginTime":"2024-09-25T00:09:39.2985722+08:00","EndTime":"2024-09-25T00:09:39.2985722+08:00","DocumentClass":true,"VideoClass":true}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfResourceConvertSettingmEDjlcEG xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Data"> <d2p1:BeginTime>2024-09-25T00:09:39.2985722+08:00</d2p1:BeginTime> <d2p1:DocumentClass>true</d2p1:DocumentClass> <d2p1:EndTime>2024-09-25T00:09:39.2985722+08:00</d2p1:EndTime> <d2p1:Id>1</d2p1:Id> <d2p1:VideoClass>true</d2p1:VideoClass> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfResourceConvertSettingmEDjlcEG>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Id":1,"BeginTime":"2024-09-25T00:09:39.2985722+08:00","EndTime":"2024-09-25T00:09:39.2985722+08:00","DocumentClass":true,"VideoClass":true}});