UpdateStorageFolder (v3)

Overview

Updates a Storage Folder.

The function is available as a Web Service request.

Request

Parameters of the API request:


ParameterType

Description

Requirements
tokenStringAPI authentication tokenMandatory
storageFolderStorageFolderUpdated Storage Folder informationMandatory

Response

Parameters of the API response:

ParameterType

Description

returnStatus

Possible return values:

    • OK
    • ERROR_GENERAL
    • ERROR_ILLEGAL_ARGUMENT
    • ERROR_UNAUTHORIZED
storageFolder StorageFolder

Examples


 Example UpdateStorageFolder transaction.
Example UpdateStorageFolder transaction.
Request:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v3="http://v3.provisioning.ws.web.verba.com/">
   <soapenv:Header/>
   <soapenv:Body>
      <v3: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>
      </v3:updateStorageFolder>
   </soapenv:Body>
</soapenv:Envelope>

Response:

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
   <S:Body>
      <ns2:updateStorageFolderResponse xmlns:ns2="http://v3.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>