Activate and Deactivate License By UUID

02/12/2020 | Less than 1 minute to read

Info Note

API TYPE: PUT
End Point: PUT /license/{uuid}/{action}
Description: Activate and Deactivate License By UUID Identifier

Request (Activate and Deactivate License By UUID)

02/11/2020 | 3 minutes to read


Parameters
uuid, action
Parameter Value Description DataType
uuid required UUID Format String
action required String String


{
  "data": [
    {
      "attributeName": "string",
      "createOn": "yyyy-MM-dd'T'HH:mm:ss*SSSZZZZ",
      "licenseDetails": {
        "active": true,
        "componentDetails": [
          {}
        ],
        "createOn": "yyyy-MM-dd'T'HH:mm:ss*SSSZZZZ",
        "license": {
          "activateOn": "yyyy-MM-dd'T'HH:mm:ss*SSSZZZZ",
          "active": true,
          "createdOn": "yyyy-MM-dd'T'HH:mm:ss*SSSZZZZ",
          "details": {},
          "licenseFrom": "yyyy-MM-dd'T'HH:mm:ss*SSSZZZZ",
          "licenseKey": "string",
          "licenseTo": "yyyy-MM-dd'T'HH:mm:ss*SSSZZZZ",
          "orgUuid": "string",
          "status": "string",
          "updateOn": "yyyy-MM-dd'T'HH:mm:ss*SSSZZZZ",
          "uuid": "string"
        },
        "provisioned": 0,
        "remaining": 0,
        "remainingDays": 0,
        "total": 0,
        "type": "string",
        "updateOn": "yyyy-MM-dd'T'HH:mm:ss*SSSZZZZ",
        "uuid": "string"
      },
      "serialNumber": "string",
      "updatedOn": "yyyy-MM-dd'T'HH:mm:ss*SSSZZZZ",
      "uuid": "string",
      "value": "string"
    }
  ],
  "metadata": {
    "fileCodeUuid": "string",
    "orgUuid": "string",
    "userUuid": "string"
  }
}

Response (Activate and Deactivate License By UUID)

02/11/2020 | 2 minutes to read



{
  "data": [
    {
      "createdOn": "yyyy-MM-dd'T'HH:mm:ss*SSSZZZZ",
      "edgeDeviceName": "string",
      "edgeFlows": [
        {
          "createdOn": "yyyy-MM-dd'T'HH:mm:ss*SSSZZZZ",
          "flowId": "string",
          "flowJSON": "string",
          "flowName": "string",
          "isActive": true,
          "isDisabled": true,
          "longDescription": "string",
          "modifiedOn": "yyyy-MM-dd'T'HH:mm:ss*SSSZZZZ	",
          "shortDescription": "string",
          "uuid": "string"
        }
      ],
      "externalReferences": [
        {
          "createdOn": "yyyy-MM-dd'T'HH:mm:ss*SSSZZZZ	",
          "entityTypeCodeIdentifier": "string",
          "entityTypeUUID": "string",
          "isActive": true,
          "modifiedOn": "yyyy-MM-dd'T'HH:mm:ss*SSSZZZZ	",
          "password": "string",
          "subType": "string",
          "userName": "string",
          "uuid": "string"
        }
      ],
      "ipAdress": "string",
      "isActive": true,
      "isDisabled": true,
      "location": "string",
      "longDescription": "string",
      "modifiedOn": "yyyy-MM-dd'T'HH:mm:ss*SSSZZZZ	",
      "noOfdevices": 0,
      "orgUUID": "string",
      "port": 0,
      "serialNumber": "string",
      "shortDescription": "string",
      "userUUID": "string",
      "uuid": "string"
    }
  ],
  "metadata": {
    "fileCodeUuid": "string",
    "orgUuid": "string",
    "userUuid": "string"
  },
  "statusCode": "OK"
}

ErrorCode (Activate and Deactivate License By UUID)

02/11/2020 | 3 minutes to read

HTTP Status Code Reason Response Model Headers
200 We received the request and created Successfully    
400 CCP-HTTP-003 | Request method not supported    
401 You are not authorized to view the resource    
403 Accessing the resource you were trying to reach is forbidden    
404 The resource you were trying to reach is not found    

©2024 Developer.CSensorNet.com. All rights reserved | Powered by www.clovity.com