Save Components

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

Info Note

API TYPE: PUT
End Point: PUT /license/{licenseUuid}/edge/{edgeUuid}
Description: For Saving New Components

Request (Save Components)

02/11/2020 | 3 minutes to read


Parameters
licenseUuid, edgeUuid
Parameter Value Description DataType
licenseUuid required UUID Format String
edgeUuid required UUID Format String


{
  "data": [
    {
      "attributeName": "string",
      "createOn": "2020-02-11T05:00:54.009Z",
      "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 (Save Components)

02/11/2020 | 2 minutes to read


{
  "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"
  },
  "statusCode": "OK"
}

ErrorCode (Save Components)

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