Update a Edge Device

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

Info Note

API TYPE: PUT
End Point: PUT /edgedevice/update
Description: To Update a Edge Device

Request (Update a Edge Device)

02/10/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"
  }
}

Response (Update a Edge Device)

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



{
  "data": [
    {}
  ],
  "metadata": {
    "fileCodeUuid": "string",
    "orgUuid": "string",
    "userUuid": "string"
  },
  "statusCode": "OK"
}

ErrorCode (Update a Edge Device)

02/14/2020 | 2 minutes to read

HTTP Status Code Reason
200 We received the request and created Successfully
200 CCP-DM-006| Error while Creating/Updating edge device
200 CCP-DM-003| Edge - Device Data Not Found
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

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