Update Channel for Setting Measurement Points

Update the channel for setting measurement points.

Request Format

PUT http://{apigw-address}/dataService/setMeasurepointChannels/{setMeasurepointChannelId}?orgId={}

Request Parameters (URI)

Request parameters (URI)

Name

Location (Path/Query)

Required or not

Data type

Description

setMeasurepointChannelId

Path

True

String

Measurement point setting channel ID

orgId

Query

Yes

String

Organization ID which the asset belongs to. How to get Organization ID>>

Request Parameters (Body)

data object

Name

Required or not

Data type

Description

setMeasurepointChannelId

True

String

ID of the channel for setting measurement points. It must begin with DATASVC.SET.. Supports upper- and lower-case letters, numbers, underline (_), period (.) and hyphen (-). No more than 60 bytes.

desc

False

String

Channel description

Response Parameters

Response parameters

Name

Data type

Description

status

Int

Status code

msg

String

Response message

submsg

String

Response sub-message

data

Object

Response data object, the structure of which is in the table below

data object

Name

Data type

Description

setMeasurepointChannelId

String

ID of the channel for setting measurement points.

desc

String

Channel description

Samples

Request Sample

PUT http://{apigw-address}/dataService/setMeasurepointChannels/{setMeasurepointChannelId}?orgId=o15434988531231
{
   "setMeasurepointChannelId":"DATASVC.SET.aaa",
   "desc":"aaaaaaa"
}

Response Sample

{
   "status":0,
   "msg":"Success",
   "submsg":null,
   "data":{
      "setMeasurepointChannelId":"DATASVC.SET.aaa",
      "desc":"aaaaaa"
   }
}