Overview
Creates a new Storage Folder.
The function is available as a Web Service request.
Request
Parameters of the API request:
Parameter | Type | Description | Requirements |
---|
token | String | API authentication token | Mandatory |
storageFolder | StorageFolder | New Storage Folder's properties | Â |
Response
Parameters of the API response in getGroupsResponse type called return:
Parameter | Type | Description |
---|
status | Status | Possible return values: - OK
- ERROR_GENERAL
- ERROR_ILLEGAL_ARGUMENT
- ERROR_UNAUTHORIZED
|
storageFolder | StorageFolder | Â |
Examples
Â
 Example createGroup transaction.
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v2="http://v2.provisioning.ws.web.verba.com/">
<soapenv:Header/>
<soapenv:Body>
<v2:createStorageFolder>
<token>U3eZLSDtMhWSSv9dOo1FFAqrze0soiwt</token>
<storageFolder>
<!-- To understand each property you should:
* login to the Verba Web Interface
* create a dummy Storage Target
* use the ListStorageFolders API call to get the dummy Storage Target's properties.
-->
 <accountId></accountId>
<apiLogin></apiLogin>
<apiPassword></apiPassword>
<apiUrl></apiUrl>
<applicationId></applicationId>
<certPublic></certPublic>
<eid>0000</eid>
<emailFrom></emailFrom>
<emailTls>0</emailTls>
<exportTarget>1</exportTarget>
<exportTargetEveryone>0</exportTargetEveryone>
<name>Verba test</name>
<path>amazon_s3</path>
<port></port>
<serverName>eu-west-1</serverName>
<snaplockVolume></snaplockVolume>
<sourceId></sourceId>
<storageType>amazon_s3</storageType>
<userLogin>...........</userLogin>
<userPassword>.........................................</userPassword>
</storageFolder>
</v2:createStorageFolder>
</soapenv:Body>
</soapenv:Envelope>
Response:
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:createStorageFolderResponse xmlns:ns2="http://v2.provisioning.ws.web.verba.com/">
<return>
<status>
<statusCode>OK</statusCode>
</status>
<storageFolder>
<accountId/>
<apiLogin/>
<apiPassword/>
<apiUrl/>
<applicationId/>
<certPublic/>
<eid>0000</eid>
<emailFrom></emailFrom>
<emailTls>false</emailTls>
<exportTarget>true</exportTarget>
<exportTargetEveryone>false</exportTargetEveryone>
<id>24</id>
<name>Verba test</name>
<path>amazon_s3</path>
<port>0</port>
<serverName>eu-west-1</serverName>
<snaplockVolume/>
<sourceId/>
<storageType>amazon_s3</storageType>
<userLogin>...........</userLogin>
<userPassword>.........................................</userPassword>
</storageFolder>
</return>
</ns2:createStorageFolderResponse>
</S:Body>
</S:Envelope>
Â
Â