Push FlowJSON

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

Info Note

API TYPE: POST
End Point: POST /edgedevice/push
Description: Push FlowJSON

Request (Push FlowJSON)

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 (Push FlowJSON)

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



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

ErrorCode (Push FlowJSON)

02/14/2020 | 2 minutes to read

HTTP Status Code Reason
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