Get All Devices or Templates

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

Info Note

API TYPE: GET
End Point: GET /edge/{edgeUuid}/all-devices/{type}/{pageNo}
Description: Get all the devices or all the template by pagination

HTTP Header (Get All Devices or Templates)

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

Key Value  Description  DataType 
time_zone Asia/Kolkata Required Specific Timezone String

Request (Get All Devices or Templates)

02/07/2020 | 2 minutes to read


Parameters
edgeUuid, type, pageNo, pageSize
Parameter Value Description DataType
edgeUuid required UUID Format String
type required String String
pageNo required Integer Integer
pageSize required Integer Integer

Response (Get All Devices or Templates)

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


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

ErrorCode (Get All Devices or Templates)

02/14/2020 | 3 minutes to read

HTTP Status Code Reason
200 We received the request and created Successfully
200 CCP-DM-002 | Error while fetching device Data
200 CCP-DM-002 | Error while fetching device Data
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
406 CCP-BV-001 | Page no should not be less than zero
406 CCP-BV-001 | Page size must be greater than zero

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