POST api/ArchiveStorageTask/AddArchiveStorageTaskByTemplate
从模板创建存档任务
Request Information
URI Parameters
None.
Body Parameters
ArchiveTemplateTaskInputName | Description | Type | Additional information |
---|---|---|---|
ArchiveTableId |
存档表编号 |
globally unique identifier |
None. |
TplName |
模板名称 理论课|实践专周|实验课|毕业设计 |
string |
None. |
Syks |
试验课时 |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "ArchiveTableId": "fa93ff6f-cc56-4ac4-8404-84b5ce2f966d", "TplName": "sample string 2", "Syks": true }
text/html
Sample:
{"ArchiveTableId":"fa93ff6f-cc56-4ac4-8404-84b5ce2f966d","TplName":"sample string 2","Syks":true}
application/xml, text/xml
Sample:
<ArchiveTemplateTaskInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <ArchiveTableId>fa93ff6f-cc56-4ac4-8404-84b5ce2f966d</ArchiveTableId> <Syks>true</Syks> <TplName>sample string 2</TplName> </ArchiveTemplateTaskInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
从模板创建存档任务
JsonRtnDtoOfGuidName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": "8408b5ba-e952-4813-bd2a-614a58c84a97" }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":"8408b5ba-e952-4813-bd2a-614a58c84a97"}
application/xml, text/xml
Sample:
<JsonRtnDtoOfguid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data>8408b5ba-e952-4813-bd2a-614a58c84a97</Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfguid>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":"8408b5ba-e952-4813-bd2a-614a58c84a97"});