Overview
Updates a 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 | Updated Storage Folder information | Mandatory |
Response
Parameters of the API response:
Parameter | Type | Description |
---|
return | Status | Possible return values: - OK
- ERROR_GENERAL
- ERROR_ILLEGAL_ARGUMENT
- ERROR_UNAUTHORIZED
|
storageFolder | Â StorageFolder | Â |
Examples
Â
 Example UpdateStorageFolder 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:updateStorageFolder>
<token>2Q14vHt8txwHZZeVGuZuMVuP6Czgq0cX</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>
<id>25</id>
<name>Verba updated Storage Folder</name>
<path>amazon_s3</path>
<port>22</port>
<serverName>eu-west-1</serverName>
<snaplockVolume></snaplockVolume>
<sourceId></sourceId>
<storageType>amazon_s3</storageType>
<userLogin>............</userLogin>
<userPassword>...........................</userPassword>
</storageFolder>
</v2:updateStorageFolder>
</soapenv:Body>
</soapenv:Envelope>
Response:
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:updateStorageFolderResponse 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/>
<emailTls>false</emailTls>
<exportTarget>true</exportTarget>
<exportTargetEveryone>false</exportTargetEveryone>
<id>25</id>
<name>Verba updated Storage Folder</name>
<path>amazon_s3</path>
<port>22</port>
<serverName>eu-west-1</serverName>
<snaplockVolume/>
<sourceId/>
<storageType>amazon_s3</storageType>
<userLogin>............</userLogin>
<userPassword>...........................</userPassword>
</storageFolder>
</return>
</ns2:updateStorageFolderResponse>
</S:Body>
</S:Envelope>
Â
Â