Licensing:Post License

Search (SHIFT+S)




New in this release

Post License

POST /license

Adds specified license.


Required Roles

  • SYSTEM_ADMIN


Request Payload

All parameters are required unless otherwise stated.

Field Description Type Notes
<license>
<license_feature>     0-* Elements
<serial> License serial String
<version> License version String
<issued_date> License issue date String
<expiration_date> License expiration date String
<model> License model String
<product> Product name String
<site_id> License site id String
<issuer> License issuer String
<notice> License notice String
<licensed_ind> Flag which indicates if the application contains a license file..whether expired or not. Boolean
<expired_ind> Method that returns whether or not the license is expired. Boolean
<license_id_indicator> Indicator to show whether license id was generated as LAC or UID. String
<error_message> Error message describing why license is not valid. String
<storage_capacity_unit> Storage capacity units. String
<storage_capacity> Storage capacity String
<trial_license_ind> True if it is trial license, false otherwise Boolean Valid Values:
  •  true
  •  false
</license_feature>      
<license_text> License text String
</license>

Response Body

Response indicating Success or Failure to add license


Examples

Request
POST https://192.168.0.0:4443/license HTTP/1.1

Content-Type: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<license>
    <license_feature>
        <issued_date>01/10/2014</issued_date>
        <expired_ind>false</expired_ind>
        <issuer>EMC</issuer>
        <license_id_indicator>U</license_id_indicator>
        <licensed_ind>true</licensed_ind>
        <model>ViPR_ECS</model>
        <notice>ACTIVATED TO License Site Number: PTA06JUN20131086059</notice>
        <product>PXTYD1DZK59Y4C</product>
        <serial>PXTYD1DZK59Y4C</serial>
        <site_id>UNKNOWN</site_id>
        <storage_capacity>TB</storage_capacity>
        <trial_license_ind>false</trial_license_ind>
        <version>2.0</version>
    </license_feature>
   <license_text>LiceneText</license_text>
</license>
Response
HTTP/1.1 200 OK
Content-Type: application/xml
Notes: