UpdateStoragePolicy (v2)
- Kiss, Mate
Owned by Kiss, Mate
Jul 31, 2018
Loading data...
Overview
Updates a Storage Policy.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 |
storagePolicy |  StoragePolicy | Specifies the updated Storage Policy | Mandatory |
Response
Parameters of the API response:
Parameter | Type | Description |
---|---|---|
return | Status | Possible return values:
|
storagePolicy | StoragePolicy |  |
Examples
Â
 Example UpdateStoragePolicy transaction.
Example UpdateStoragePolicy 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:updateStoragePolicy> <token>2Q14vHt8txwHZZeVGuZuMVuP6Czgq0cX</token> <storagePolicy> <id>1038</id> <action>export</action> <callFilter>WHERE section.owner_eid = '0000'</callFilter> <customSql>false</customSql> <decrypt>1</decrypt> <eid>0000</eid> <enabled>1</enabled> <engineId></engineId> <firstTranscode>0</firstTranscode> <format></format> <keepCdr>1</keepCdr> <languageId></languageId> <moveToRecycleBin>0</moveToRecycleBin> <name>Test Data Retention</name> <olderThanMinutes>0</olderThanMinutes> <olderThanYears>0</olderThanYears> <onlyForArchived>0</onlyForArchived> <priority>34</priority> <storageFolder> <id>2</id> </storageFolder> </storagePolicy> </v2:updateStoragePolicy> </soapenv:Body> </soapenv:Envelope> Response: <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:updateStoragePolicyResponse xmlns:ns2="http://v2.provisioning.ws.web.verba.com/"> <return> <status> <statusCode>OK</statusCode> </status> <storagePolicy> <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/> <id>1038</id> <keepCdr>true</keepCdr> <languageId/> <moveToRecycleBin>false</moveToRecycleBin> <name>Test Data Retention</name> <olderThanMinutes>0</olderThanMinutes> <olderThanYears>0</olderThanYears> <onlyForArchived>false</onlyForArchived> <priority>34</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>AKIAIDR3I26OLTLTJVKA</userLogin> <userPassword>HR3Q74zh93GiU/T0FTFm0syhdfZereaIVLaZxuDN/drsOKVb2CuUBjoK8LeDn0ab</userPassword> </storageFolder> </storagePolicy> </return> </ns2:updateStoragePolicyResponse> </S:Body> </S:Envelope>
Â
Â