ListStoragePoliciesByEid (v2)

Overview

Lists Storage Policies by eid.

The function is available as a Web Service request.

Request

Parameters of the API request:

ParameterType

Description

Requirements
tokenStringAPI authentication tokenMandatory
eidStringStorage Policy eid filterMandatory

Response

Parameters of the API response:

ParameterType

Description

statusStatus

Possible return values:

    • OK
    • ERROR_GENERAL
    • ERROR_ILLEGAL_ARGUMENT
    • ERROR_UNAUTHORIZED
storagePoliciesList<storagePolicies> 

Examples

 

 Example ListStoragePoliciesByEid transaction.
Example ListStoragePoliciesByEid 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:listStoragePoliciesByEid>
         <token>E4d4Amg764HUz1rjRKfg0acE0qmdjoas</token>
         <eid>0000</eid>
      </v2:listStoragePoliciesByEid>
   </soapenv:Body>
</soapenv:Envelope>

Response:

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
   <S:Body>
      <ns2:listStoragePoliciesByEidResponse xmlns:ns2="http://v2.provisioning.ws.web.verba.com/">
         <return>
            <status>
               <statusCode>OK</statusCode>
            </status>
            <storagePolicies>
               <action>export</action>
               <callFilter>WHERE section.owner_eid = '0000'</callFilter>
               <customSql>false</customSql>
               <decrypt>true</decrypt>
               <eid>0000</eid>
               <enabled>false</enabled>
               <firstTranscode>false</firstTranscode>
               <id>1020</id>
               <keepCdr>false</keepCdr>
               <moveToRecycleBin>false</moveToRecycleBin>
               <name>AAA-TSM-Policy</name>
               <olderThanMinutes>0</olderThanMinutes>
               <olderThanYears>1</olderThanYears>
               <onlyForArchived>false</onlyForArchived>
               <priority>180</priority>
               <storageFolder>
                  <certPublic/>
                  <eid>0000</eid>
                  <emailTls>false</emailTls>
                  <exportTarget>true</exportTarget>
                  <exportTargetEveryone>true</exportTargetEveryone>
                  <id>17</id>
                  <name>AAA-TSM</name>
                  <path>fileSpace</path>
                  <storageType>tsm</storageType>
                  <userLogin/>
                  <userPassword>...................</userPassword>
               </storageFolder>
            </storagePolicies>
            <storagePolicies>
               <action>export</action>
               <callFilter>WHERE section.owner_eid = '0000'</callFilter>
               <customSql>false</customSql>
               <decrypt>true</decrypt>
               <eid>0000</eid>
               <enabled>false</enabled>
               <firstTranscode>false</firstTranscode>
               <id>1015</id>
               <keepCdr>false</keepCdr>
               <moveToRecycleBin>false</moveToRecycleBin>
               <name>test</name>
               <olderThanMinutes>0</olderThanMinutes>
               <olderThanYears>0</olderThanYears>
               <onlyForArchived>false</onlyForArchived>
               <priority>140</priority>
               <storageFolder>
                  <certPublic/>
                  <eid>0000</eid>
                  <emailFrom>info@verbalabs.com</emailFrom>
                  <emailTls>true</emailTls>
                  <exportTarget>true</exportTarget>
                  <exportTargetEveryone>true</exportTargetEveryone>
                  <id>14</id>
                  <name>smtp test1</name>
                  <path>olah@verba.com</path>
                  <port>465</port>
                  <serverName>smtp.gmail.com</serverName>
                  <storageType>smtp</storageType>
                  <userLogin>olaho@verba.com</userLogin>
                  <userPassword>...................</userPassword>
               </storageFolder>
            </storagePolicies>
            <storagePolicies>
               <action>export</action>
               <callFilter>WHERE section.owner_eid = '0000'</callFilter>
               <customSql>false</customSql>
               <decrypt>true</decrypt>
               <eid>0000</eid>
               <enabled>true</enabled>
               <engineId/>
               <firstTranscode>false</firstTranscode>
               <format>mp3</format>
               <id>1036</id>
               <keepCdr>true</keepCdr>
               <languageId/>
               <moveToRecycleBin>false</moveToRecycleBin>
               <name>Test Data Retention</name>
               <olderThanMinutes>0</olderThanMinutes>
               <olderThanYears>0</olderThanYears>
               <onlyForArchived>false</onlyForArchived>
               <priority>33</priority>
               <storageFolder>
                  <certPublic/>
                  <eid>0000</eid>
                  <emailTls>false</emailTls>
                  <exportTarget>false</exportTarget>
                  <exportTargetEveryone>true</exportTargetEveryone>
                  <id>2</id>
                  <name>Amazon S3 TEST</name>
                  <path>verbatest</path>
                  <serverName>eu-west-1</serverName>
                  <storageType>amazon_s3</storageType>
                  <userLogin>...................</userLogin>
                  <userPassword>......................................</userPassword>
               </storageFolder>
            </storagePolicies>
            <storagePolicies>
               <action>upload</action>
               <callFilter>WHERE section.owner_eid = '0000'
  AND section.source_caller_id = 'xxx'</callFilter>
               <customSql>false</customSql>
               <decrypt>true</decrypt>
               <eid>0000</eid>
               <enabled>true</enabled>
               <firstTranscode>false</firstTranscode>
               <format>pcm16</format>
               <id>1022</id>
               <keepCdr>false</keepCdr>
               <moveToRecycleBin>false</moveToRecycleBin>
               <name>test-upload</name>
               <olderThanMinutes>0</olderThanMinutes>
               <olderThanYears>0</olderThanYears>
               <onlyForArchived>false</onlyForArchived>
               <priority>200</priority>
               <storageFolder>
                  <certPublic/>
                  <eid>0000</eid>
                  <emailTls>false</emailTls>
                  <exportTarget>false</exportTarget>
                  <exportTargetEveryone>true</exportTargetEveryone>
                  <id>18</id>
                  <name>mr-for-upload</name>
                  <path>c:\xyz</path>
                  <port>20111</port>
                  <serverName>mr</serverName>
                  <storageType>mr</storageType>
                  <userLogin/>
                  <userPassword>...................</userPassword>
               </storageFolder>
            </storagePolicies>
            <storagePolicies>
               <action>export</action>
               <callFilter>WHERE section.owner_eid = '0000'</callFilter>
               <customSql>false</customSql>
               <decrypt>true</decrypt>
               <eid>0000</eid>
               <enabled>false</enabled>
               <firstTranscode>false</firstTranscode>
               <id>1014</id>
               <keepCdr>false</keepCdr>
               <moveToRecycleBin>false</moveToRecycleBin>
               <name>testy</name>
               <olderThanMinutes>0</olderThanMinutes>
               <olderThanYears>0</olderThanYears>
               <onlyForArchived>false</onlyForArchived>
               <priority>130</priority>
               <storageFolder>
                  <certPublic/>
                  <eid>0000</eid>
                  <emailFrom>info@verba.com</emailFrom>
                  <emailTls>true</emailTls>
                  <exportTarget>false</exportTarget>
                  <exportTargetEveryone>true</exportTargetEveryone>
                  <id>13</id>
                  <name>Kakimanó</name>
                  <path>olaho@verba.com</path>
                  <port>465</port>
                  <serverName>smtp.gmail.com</serverName>
                  <storageType>smtp</storageType>
                  <userLogin>olaho@verba.com</userLogin>
                  <userPassword>...................</userPassword>
               </storageFolder>
            </storagePolicies>
            <storagePolicies>
               <action>upload</action>
               <callFilter>WHERE section.owner_eid = '0000'</callFilter>
               <customSql>false</customSql>
               <decrypt>true</decrypt>
               <eid>0000</eid>
               <enabled>false</enabled>
               <firstTranscode>false</firstTranscode>
               <format>pcm16</format>
               <id>1006</id>
               <keepCdr>false</keepCdr>
               <moveToRecycleBin>false</moveToRecycleBin>
               <name>upload to mr</name>
               <olderThanMinutes>0</olderThanMinutes>
               <olderThanYears>0</olderThanYears>
               <onlyForArchived>false</onlyForArchived>
               <priority>50</priority>
               <storageFolder>
                  <certPublic/>
                  <eid>0000</eid>
                  <emailTls>false</emailTls>
                  <exportTarget>false</exportTarget>
                  <exportTargetEveryone>true</exportTargetEveryone>
                  <id>10</id>
                  <name>MR1</name>
                  <path>\\MR\SHARE</path>
                  <storageType>nas</storageType>
                  <userLogin>verbalabs\svc_storage1</userLogin>
                  <userPassword>...................</userPassword>
               </storageFolder>
            </storagePolicies>
         </return>
      </ns2:listStoragePoliciesByEidResponse>
   </S:Body>
</S:Envelope>