CreateChannelSchema
Create a channel schema
POST
/
api
/v1
/channel-schemas
Request Body
application/json
RequiredThe request for a call to ChannelSchemaService_CreateChannelSchema
.
component
string
The name of the component (case-insensitive).
channel
Requiredstring
The name of the channel (case-insensitive).
unit
string
dataType
Requiredstring
Default:
"CHANNEL_DATA_TYPE_UNSPECIFIED"
Value in: "CHANNEL_DATA_TYPE_UNSPECIFIED" | "CHANNEL_DATA_TYPE_DOUBLE" | "CHANNEL_DATA_TYPE_STRING" | "CHANNEL_DATA_TYPE_ENUM" | "CHANNEL_DATA_TYPE_BIT_FIELD" | "CHANNEL_DATA_TYPE_BOOL" | "CHANNEL_DATA_TYPE_FLOAT" | "CHANNEL_DATA_TYPE_INT_32" | "CHANNEL_DATA_TYPE_UINT_32" | "CHANNEL_DATA_TYPE_INT_64" | "CHANNEL_DATA_TYPE_UINT_64"
enumTypes
array<object>
bitFieldElements
array<object>
assetName
Requiredstring
The name of the asset (case-insensitive).
organizationId
string
This field is optional if the caller belongs to a single organization.
A successful response.