POST api/ArchiveFile/AddArchiveFileDirectory
添加存档文件目录
Request Information
URI Parameters
None.
Body Parameters
ArchiveFileDirectoryInputName | Description | Type | Additional information |
---|---|---|---|
StorageTaskId |
任务编号 |
globally unique identifier |
None. |
ParentId |
父级编号 |
globally unique identifier |
None. |
DirectoryName |
目录名称 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "StorageTaskId": "b30daaee-97b4-47fa-834b-587cc159bc60", "ParentId": "3311c6f0-61c7-4347-84af-3b10074b7331", "DirectoryName": "sample string 2" }
text/html
Sample:
{"StorageTaskId":"b30daaee-97b4-47fa-834b-587cc159bc60","ParentId":"3311c6f0-61c7-4347-84af-3b10074b7331","DirectoryName":"sample string 2"}
application/xml, text/xml
Sample:
<ArchiveFileDirectoryInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <DirectoryName>sample string 2</DirectoryName> <ParentId>3311c6f0-61c7-4347-84af-3b10074b7331</ParentId> <StorageTaskId>b30daaee-97b4-47fa-834b-587cc159bc60</StorageTaskId> </ArchiveFileDirectoryInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
添加存档文件目录
JsonRtnDtoOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": true }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":true}
application/xml, text/xml
Sample:
<JsonRtnDtoOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data>true</Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfboolean>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":true});