IotHub Nouvenn
  1. Services
IotHub Nouvenn
  • API
    • TALQ
      • Device Class
        • Create a Talq Device Class
        • Update Talq Device Class
        • Delete a Talq Device Class
        • Update a Talq Device Class
      • Device
        • Create a Talq Device
        • List Talq Devices
        • Modify a Talq Device
        • Update Talq Devices
        • Delete a Talq Device
        • Get a Talq Device
        • Modify a Talq Device patch
        • Update a Talq Device
        • Get a Talq Device Function
        • Get a Talq Device Attribute
      • Services
        • Create a Talq Service
          POST
      • Group
        • List Talq Groups
        • Get a Talq Group
  • Docs TALQ
    • Visão Geral do Projeto
    • Processo de Inicialização - Bootstrap Process
    • API TALQ
  1. Services

Create a Talq Service

POST
/talq/services
Creates a list of TALQ services

Request

Query Params

Body Params application/json

Example
[
    {
        "name": "GroupManagementService",
        "maximumNumberOfGroups": 10,
        "maximumGroupSize": 10
    },
    {
        "maximumDataLogs": 10,
        "supportedModes": [
            "EventRecordingMode",
            "PeriodicRecordingMode",
            "ImmediateReportingMode",
            "ScheduledReportingMode"
        ],
        "samplingAccuracy": 5.0,
        "minCollectionTime": 100000,
        "minCollectionTimePerAttribute": 100000.0,
        "loggableAttributes": [
            {
                "class": "cls:Lamp"
            },
            {
                "class": "cls:Gateway"
            }
        ],
        "samplingPeriodSupported": true,
        "supportedTypes": [],
        "name": "DataCollectService"
    },
    {
        "name": "ControlService",
        "supportedTypes": [
            "AbsoluteActivePeriod",
            "AstroClockActivePeriod",
            "SensorActivePeriod",
            "AstroAndSensorActivePeriod",
            "ExternalControlEffect",
            "FixedControlEffect",
            "ccDay",
            "ccDate"
        ],
        "maximumCalendars": 10,
        "maximumPrograms": 10,
        "maxSwitchPointsPerProgram": 10,
        "maxActivePeriodsPerProgram": 2,
        "dayOffset": 0,
        "ccDateSupport": "full",
        "ccDaySupport": "full"
    },
    {
        "commissioningSupported": true,
        "devicesPaginationSupported": false,
        "supportedProfiles": [
            "lighting"
        ],
        "name": "ConfigurationService"
    }
]

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://iot.exati.com.br/talq/services?clientAddress={{gateway-uuid}}' \
--header 'Content-Type: application/json' \
--data-raw '[
    {
        "name": "GroupManagementService",
        "maximumNumberOfGroups": 10,
        "maximumGroupSize": 10
    },
    {
        "maximumDataLogs": 10,
        "supportedModes": [
            "EventRecordingMode",
            "PeriodicRecordingMode",
            "ImmediateReportingMode",
            "ScheduledReportingMode"
        ],
        "samplingAccuracy": 5.0,
        "minCollectionTime": 100000,
        "minCollectionTimePerAttribute": 100000.0,
        "loggableAttributes": [
            {
                "class": "cls:Lamp"
            },
            {
                "class": "cls:Gateway"
            }
        ],
        "samplingPeriodSupported": true,
        "supportedTypes": [],
        "name": "DataCollectService"
    },
    {
        "name": "ControlService",
        "supportedTypes": [
            "AbsoluteActivePeriod",
            "AstroClockActivePeriod",
            "SensorActivePeriod",
            "AstroAndSensorActivePeriod",
            "ExternalControlEffect",
            "FixedControlEffect",
            "ccDay",
            "ccDate"
        ],
        "maximumCalendars": 10,
        "maximumPrograms": 10,
        "maxSwitchPointsPerProgram": 10,
        "maxActivePeriodsPerProgram": 2,
        "dayOffset": 0,
        "ccDateSupport": "full",
        "ccDaySupport": "full"
    },
    {
        "commissioningSupported": true,
        "devicesPaginationSupported": false,
        "supportedProfiles": [
            "lighting"
        ],
        "name": "ConfigurationService"
    }
]'

Responses

🟢201Created
application/json
The services were successfully created.
Body

Example
[
    {
        "name": "ConfigurationService",
        "events": [
            {
                "type": "abnormalNoiseDetected",
                "description": "string"
            }
        ]
    }
]
🟠400Bad Request
🟠403Forbidden
🟠404Record Not Found
🟠409409
🟠422Parameter Error
Modified at 2025-07-30 17:38:23
Previous
Get a Talq Device Attribute
Next
List Talq Groups