IotHub TALQ
  1. Services
IotHub TALQ
  • API
    • Guia
      • Vendor
        • Create a Guia Vendor
        • List Guia Vendors
        • Modify a Guia Vendor
        • Modify a Guia Photo Vendor
      • Devices
        • List Guia Devices
        • Get a Guia Device
        • Get a Guia Device Attribute History
        • List Guia Gateways
        • Modify devices
        • Modify device
        • Modify device function
        • Modify device - Set External Id
        • Modify device function attribute
        • Modify a Guia Change Asset Device
        • Create a Guia Device From Identified Material
        • Create a Guia Device Multiple From Identified Material
      • Device classes
        • List Guia Device Classes
        • Get a Guia Device Class
        • List Guia Device Class Functions
      • Functions
        • List Guia Functions
        • List Guia Function Attributes
        • List Guia Function Types
      • Attributes
        • List Guia Attributes get
        • List Guia Function Attributes
      • Groups
        • Create a Guia Group
        • List Guia Groups
        • Get a Guia Group
        • Get Count
        • Get a Guia Group Member Count
        • Update Groups
        • Update a Guia Group
        • Update a Guia Group Member
        • Delete a Guia Group
        • Delete a Guia Group Member
    • 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
    • Google Pub
      • Sub
        • List Pubsub Failed Messages
        • Get a Pubsub Failed Message
        • Delete a Pubsub Failed Message
        • Create a Pubsub Guia Device Multiple Devices Partial Update
        • Create a Pubsub Guia Device Partial Device Update
        • Create a Pubsub Guia Device Attribute Value Update
        • Create a Pubsub Guia Device Function Update
        • Create a Pubsub Guia Device Set External Id
        • Create a Pubsub Vendor Dispatcher Dispatch
    • Clients
      • Create a Client
      • Modify a Client Synchronize
    • Vendors
      • Create a Vendor
      • List Vendors
      • Create a Vendor Client Service Cod
      • Get a Vendor Client Service Cod
      • Delete a Vendor Client Service Cod
    • Health Check
      • List Health
  • Docs TALQ
    • Visão Geral do Projeto
    • Processo de Inicialização - Bootstrap Process
    • API TALQ
    • API GUIA
    • Tratamento de Erros
    • Configurações da instância
    • Sobreposição de comandos
  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