The client must send a parameter Accept-Language in every request header to receive localized response. Without this parameter, or in case of unsupported localization, English text will be returned
| arcEntityId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: arcEntityId=ARC_CLOUD:00008808 Cloud entity id of ARC |
| first | integer (Limit) >= 1 Example: first=50 Limits maximum of returned items, can be used together with cursor |
| after | string (Cursor) Example: after=WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd Cursor value, can be used together with limits value |
| last | integer (Limit) >= 1 Example: last=50 Limits maximum of returned items, can be used together with cursor |
| before | string (Cursor) Example: before=WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd Cursor value, can be used together with limits value |
| serialNumber | string (SERIAL_NUMBER_HEX) ^[A-F\d]{8} Example: serialNumber=F9301214 Serial number in HEX string |
| registrationKey | string (REGISTRATION_KEY) ^([0-9A-HJKMNP-Za-hjkmnp-z]{5}-[0-9A-HJKMNP-Z... Example: registrationKey=LAS6D-U2VBG-UHX65 Registration key |
| customerName | string (SearchString) >= 3 characters Example: customerName=jand Name of customer (LIKE) |
| devicePhoneNumber | string (SearchString) >= 3 characters Example: devicePhoneNumber=jand Device phone number (LIKE) |
| objectType[] | Array of strings (ObjectTypeParameter) non-empty unique Items Enum: "ATHOS" "ATHOS2" "AURA" "AZOR" "CU07" "CU07A" "CU08" "FUTURA" "FUTURA2" "GD04K" … 10 more Example: objectType[]=JA100&objectType[]=JA100F&objectType[]=JA100S&objectType[]=JA100M Object type |
| objectNumber | string (ObjectNumber) ^[\dA-F]{4,8}$ Example: objectNumber=F13D ARC object number (EQUAL) |
| distributorInstallerId | integer <int64> (DB_INCREMENT_ID) >= 1 Example: distributorInstallerId=242566 Id of distributor installer company (EQUAL) |
| distributorId | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: distributorId=DISTRIBUTOR_DEFAULT:0012 Id of distributor |
| endUserLogin | string (SearchString) >= 3 characters Example: endUserLogin=jand Login name of end user (LIKE) |
| objectId | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: objectId=OBJECT_JA100F:242566 Id of object |
| withLabels[] | Array of strings (ObjectArcLabels) non-empty unique Items Enum: "NEW_OBJECT" "NEW_CAMERA" "CONNECTED_CAMERA" "ARC_TRANSFER_DISABLED" "REQUESTED_CAMERA" "CONFIGURATION_REQUIRED" Example: withLabels[]=NEW_OBJECT&withLabels[]=NEW_CAMERA List of wanted active labels |
| arcTemplateSetId | number (IntId) >= 1 ID of ARC template set |
required | Array of objects (ListOfObjects) >= 0 items unique | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "items": [
- {
- "node": {
- "objectId": "OBJECT_JA100F:242566",
- "timeZone": "Europe/Prague",
- "objectNumber": "F13D",
- "installer": {
- "distributorCompanyId": 242566,
- "name": "Alarm Systems inc.",
- "email": "tomas.janda@jablotron.cz",
- "phoneNumber": "+420739259931",
}, - "distributor": {
- "distributorId": "DISTRIBUTOR_DEFAULT:0012",
- "name": "Company s.r.o.",
- "email": "tomas.janda@jablotron.cz",
- "phoneNumber": "+420739259931",
}, - "arcConnectedDate": "2019-08-24T14:15:22Z",
- "transferDisabledDate": "2019-08-24T14:15:22Z",
- "hasActiveCamera": false,
- "device": {
- "deviceId": "DEVICE_JACLOUDSN:F9100013",
- "registrationKey": "LAS6D-U2VBG-UHX65",
- "sim": {
- "phoneNumber": "+420739259931",
- "simCardId": "SIM_SDC:46c41735-c931-4bf0-a03a-f39275beea8"
}, - "family": "JA100F",
- "model": "JA107K",
- "officialName": "JA-101K LAN 3G",
- "firmware": {
- "date": "2019-08-24T14:15:22Z",
- "version": "MD6112.07.1.2dbg"
}, - "lastCommunicationChannel": "IP"
}, - "labels": [
- "NEW_OBJECT"
], - "template": {
- "id": 1,
- "name": "SIA with retry"
}, - "customer": {
- "name": "Company s.r.o."
}, - "owner": {
- "userLogin": "tomas.janda@jablotron.cz"
}
}, - "cursor": "WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd"
}
], - "pageInfo": {
- "hasNextPage": true,
- "hasPreviousPage": true,
- "startCursor": "WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd",
- "endCursor": "WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd"
}
}| arcEntityId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: arcEntityId=ARC_CLOUD:00008808 Cloud entity id of ARC |
| serialNumber | string (SERIAL_NUMBER_HEX) ^[A-F\d]{8} Example: serialNumber=F9301214 Serial number in HEX string |
| registrationKey | string (REGISTRATION_KEY) ^([0-9A-HJKMNP-Za-hjkmnp-z]{5}-[0-9A-HJKMNP-Z... Example: registrationKey=LAS6D-U2VBG-UHX65 Registration key |
| customerName | string (SearchString) >= 3 characters Example: customerName=jand Name of customer (LIKE) |
| devicePhoneNumber | string (SearchString) >= 3 characters Example: devicePhoneNumber=jand Device phone number (LIKE) |
| objectType[] | Array of strings (ObjectTypeParameter) non-empty unique Items Enum: "ATHOS" "ATHOS2" "AURA" "AZOR" "CU07" "CU07A" "CU08" "FUTURA" "FUTURA2" "GD04K" … 10 more Example: objectType[]=JA100&objectType[]=JA100F&objectType[]=JA100S&objectType[]=JA100M Object type |
| objectNumber | string (ObjectNumber) ^[\dA-F]{4,8}$ Example: objectNumber=F13D ARC object number (EQUAL) |
| distributorInstallerId | integer <int64> (DB_INCREMENT_ID) >= 1 Example: distributorInstallerId=242566 Id of distributor installer company (EQUAL) |
| distributorId | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: distributorId=DISTRIBUTOR_DEFAULT:0012 Id of distributor |
| endUserLogin | string (SearchString) >= 3 characters Example: endUserLogin=jand Login name of end user (LIKE) |
| withLabels[] | Array of strings (ObjectArcLabels) non-empty unique Items Enum: "NEW_OBJECT" "NEW_CAMERA" "CONNECTED_CAMERA" "ARC_TRANSFER_DISABLED" "REQUESTED_CAMERA" "CONFIGURATION_REQUIRED" Example: withLabels[]=NEW_OBJECT&withLabels[]=NEW_CAMERA List of wanted active labels |
| arcTemplateSetId | number (IntId) >= 1 ID of ARC template set |
| csv required | string <base64> <application/csv> |
{- "csv": "string"
}| arcEntityId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: arcEntityId=ARC_CLOUD:00008808 Cloud entity id of ARC |
| objectIds[] | Array of strings (OBJECT_ENTITY) non-empty unique [ items^OBJECT_(\w+):([\d]+)$ ] Example: objectIds[]=OBJECT_JA100F:242566 List of object entities |
Objects attributes
| arcProcessState | string Enum: "PROCESSED" "UNPROCESSED" |
| arcProcessStateUpdateCount | integer <int32> >= 0 |
{- "arcProcessState": "PROCESSED"
}{- "arcProcessStateUpdateCount": 0
}| objectEntityId required | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: OBJECT_JA100F:242566 Cloud entity id of Object |
| objectId required | string (ObjectEntityId) ^OBJECT_(\w+):([\d]+)$ Example: "OBJECT_JA100F:242566" | ||||||||||||||||||||||||||||
| timeZone required | string (TimeZone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" … 409 more Example: "Europe/Prague" IANA timezone definition | ||||||||||||||||||||||||||||
| objectNumber required | string (ObjectNumber) ^[\dA-F]{4,8}$ Example: "F13D" | ||||||||||||||||||||||||||||
required | object | ||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
required | object (ArcDistributor) | ||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| arcConnectedDate required | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification | ||||||||||||||||||||||||||||
object (InstallerCompany) | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| transferDisabledDate | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification | ||||||||||||||||||||||||||||
| photoVerificationUrl | string <uri> (HttpUri) Example: "https://subdomain.domain.tld/path?query#anchor" URL of some resource | ||||||||||||||||||||||||||||
| videoVerificationUrl | string <uri> (HttpUri) Example: "https://subdomain.domain.tld/path?query#anchor" URL of some resource | ||||||||||||||||||||||||||||
| hasActiveCamera | boolean Default: false Object has registered any camera | ||||||||||||||||||||||||||||
| labels | Array of strings (ObjectArcLabels) non-empty unique Items Enum: "NEW_OBJECT" "NEW_CAMERA" "CONNECTED_CAMERA" "ARC_TRANSFER_DISABLED" "REQUESTED_CAMERA" "CONFIGURATION_REQUIRED" | ||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
object (CustomerAll) | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
Array of objects (EndUserAccessItem) non-empty unique | |||||||||||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||||||||||
{- "objectId": "OBJECT_JA100F:242566",
- "timeZone": "Europe/Prague",
- "objectNumber": "F13D",
- "installer": {
- "distributorCompanyId": 242566,
- "name": "Alarm Systems inc.",
- "email": "tomas.janda@jablotron.cz",
- "phoneNumber": "+420739259931",
}, - "distributor": {
- "distributorId": "DISTRIBUTOR_DEFAULT:0012",
- "name": "Company s.r.o.",
- "email": "tomas.janda@jablotron.cz",
- "phoneNumber": "+420739259931",
}, - "arcConnectedDate": "2019-08-24T14:15:22Z",
- "transferDisabledDate": "2019-08-24T14:15:22Z",
- "hasActiveCamera": false,
- "device": {
- "deviceId": "DEVICE_JACLOUDSN:F9100013",
- "registrationKey": "LAS6D-U2VBG-UHX65",
- "sim": {
- "phoneNumber": "+420739259931",
- "simCardId": "SIM_SDC:46c41735-c931-4bf0-a03a-f39275beea8"
}, - "family": "JA100F",
- "model": "JA107K",
- "officialName": "JA-101K LAN 3G",
- "firmware": {
- "date": "2019-08-24T14:15:22Z",
- "version": "MD6112.07.1.2dbg"
}, - "lastCommunicationChannel": "IP"
}, - "labels": [
- "NEW_OBJECT"
], - "template": {
- "id": 1,
- "name": "SIA with retry"
}, - "customer": {
- "name": "Company s.r.o.",
- "type": "COMPANY",
- "companyIdentificationNumber": "885255412",
- "taxIdentificationNumber": "CZ885255412",
- "personName": "Company s.r.o.",
- "personPhoneNumber": "+420739259931",
- "phoneNumber": "+420739259931",
- "email": "tomas.janda@jablotron.cz",
- "street": "Pod Houbou 15",
- "city": "Jablonec nad Nisou",
- "zipCode": "466 01",
- "alarmStreet": "Pod Houbou 15",
- "alarmCity": "Jablonec nad Nisou",
- "alarmZipCode": "466 01"
}, - "endUsersAccesses": [
- {
- "userLogin": "tomas.janda@jablotron.cz",
- "userId": "USER_<OEM_JABLOTRON:Jablotron>:52325",
- "role": "OWNER"
}
]
}| objectEntityId required | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: OBJECT_JA100F:242566 Cloud entity id of Object |
Object attributes
| arcProcessState | string Enum: "PROCESSED" "UNPROCESSED" |
| arcProcessStateUpdateCount | integer <int32> >= 0 |
{- "arcProcessState": "PROCESSED"
}{- "arcProcessStateUpdateCount": 0
}| objectEntityId required | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: OBJECT_JA100F:242566 Cloud entity id of Object |
Object setting action
| $type required | string Value: "ARC_TRANSFER" |
| enabled required | boolean Default: true |
| arcObjectNumber | string (ObjectNumber) ^[\dA-F]{4,8}$ Example: "F13D" Returned for action |
| requestId required | string (DeviceRequestId) >= 5 characters Example: "DCD-1254445521" Returns if an action was created in the device configuration manager (configuration download, reconfiguration ...) |
{- "$type": "ARC_TRANSFER",
- "enabled": true
}{- "arcObjectNumber": "F13D"
}| objectEntityId required | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: OBJECT_JA100F:242566 Cloud entity id of Object |
required | object | ||||||||||
| |||||||||||
object | |||||||||||
| |||||||||||
object | |||||||||||
| |||||||||||
object | |||||||||||
| |||||||||||
{- "distributor": {
- "name": "Company s.r.o.",
- "email": "tomas.janda@jablotron.cz",
- "phoneNumber": "+420739259931",
}, - "installer": {
- "name": "Company s.r.o.",
- "email": "tomas.janda@jablotron.cz",
- "phoneNumber": "+420739259931",
}, - "serviceOwner": {
- "email": "tomas.janda@jablotron.cz"
}, - "customer": {
- "name": "Company s.r.o.",
- "email": "tomas.janda@jablotron.cz",
- "phoneNumber": "+420739259931",
- "personName": "Company s.r.o.",
- "personPhoneNumber": "+420739259931"
}
}| objectEntityId required | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: OBJECT_JA100F:242566 Cloud entity id of Object |
Array of objects (CommonComponent) non-empty unique | |||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||
Array of objects (CommonComponent) non-empty unique | |||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||
Array of objects (PeripheralComponent) non-empty unique | |||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||
| lastConfigurationUpdateDate | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification | ||||||||||||||||||||
{- "sections": [
- {
- "id": "SECTION_<OBJECT_JA100F:12345>:1",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}, - "position": 0,
- "lastChangeDate": "2019-08-24T14:15:22Z"
}
], - "users": [
- {
- "id": "SECTION_<OBJECT_JA100F:12345>:1",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}, - "position": 0,
- "lastChangeDate": "2019-08-24T14:15:22Z"
}
], - "components": [
- {
- "id": "SECTION_<OBJECT_JA100F:12345>:1",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}, - "position": 0,
- "lastChangeDate": "2019-08-24T14:15:22Z",
- "model": "JA-150M"
}
], - "lastConfigurationUpdateDate": "2019-08-24T14:15:22Z"
}This endpoint is deprecated. Use arcUpdateObjectSettings with DOWNLOAD_CONFIGURATION action instead.
| objectEntityId required | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: OBJECT_JA100F:242566 Cloud entity id of Object |
| requestId required | string (DeviceRequestId) >= 5 characters Example: "DCD-1254445521" Returns if an action was created in the device configuration manager (configuration download, reconfiguration ...) |
{- "requestId": "DCD-1254445521"
}| objectEntityId required | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: OBJECT_JA100F:242566 Cloud entity id of Object |
Control action object
required | Array of SECTION_COMMAND (object) or ACTOR_COMMAND (object) or PERIPHERAL_COMMAND (object) or PICTURE_COMMAND (object) or DEVICE_CONFIGURATION (object) or DEVICE_STATUS (object) or DEVICE_EVENTS (object) or DEVICE_RESET (object) or CHECK_AUTHORIZATION (object) (ControlActions) non-empty unique List of wanted control actions | ||||||
Array (non-empty) One of
| |||||||
Array of objects (Authorizations) [ 1 .. 2 ] items unique Authorization data for control to identify the user on the device | |||||||
Array ([ 1 .. 2 ] items)
| |||||||
required | Array of SECTION_CONTROL_STATUS (object) or ACTOR_CONTROL_STATUS (object) or PERIPHERAL_CONTROL_STATUS (object) or PICTURE_CONTROL_STATUS (object) or DEVICE_CONFIGURATION_STATUS (object) or DEVICE_STATUS (object) or DEVICE_EVENTS (object) or DEVICE_RESET (object) or CHECK_AUTHORIZATION (object) (ComponentControlResponseStatus) non-empty unique | ||||||||||||||||||
Array (non-empty) One of
| |||||||||||||||||||
object (Meta) non-empty | |||||||||||||||||||
| |||||||||||||||||||
Array of SECTION_STATE (object) or ACTOR_STATE (object) or COMPONENT_STATE (object) (ControlResponseStates) non-empty unique | |||||||||||||||||||
Array (non-empty) One of
| |||||||||||||||||||
{- "authorizations": [
- {
- "type": "CODE",
- "value": "2*1234"
}
], - "controls": [
- {
- "componentId": "SECTION_<OBJECT_JA100F:242566>:1",
- "action": "ARM"
}
]
}{- "meta": {
- "firmware": "MD6112.05.1",
- "behavior": 55,
- "registrationKey": "L2ASM-ZSVD3-UULS8"
}, - "controls": [
- {
- "componentId": "SECTION_<OBJECT_JA100F:242566>:1",
- "status": "SUCCESS",
- "details": {
- "$type": "BLOCKING_COMPONENTS",
- "bypassable": false,
- "clientTimerSeconds": 8,
- "components": [
- "COMPONENT_<OBJECT_JA100F:242566>:25"
]
}
}
], - "states": [
- {
- "componentId": "SECTION_<OBJECT_JA100F:242566>:1",
- "state": "ARM",
- "name": "PIR Bedroom",
- "hasActiveAlarms": true,
- "canBeControlled": true
}
]
}| objectEntityId required | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: OBJECT_JA100F:242566 Cloud entity id of Object |
| first | integer (Limit) >= 1 Example: first=50 Limits maximum of returned items, can be used together with cursor |
| after | string (Cursor) Example: after=WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd Cursor value, can be used together with limits value |
| last | integer (Limit) >= 1 Example: last=50 Limits maximum of returned items, can be used together with cursor |
| before | string (Cursor) Example: before=WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd Cursor value, can be used together with limits value |
required | Array of objects (ListOfObjectLogs) >= 0 items unique | ||||||||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||||||||
required | object | ||||||||||||||||||||||
| |||||||||||||||||||||||
{- "items": [
- {
- "node": {
- "actionLogId": 1,
- "actionType": "CONFIGURATION_DOWNLOAD_REQUEST",
- "actionNameTk": "ObjectLog:Registration key modify",
- "logDate": "2019-08-24T14:15:22Z",
- "user": {
- "userLogin": "tomas.janda@jablotron.cz",
- "userId": "USER_<OEM_JABLOTRON:Jablotron>:52325"
}
}, - "cursor": "WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd"
}
], - "pageInfo": {
- "hasNextPage": true,
- "hasPreviousPage": true,
- "startCursor": "WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd",
- "endCursor": "WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd"
}
}| arcEntityId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: arcEntityId=ARC_CLOUD:00008808 Cloud entity id of ARC |
| objectsCount | boolean Default: false Include count of active objects under each company |
| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: "DISTRIBUTOR_DEFAULT:0012" |
| name required | string (CommonCompanyName) [ 1 .. 70 ] characters Example: "Company s.r.o." |
| objectsCount | integer <int32> >= 0 Example: "156" |
[- {
- "distributorId": "DISTRIBUTOR_DEFAULT:0012",
- "name": "Company s.r.o.",
- "objectsCount": 156
}
]| arcEntityId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: arcEntityId=ARC_CLOUD:00008808 Cloud entity id of ARC |
| distributorId | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: distributorId=DISTRIBUTOR_DEFAULT:0012 Id of distributor |
| objectsCount | boolean Default: false Include count of active objects under each company |
| installerCompanyName | string (NAME_OF_SUBJECT) [ 1 .. 70 ] characters Example: installerCompanyName=Company s.r.o. Name of installer company |
| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: "DISTRIBUTOR_DEFAULT:0012" |
| distributorInstallerId required | integer <int64> (DbId) >= 1 Example: "242566" |
| name required | string (CommonCompanyName) [ 1 .. 70 ] characters Example: "Company s.r.o." |
| objectsCount | integer <int32> >= 0 Example: "156" |
[- {
- "distributorId": "DISTRIBUTOR_DEFAULT:0012",
- "distributorInstallerId": 242566,
- "name": "Company s.r.o.",
- "objectsCount": 156
}
]| arcId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: "ARC_CLOUD:00008808" | ||
| name required | string (CommonCompanyName) [ 1 .. 70 ] characters Example: "Company s.r.o." | ||
required | object | ||
| |||
| hasDefaultTemplate | boolean Default: false Indicates whether the DIRECT ARC has a default template set | ||
[- {
- "arcId": "ARC_CLOUD:00008808",
- "name": "Company s.r.o.",
- "hasDefaultTemplate": false,
- "me": {
- "role": "USER"
}
}
]| arcEntityId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: ARC_CLOUD:00008808 Cloud entity id of ARC |
| arcId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: "ARC_CLOUD:00008808" | ||
| name required | string (CommonCompanyName) [ 1 .. 70 ] characters Example: "Company s.r.o." | ||
required | object | ||
| |||
| hasDefaultTemplate | boolean Default: false Indicates whether the DIRECT ARC has a default template set | ||
COMPANY_IDENTIFICATION_NUMBER (string) or null null only for PATCH to remove current value | |||
One of [ 3 .. 32 ] characters string (COMPANY_IDENTIFICATION_NUMBER) [ 3 .. 32 ] characters Company identification number | |||
TAX_IDENTIFICATION_NUMBER (string) or null null only for PATCH to remove current value | |||
One of [ 3 .. 18 ] characters string (TAX_IDENTIFICATION_NUMBER) [ 3 .. 18 ] characters Company tax identification number | |||
STREET (string) or null null only for PATCH to remove current value | |||
One of [ 3 .. 64 ] characters string (STREET) [ 3 .. 64 ] characters Company street | |||
CITY (string) or null null only for PATCH to remove current value | |||
One of [ 1 .. 64 ] characters string (CITY) [ 1 .. 64 ] characters Company city | |||
ZIP (string) or null null only for PATCH to remove current value | |||
One of string (ZIP) ^[\d A-Z\-]{4,10}$ Company zip code | |||
| countryCode | string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Example: "CZ" Supported country code from CLOUD | ||
EMAIL (string) or null null only for PATCH to remove current value | |||
One of string <email> (EMAIL) Email address | |||
PHONE_NUMBER (string) or null null only for PATCH to remove current value | |||
One of string (PHONE_NUMBER) ^\+[\d]{5,19}$ Internation phone number with + prefix | |||
EMAIL (string) or null null only for PATCH to remove current value | |||
One of string <email> (EMAIL) Email address | |||
| shareContacts | boolean (ShareContacts) Company want to share phone number and email address with end users | ||
LogoData (string) or null null only for PATCH to remove current logo | |||
One of string <byte> (LogoData) Binary logo encoded in base64 string (used for upload/change) | |||
Description (string) or null null only for PATCH to remove current value | |||
One of [ 1 .. 255 ] characters string (Description) [ 1 .. 255 ] characters null only for PATCH to remove current value | |||
boolean or null null only for PATCH to remove current value | |||
One of boolean null only for PATCH to remove current value | |||
| companyLogoUrl | string <uri> (AttachmentUri) Example: "https://img-cdn.jablonet.net/1635490678/65FA0685F2F38?X-Amz-Date=20211029T063758Z&X-Amz-Expires=1200" URL for downloading the attachment with parameters | ||
| disabledFunctions | Array of strings (DisabledFunctions) non-empty unique Items Enum: "REMOTE_CONTROL" "CAMERA_MANAGEMENT" "COMMUNICATION_NUMBER_MODIFICATION" "ARC_TRANSFER_MODIFICATION" "DOWNLOAD_CONFIGURATION" "REGISTRATION" Returned only if the ARC has at least one disabled function. | ||
{- "arcId": "ARC_CLOUD:00008808",
- "name": "Company s.r.o.",
- "hasDefaultTemplate": false,
- "cin": "885255412",
- "tin": "CZ885255412",
- "street": "Pod Houbou 15",
- "city": "Jablonec nad Nisou",
- "zip": "466 01",
- "countryCode": "CZ",
- "helpdeskEmail": "tomas.janda@jablotron.cz",
- "phoneNumber": "+420739259931",
- "email": "tomas.janda@jablotron.cz",
- "shareContacts": false,
- "companyLogoData": "U3dhZ2dlciByb2Nrcw==",
- "description": "Common description of entity up to 255 characters",
- "autoTransferDisabled": true,
- "me": {
- "role": "USER"
}, - "disabledFunctions": [
- "REMOTE_CONTROL"
]
}| arcEntityId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: ARC_CLOUD:00008808 Cloud entity id of ARC |
Company information
COMPANY_IDENTIFICATION_NUMBER (string) or null null only for PATCH to remove current value | |
One of [ 3 .. 32 ] characters string (COMPANY_IDENTIFICATION_NUMBER) [ 3 .. 32 ] characters Company identification number | |
TAX_IDENTIFICATION_NUMBER (string) or null null only for PATCH to remove current value | |
One of [ 3 .. 18 ] characters string (TAX_IDENTIFICATION_NUMBER) [ 3 .. 18 ] characters Company tax identification number | |
STREET (string) or null null only for PATCH to remove current value | |
One of [ 3 .. 64 ] characters string (STREET) [ 3 .. 64 ] characters Company street | |
CITY (string) or null null only for PATCH to remove current value | |
One of [ 1 .. 64 ] characters string (CITY) [ 1 .. 64 ] characters Company city | |
ZIP (string) or null null only for PATCH to remove current value | |
One of string (ZIP) ^[\d A-Z\-]{4,10}$ Company zip code | |
| countryCode | string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Example: "CZ" Supported country code from CLOUD |
EMAIL (string) or null null only for PATCH to remove current value | |
One of string <email> (EMAIL) Email address | |
PHONE_NUMBER (string) or null null only for PATCH to remove current value | |
One of string (PHONE_NUMBER) ^\+[\d]{5,19}$ Internation phone number with + prefix | |
EMAIL (string) or null null only for PATCH to remove current value | |
One of string <email> (EMAIL) Email address | |
| shareContacts | boolean (ShareContacts) Company want to share phone number and email address with end users |
LogoData (string) or null null only for PATCH to remove current logo | |
One of string <byte> (LogoData) Binary logo encoded in base64 string (used for upload/change) | |
Description (string) or null null only for PATCH to remove current value | |
One of [ 1 .. 255 ] characters string (Description) [ 1 .. 255 ] characters null only for PATCH to remove current value | |
boolean or null null only for PATCH to remove current value | |
One of boolean null only for PATCH to remove current value | |
| name | string (CommonCompanyName) [ 1 .. 70 ] characters Example: "Company s.r.o." |
{- "cin": "885255412",
- "tin": "CZ885255412",
- "street": "Pod Houbou 15",
- "city": "Jablonec nad Nisou",
- "zip": "466 01",
- "countryCode": "CZ",
- "helpdeskEmail": "tomas.janda@jablotron.cz",
- "phoneNumber": "+420739259931",
- "email": "tomas.janda@jablotron.cz",
- "shareContacts": false,
- "companyLogoData": "U3dhZ2dlciByb2Nrcw==",
- "description": "Common description of entity up to 255 characters",
- "autoTransferDisabled": true,
- "name": "Company s.r.o."
}{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| arcEntityId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: ARC_CLOUD:00008808 Cloud entity id of ARC |
required | object | ||
| |||
| autoTransferDisabled required | boolean Default: false ARC has disabled data transfer to ARC from new objects by default. DIRECT ARC has always this value set to false and cannot be changed. | ||
| ipAddressApplication | Array of strings (IpAddressApplicationModule) non-empty unique Items Enum: "MY_ARC" "CAMERA_VERIFICATION" Returned only if the ARC has at least one IP address set. Item CAMERA_VERIFICATION is always required | ||
| disabledFunctions | Array of strings (DisabledFunctions) non-empty unique Items Enum: "REMOTE_CONTROL" "CAMERA_MANAGEMENT" "COMMUNICATION_NUMBER_MODIFICATION" "ARC_TRANSFER_MODIFICATION" "DOWNLOAD_CONFIGURATION" "REGISTRATION" Returned only if the ARC has at least one disabled function. | ||
{- "ipAddressApplication": [
- "MY_ARC"
], - "autoTransferDisabled": false,
- "disabledFunctions": [
- "REMOTE_CONTROL"
], - "meta": {
- "hasAnyActiveCamera": false
}
}| arcEntityId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: ARC_CLOUD:00008808 Cloud entity id of ARC |
List of IP addresses
| ipAddressApplication | Array of strings (IpAddressApplicationModule) >= 0 items unique Items Enum: "MY_ARC" "CAMERA_VERIFICATION" |
| autoTransferDisabled | boolean ARC has disabled data transfer to ARC from new objects by default. DIRECT ARC has always this value set to false and cannot be changed. |
{- "ipAddressApplication": [
- "MY_ARC"
], - "autoTransferDisabled": true
}{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| arcEntityId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: ARC_CLOUD:00008808 Cloud entity id of ARC |
| arcUserId required | integer <int64> (DbId) >= 1 Example: "242566" |
| userId required | string (CloudUserEntity) ^USER_<OEM_([A-Z]+):([a-zA-Z\d]+)>:(\d+)$ Example: "USER_<OEM_JABLOTRON:Jablotron>:52325" Unique identification of CLOUD user account e.g. |
| userLogin required | string <email> (Email) Example: "tomas.janda@jablotron.cz" Email address |
| role required | string (UserRole) Enum: "USER" "ADMINISTRATOR" |
| lastLoggedDate | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification |
[- {
- "arcUserId": 242566,
- "userId": "USER_<OEM_JABLOTRON:Jablotron>:52325",
- "lastLoggedDate": "2019-08-24T14:15:22Z",
- "userLogin": "tomas.janda@jablotron.cz",
- "role": "USER"
}
]| arcEntityId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: ARC_CLOUD:00008808 Cloud entity id of ARC |
User attributes
| userLogin required | string <email> (Email) Example: "tomas.janda@jablotron.cz" Email address |
| role required | string (UserRole) Enum: "USER" "ADMINISTRATOR" |
| setDefaultNotifications | boolean Default: true |
| arcUserId required | integer <int64> (DbId) >= 1 Example: "242566" |
| userId required | string (CloudUserEntity) ^USER_<OEM_([A-Z]+):([a-zA-Z\d]+)>:(\d+)$ Example: "USER_<OEM_JABLOTRON:Jablotron>:52325" Unique identification of CLOUD user account e.g. |
| userLogin required | string <email> (Email) Example: "tomas.janda@jablotron.cz" Email address |
| role required | string (UserRole) Enum: "USER" "ADMINISTRATOR" |
| lastLoggedDate | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification |
{- "userLogin": "tomas.janda@jablotron.cz",
- "role": "USER",
- "setDefaultNotifications": true
}{- "arcUserId": 242566,
- "userId": "USER_<OEM_JABLOTRON:Jablotron>:52325",
- "lastLoggedDate": "2019-08-24T14:15:22Z",
- "userLogin": "tomas.janda@jablotron.cz",
- "role": "USER"
}| arcEntityId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: ARC_CLOUD:00008808 Cloud entity id of ARC |
| userEntity required | string (CLOUD_USER) ^USER_ Example: USER_<OEM_JABLOTRON:Jablotron>:52325 Entity id of wanted CLOUD user |
User attributes
| role required | string (UserRole) Enum: "USER" "ADMINISTRATOR" |
{- "role": "USER"
}{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| arcEntityId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: ARC_CLOUD:00008808 Cloud entity id of ARC |
| userEntity required | string (CLOUD_USER) ^USER_ Example: USER_<OEM_JABLOTRON:Jablotron>:52325 Entity id of wanted CLOUD user |
{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| arcEntityId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: ARC_CLOUD:00008808 Cloud entity id of ARC |
[- "169.124.56.3"
]| arcEntityId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: ARC_CLOUD:00008808 Cloud entity id of ARC |
List of IP addresses
[- "169.124.56.3"
]{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| arcEntityId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: ARC_CLOUD:00008808 Cloud entity id of ARC |
| notificationId required | integer <int64> (DbId) >= 1 Example: "242566" |
| targetType required | string Value: "EMAIL" |
| target required | string <email> (Email) Example: "tomas.janda@jablotron.cz" Email address |
| categories required | Array of strings (NotificationCategory) non-empty unique Items Enum: "ARC_CONNECTED" "ARC_REMOVED" "CAMERA_REQUESTED" "MAINTENANCE" |
| languageCode required | string (LanguageCode) Enum: "CS" "DA" "DE" "EL" "EN" "ES" "FI" "FR" "HR" "HU" … 15 more |
| lastUpdate | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification |
| lastUpdateUserId | string (CloudUserEntity) ^USER_<OEM_([A-Z]+):([a-zA-Z\d]+)>:(\d+)$ Example: "USER_<OEM_JABLOTRON:Jablotron>:52325" Unique identification of CLOUD user account e.g. |
[- {
- "notificationId": 242566,
- "lastUpdate": "2019-08-24T14:15:22Z",
- "lastUpdateUserId": "USER_<OEM_JABLOTRON:Jablotron>:52325",
- "targetType": "EMAIL",
- "target": "tomas.janda@jablotron.cz",
- "categories": [
- "ARC_CONNECTED"
], - "languageCode": "CS"
}
]| arcEntityId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: ARC_CLOUD:00008808 Cloud entity id of ARC |
Notification attributes
| targetType required | string Value: "EMAIL" |
| target required | string <email> (Email) Example: "tomas.janda@jablotron.cz" Email address |
| categories required | Array of strings (NotificationCategory) non-empty unique Items Enum: "ARC_CONNECTED" "ARC_REMOVED" "CAMERA_REQUESTED" "MAINTENANCE" |
| languageCode required | string (LanguageCode) Enum: "CS" "DA" "DE" "EL" "EN" "ES" "FI" "FR" "HR" "HU" … 15 more |
| notificationId required | integer <int64> (DbId) >= 1 Example: "242566" |
| targetType required | string Value: "EMAIL" |
| target required | string <email> (Email) Example: "tomas.janda@jablotron.cz" Email address |
| categories required | Array of strings (NotificationCategory) non-empty unique Items Enum: "ARC_CONNECTED" "ARC_REMOVED" "CAMERA_REQUESTED" "MAINTENANCE" |
| languageCode required | string (LanguageCode) Enum: "CS" "DA" "DE" "EL" "EN" "ES" "FI" "FR" "HR" "HU" … 15 more |
| lastUpdate | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification |
| lastUpdateUserId | string (CloudUserEntity) ^USER_<OEM_([A-Z]+):([a-zA-Z\d]+)>:(\d+)$ Example: "USER_<OEM_JABLOTRON:Jablotron>:52325" Unique identification of CLOUD user account e.g. |
{- "targetType": "EMAIL",
- "target": "tomas.janda@jablotron.cz",
- "categories": [
- "ARC_CONNECTED"
], - "languageCode": "CS"
}{- "notificationId": 242566,
- "lastUpdate": "2019-08-24T14:15:22Z",
- "lastUpdateUserId": "USER_<OEM_JABLOTRON:Jablotron>:52325",
- "targetType": "EMAIL",
- "target": "tomas.janda@jablotron.cz",
- "categories": [
- "ARC_CONNECTED"
], - "languageCode": "CS"
}| arcEntityId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: ARC_CLOUD:00008808 Cloud entity id of ARC |
| intId required | number (IntId) >= 1 Common Int id |
{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| arcEntityId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: ARC_CLOUD:00008808 Cloud entity id of ARC |
| intId required | number (IntId) >= 1 Common Int id |
Notification attributes
| categories required | Array of strings (NotificationCategory) non-empty unique Items Enum: "ARC_CONNECTED" "ARC_REMOVED" "CAMERA_REQUESTED" "MAINTENANCE" |
{- "categories": [
- "ARC_CONNECTED"
]
}{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| userLogin required | string <email> (Email) Example: "tomas.janda@jablotron.cz" Email address |
| userId required | string (CloudUserEntity) ^USER_<OEM_([A-Z]+):([a-zA-Z\d]+)>:(\d+)$ Example: "USER_<OEM_JABLOTRON:Jablotron>:52325" Unique identification of CLOUD user account e.g. |
PHONE_NUMBER (string) or null | |
One of string (PHONE_NUMBER) ^\+[\d]{5,19}$ Internation phone number with + prefix | |
NAME_AND_SURNAME (string) or null | |
One of [ 1 .. 70 ] characters string (NAME_AND_SURNAME) [ 1 .. 70 ] characters Name of a person, each part of name must be maximal 30 characters long | |
| newsletterAllowed | boolean |
{- "userLogin": "tomas.janda@jablotron.cz",
- "userId": "USER_<OEM_JABLOTRON:Jablotron>:52325",
- "confirmPhoneNumber": "+420739259931",
- "personName": "Jan Tron",
- "newsletterAllowed": true
}Changed values
PHONE_NUMBER (string) or null | |
One of string (PHONE_NUMBER) ^\+[\d]{5,19}$ Internation phone number with + prefix | |
NAME_AND_SURNAME (string) or null | |
One of [ 1 .. 70 ] characters string (NAME_AND_SURNAME) [ 1 .. 70 ] characters Name of a person, each part of name must be maximal 30 characters long | |
| newsletterAllowed | boolean |
{- "confirmPhoneNumber": "+420739259931",
- "personName": "Jan Tron",
- "newsletterAllowed": true
}{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| arcEntityId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: ARC_CLOUD:00008808 Cloud entity id of ARC |
| name required | string (ArcTemplateSetName) non-empty Example: "SIA with retry" | ||||||||||||||||||
required | object (ArcTemplateExtended) | ||||||||||||||||||
| |||||||||||||||||||
| isDefault required | boolean Example: "true" default | ||||||||||||||||||
| canBeSetAsDefault required | boolean Example: "true" default | ||||||||||||||||||
| isDeprecated required | boolean Example: "false" default | ||||||||||||||||||
| templateSetId required | number (IntId) >= 1 Common Int id | ||||||||||||||||||
| secondaryTemplateIsBackup | boolean Example: "false" If true, | ||||||||||||||||||
object (ArcTemplateExtended) | |||||||||||||||||||
| |||||||||||||||||||
| activeObjects | integer >= 1 Example: "4" | ||||||||||||||||||
[- {
- "name": "SIA with retry",
- "isDefault": true,
- "secondaryTemplateIsBackup": false,
- "primaryTemplate": {
- "protocol": "JABLOTRON_IP",
- "primaryDomain": "cid.jablotron.cloud:2565",
- "secondaryDomain": "cid.jablotron.cloud:2565",
- "heartbeatReportTime": 60,
- "heartbeatReportTimeIsFixed": true,
- "retryCount": 1,
- "retryDelaySeconds": 10
}, - "secondaryTemplate": {
- "protocol": "JABLOTRON_IP",
- "primaryDomain": "cid.jablotron.cloud:2565",
- "secondaryDomain": "cid.jablotron.cloud:2565",
- "heartbeatReportTime": 60,
- "heartbeatReportTimeIsFixed": true,
- "retryCount": 1,
- "retryDelaySeconds": 10
}, - "canBeSetAsDefault": true,
- "isDeprecated": false,
- "templateSetId": 1,
- "activeObjects": 4
}
]| arcEntityId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: ARC_CLOUD:00008808 Cloud entity id of ARC |
ARC template set attributes
| name required | string (ArcTemplateSetName) non-empty Example: "SIA with retry" | ||||||||||||||||||
required | object (ArcTemplateExtended) | ||||||||||||||||||
| |||||||||||||||||||
| isDefault required | boolean Example: "true" default | ||||||||||||||||||
| secondaryTemplateIsBackup | boolean Example: "false" If true, | ||||||||||||||||||
object (ArcTemplateExtended) | |||||||||||||||||||
| |||||||||||||||||||
| templateSetId required | number (IntId) >= 1 Common Int id | ||||||||||||||||||
| name | string (ArcTemplateSetName) non-empty Example: "SIA with retry" | ||||||||||||||||||
| isDefault | boolean Example: "true" default | ||||||||||||||||||
| secondaryTemplateIsBackup | boolean Example: "false" If true, | ||||||||||||||||||
object (ArcTemplateExtended) | |||||||||||||||||||
| |||||||||||||||||||
object (ArcTemplateExtended) | |||||||||||||||||||
| |||||||||||||||||||
| canBeSetAsDefault | boolean Example: "true" default | ||||||||||||||||||
| isDeprecated | boolean Example: "false" default | ||||||||||||||||||
{- "name": "SIA with retry",
- "isDefault": true,
- "secondaryTemplateIsBackup": false,
- "primaryTemplate": {
- "protocol": "JABLOTRON_IP",
- "primaryDomain": "cid.jablotron.cloud:2565",
- "secondaryDomain": "cid.jablotron.cloud:2565",
- "heartbeatReportTime": 60,
- "heartbeatReportTimeIsFixed": true,
- "retryCount": 1,
- "retryDelaySeconds": 10
}, - "secondaryTemplate": {
- "protocol": "JABLOTRON_IP",
- "primaryDomain": "cid.jablotron.cloud:2565",
- "secondaryDomain": "cid.jablotron.cloud:2565",
- "heartbeatReportTime": 60,
- "heartbeatReportTimeIsFixed": true,
- "retryCount": 1,
- "retryDelaySeconds": 10
}
}{- "templateSetId": 1,
- "name": "SIA with retry",
- "isDefault": true,
- "secondaryTemplateIsBackup": false,
- "primaryTemplate": {
- "protocol": "JABLOTRON_IP",
- "primaryDomain": "cid.jablotron.cloud:2565",
- "secondaryDomain": "cid.jablotron.cloud:2565",
- "heartbeatReportTime": 60,
- "heartbeatReportTimeIsFixed": true,
- "retryCount": 1,
- "retryDelaySeconds": 10
}, - "secondaryTemplate": {
- "protocol": "JABLOTRON_IP",
- "primaryDomain": "cid.jablotron.cloud:2565",
- "secondaryDomain": "cid.jablotron.cloud:2565",
- "heartbeatReportTime": 60,
- "heartbeatReportTimeIsFixed": true,
- "retryCount": 1,
- "retryDelaySeconds": 10
}, - "canBeSetAsDefault": true,
- "isDeprecated": false
}| arcEntityId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: ARC_CLOUD:00008808 Cloud entity id of ARC |
| arcTemplateSetId required | number (IntId) >= 1 ID of ARC template set |
| name required | string (ArcTemplateSetName) non-empty Example: "SIA with retry" | ||||||||||||||||||
required | object (ArcTemplateExtended) | ||||||||||||||||||
| |||||||||||||||||||
| isDefault required | boolean Example: "true" default | ||||||||||||||||||
| canBeSetAsDefault required | boolean Example: "true" default | ||||||||||||||||||
| isDeprecated required | boolean Example: "false" default | ||||||||||||||||||
| templateSetId required | number (IntId) >= 1 Common Int id | ||||||||||||||||||
| secondaryTemplateIsBackup | boolean Example: "false" If true, | ||||||||||||||||||
object (ArcTemplateExtended) | |||||||||||||||||||
| |||||||||||||||||||
| activeObjects | integer >= 1 Example: "4" | ||||||||||||||||||
{- "name": "SIA with retry",
- "isDefault": true,
- "secondaryTemplateIsBackup": false,
- "primaryTemplate": {
- "protocol": "JABLOTRON_IP",
- "primaryDomain": "cid.jablotron.cloud:2565",
- "secondaryDomain": "cid.jablotron.cloud:2565",
- "heartbeatReportTime": 60,
- "heartbeatReportTimeIsFixed": true,
- "retryCount": 1,
- "retryDelaySeconds": 10
}, - "secondaryTemplate": {
- "protocol": "JABLOTRON_IP",
- "primaryDomain": "cid.jablotron.cloud:2565",
- "secondaryDomain": "cid.jablotron.cloud:2565",
- "heartbeatReportTime": 60,
- "heartbeatReportTimeIsFixed": true,
- "retryCount": 1,
- "retryDelaySeconds": 10
}, - "canBeSetAsDefault": true,
- "isDeprecated": false,
- "templateSetId": 1,
- "activeObjects": 4
}| arcEntityId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: ARC_CLOUD:00008808 Cloud entity id of ARC |
| arcTemplateSetId required | number (IntId) >= 1 ID of ARC template set |
ARC template set attributes
| name | string (ArcTemplateSetName) non-empty Example: "SIA with retry" | ||||||||||||||||||
| isDefault | boolean Example: "true" default | ||||||||||||||||||
| secondaryTemplateIsBackup | boolean Example: "false" If true, | ||||||||||||||||||
object (ArcTemplatePatch) | |||||||||||||||||||
| |||||||||||||||||||
object (ArcTemplatePatch) | |||||||||||||||||||
| |||||||||||||||||||
| reconfigureObjects | boolean Default: false If | ||||||||||||||||||
required | Array of objects >= 0 items unique Returned only if | ||||
Array (>= 0 items)
| |||||
{- "name": "SIA with retry",
- "isDefault": true,
- "secondaryTemplateIsBackup": false,
- "primaryTemplate": {
- "protocol": "JABLOTRON_IP",
- "primaryDomain": "cid.jablotron.cloud:2565",
- "secondaryDomain": "cid.jablotron.cloud:2565",
- "heartbeatReportTime": 60,
- "heartbeatReportTimeIsFixed": true,
- "retryCount": 1,
- "retryDelaySeconds": 10
}, - "secondaryTemplate": {
- "protocol": "JABLOTRON_IP",
- "primaryDomain": "cid.jablotron.cloud:2565",
- "secondaryDomain": "cid.jablotron.cloud:2565",
- "heartbeatReportTime": 60,
- "heartbeatReportTimeIsFixed": true,
- "retryCount": 1,
- "retryDelaySeconds": 10
}, - "reconfigureObjects": false
}{- "reconfigurationRequests": [
- {
- "objectEntityId": "OBJECT_JA100F:242566",
- "requestId": "DCD-1254445521"
}
]
}| arcEntityId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: ARC_CLOUD:00008808 Cloud entity id of ARC |
| arcTemplateSetId required | number (IntId) >= 1 ID of ARC template set |
{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| arcEntityId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: ARC_CLOUD:00008808 Cloud entity id of ARC |
| arcTemplateSetId required | number (IntId) >= 1 ID of ARC template set |
ARC template objects set attributes
| $type required | string Value: "RECONFIGURATION" |
| requestId required | string (DeviceRequestId) >= 5 characters Example: "DCD-1254445521" Returns if an action was created in the device configuration manager (configuration download, reconfiguration ...) |
| objectId required | string (ObjectEntityId) ^OBJECT_(\w+):([\d]+)$ Example: "OBJECT_JA100F:242566" |
{- "$type": "RECONFIGURATION"
}[- {
- "requestId": "DCD-1254445521",
- "objectId": "OBJECT_JA100F:242566"
}
]| requestId required | string (REQUEST_ID) >= 5 characters Example: DCD-1254445521 Returns if an action was created in the device configuration manager (configuration download, reconfiguration ...) |
| requestId required | string (DeviceRequestId) >= 5 characters Example: "DCD-1254445521" Returns if an action was created in the device configuration manager (configuration download, reconfiguration ...) | ||||||||
| state required | string (ProcessState) Enum: "CREATED" "IN_PROGRESS" "COMPLETED" | ||||||||
| type required | string (ProcessType) Enum: "SETTING" "RESET" "CONFIGURATION" "CONFIGURATION_DOWNLOAD" "CONFIGURATION_UPLOAD" "ROAMING_ACTIVATE" "ROAMING_DEACTIVATE" "TRACKING_START" "GSM_RESTART" "SYNC_STATES" … 4 more CONFIGURATION is deprecated, use CONFIGURATION_DOWNLOAD instead | ||||||||
| createdAt required | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification | ||||||||
| scheduledAt | string <date-time> (DateTime) Only available for CREATED status | ||||||||
| completedAt | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification | ||||||||
| success | boolean Default: true Only available for completed status | ||||||||
object Only available for non-success status | |||||||||
| |||||||||
object non-empty | |||||||||
| |||||||||
{- "requestId": "DCD-1254445521",
- "state": "CREATED",
- "type": "SETTING",
- "createdAt": "2019-08-24T14:15:22Z",
- "scheduledAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "success": true,
- "error": {
- "code": "CANCELED_BY_OTHER_PROCESS",
- "debugMessage": "Cannot connect to device via YTUN"
}, - "meta": {
- "userName": "tomas.janda@jablotron.cz",
- "originUserName": "tomas.janda@jablotron.cz",
- "originRequestId": "DCD-1254445521",
- "remainingAttempts": 0
}
}| objectEntityId required | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: OBJECT_JA100F:242566 Cloud entity id of Object |
| componentType | Array of strings (EndUserComponentType) non-empty unique Items Enum: "SECTION" "ACTOR" "CAMERA" "THERMOMETER" "PULSE_METER" Type of cloud component, default is SECTION |
| mockUserId | number (IntId) >= 1 UserAccountId for system, mock logged user |
Array of objects (BasicComponentModelWithPermissions) non-empty unique | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects (BasicComponentModelWithPermissions) non-empty unique | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects (BasicComponentModelWithPermissions) non-empty unique | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects (BasicComponentModelWithPermissions) non-empty unique | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects (BasicComponentModelWithPermissions) non-empty unique | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects (BasicComponentModelWithPermissions) non-empty unique | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of THERMOSTAT_V2 (object) or THERMOSTAT (object) non-empty unique | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array (non-empty) One of
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects (BasicComponentModelWithPermissions) non-empty unique | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "sections": [
- {
- "id": "SECTION_<OBJECT_JA100F:12345>:1",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}, - "permissions": {
- "stateView": false,
- "historyRead": false,
- "componentShare": false,
- "photoRead": false,
- "componentNameModify": false,
- "componentControl": false,
- "componentConfigure": false,
- "notificationModify": false,
- "gpsPositionRead": false,
- "gpsHistoryRead": false,
- "cameraStreamRead": false,
- "cameraRecordRead": false,
- "videoClipRead": false,
- "videoClipModify": false,
- "jaPayRead": false,
- "jaPayModify": false
}, - "status": "DISARMED",
- "statusDate": "2019-08-24T14:15:22Z",
- "partialArmEnabled": true
}
], - "actors": [
- {
- "id": "SECTION_<OBJECT_JA100F:12345>:1",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}, - "permissions": {
- "stateView": false,
- "historyRead": false,
- "componentShare": false,
- "photoRead": false,
- "componentNameModify": false,
- "componentControl": false,
- "componentConfigure": false,
- "notificationModify": false,
- "gpsPositionRead": false,
- "gpsHistoryRead": false,
- "cameraStreamRead": false,
- "cameraRecordRead": false,
- "videoClipRead": false,
- "videoClipModify": false,
- "jaPayRead": false,
- "jaPayModify": false
}, - "status": "ON",
- "statusDate": "2019-08-24T14:15:22Z",
- "reaction": "PULSE",
- "interval": "-P1DT10M",
- "controllable": true
}
], - "cameras": [
- {
- "id": "SECTION_<OBJECT_JA100F:12345>:1",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}, - "permissions": {
- "stateView": false,
- "historyRead": false,
- "componentShare": false,
- "photoRead": false,
- "componentNameModify": false,
- "componentControl": false,
- "componentConfigure": false,
- "notificationModify": false,
- "gpsPositionRead": false,
- "gpsHistoryRead": false,
- "cameraStreamRead": false,
- "cameraRecordRead": false,
- "videoClipRead": false,
- "videoClipModify": false,
- "jaPayRead": false,
- "jaPayModify": false
}, - "arcConnectionStatus": "NONE",
- "lastPicture": {
- "occurredAt": "2019-08-24T14:15:22Z"
}, - "macAddress": "54:c4:15:8c:56:df"
}
], - "customCameras": [
- {
- "id": "SECTION_<OBJECT_JA100F:12345>:1",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}, - "permissions": {
- "stateView": false,
- "historyRead": false,
- "componentShare": false,
- "photoRead": false,
- "componentNameModify": false,
- "componentControl": false,
- "componentConfigure": false,
- "notificationModify": false,
- "gpsPositionRead": false,
- "gpsHistoryRead": false,
- "cameraStreamRead": false,
- "cameraRecordRead": false,
- "videoClipRead": false,
- "videoClipModify": false,
- "jaPayRead": false,
- "jaPayModify": false
}, - "streamUrl": "rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mp4"
}
], - "cameraDetectors": [
- {
- "id": "SECTION_<OBJECT_JA100F:12345>:1",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}, - "permissions": {
- "stateView": false,
- "historyRead": false,
- "componentShare": false,
- "photoRead": false,
- "componentNameModify": false,
- "componentControl": false,
- "componentConfigure": false,
- "notificationModify": false,
- "gpsPositionRead": false,
- "gpsHistoryRead": false,
- "cameraStreamRead": false,
- "cameraRecordRead": false,
- "videoClipRead": false,
- "videoClipModify": false,
- "jaPayRead": false,
- "jaPayModify": false
}, - "lastPicture": {
- "occurredAt": "2019-08-24T14:15:22Z"
}
}
], - "thermometers": [
- {
- "id": "SECTION_<OBJECT_JA100F:12345>:1",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}, - "permissions": {
- "stateView": false,
- "historyRead": false,
- "componentShare": false,
- "photoRead": false,
- "componentNameModify": false,
- "componentControl": false,
- "componentConfigure": false,
- "notificationModify": false,
- "gpsPositionRead": false,
- "gpsHistoryRead": false,
- "cameraStreamRead": false,
- "cameraRecordRead": false,
- "videoClipRead": false,
- "videoClipModify": false,
- "jaPayRead": false,
- "jaPayModify": false
}, - "currentTemperature": -13.5,
- "currentTemperatureTime": "2019-08-24T14:15:22Z",
- "heatingState": "NOT_CONFIGURED",
- "settings": {
- "minimumTemperature": -13.5,
- "maximumTemperature": -13.5,
- "triggerTemperature": -13.5
}
}
], - "thermostats": [
- {
- "id": "SECTION_<OBJECT_JA100F:12345>:1",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}, - "permissions": {
- "stateView": false,
- "historyRead": false,
- "componentShare": false,
- "photoRead": false,
- "componentNameModify": false,
- "componentControl": false,
- "componentConfigure": false,
- "notificationModify": false,
- "gpsPositionRead": false,
- "gpsHistoryRead": false,
- "cameraStreamRead": false,
- "cameraRecordRead": false,
- "videoClipRead": false,
- "videoClipModify": false,
- "jaPayRead": false,
- "jaPayModify": false
}, - "currentTemperature": -13.5,
- "currentTemperatureTime": "2019-08-24T14:15:22Z",
- "currentMode": {
- "calendarMode": "ECONOMIC",
- "mode": "MANUAL",
- "temperature": -13.5,
- "lastChange": "2019-08-24T14:15:22Z"
}, - "currentTemperatureFloor": -13.5,
- "currentTemperatureFloorTime": "2019-08-24T14:15:22Z",
- "currentHumidity": 100,
- "currentHumidityTime": "2019-08-24T14:15:22Z",
- "currentCo2Concentration": 0,
- "currentCo2ConcentrationTime": "2019-08-24T14:15:22Z",
- "actorState": "NOT_CONFIGURED",
- "ventilationState": "NOT_CONFIGURED",
- "thermostatMode": "HEATING",
- "floorThermometerEnabled": false,
- "settings": {
- "minimumTemperature": -13.5,
- "maximumTemperature": -13.5,
- "economyTemperature": -13.5,
- "comfortTemperature": -13.5,
- "standbyTemperature": -13.5
}, - "meta": {
- "measurables": [
- [
- "TEMPERATURE",
- "CO2_CONCENTRATION"
]
]
}, - "$type": "THERMOSTAT_V2"
}
], - "pulseMeters": [
- {
- "id": "SECTION_<OBJECT_JA100F:12345>:1",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}, - "permissions": {
- "stateView": false,
- "historyRead": false,
- "componentShare": false,
- "photoRead": false,
- "componentNameModify": false,
- "componentControl": false,
- "componentConfigure": false,
- "notificationModify": false,
- "gpsPositionRead": false,
- "gpsHistoryRead": false,
- "cameraStreamRead": false,
- "cameraRecordRead": false,
- "videoClipRead": false,
- "videoClipModify": false,
- "jaPayRead": false,
- "jaPayModify": false
}, - "isConfigured": true,
- "manualConsumptionAlignment": true,
- "summary": {
- "lastMeasureDate": "2019-08-24T14:15:22Z",
- "totalConsumption": 15.2365,
- "totalConsumptionLo": 15.2365,
- "totalConsumptionHi": 15.2365,
- "totalCost": 1.52,
- "totalCostLo": 1.52,
- "totalCostHi": 1.52,
- "currentMonthConsumption": 15.2365,
- "currentMonthConsumptionLo": 15.2365,
- "currentMonthConsumptionHi": 15.2365,
- "currentMonthCost": 1.52,
- "currentMonthCostLo": 1.52,
- "currentMonthCostHi": 1.52,
- "todayConsumptionLo": 15.2365,
- "todayConsumptionHi": 15.2365,
- "todayConsumption": 15.2365,
- "todayCostLo": 1.52,
- "todayCostHi": 1.52,
- "todayCost": 1.52,
- "meta": {
- "unit": "KWH",
- "currency": "AED",
- "displayMode": "SINGLE"
}
}
}
]
}| objectEntityId required | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: OBJECT_JA100F:242566 Cloud entity id of Object |
| service required | boolean Default: false It's true when section is in state = service | ||||
required | Array of objects (SectionCurrentStateModel) non-empty unique | ||||
Array (non-empty)
| |||||
Array of objects (ActorCurrentStateModel) non-empty unique | |||||
Array (non-empty)
| |||||
{- "service": false,
- "sections": [
- {
- "id": "SECTION_<OBJECT_JA100F:242566>:1",
- "state": "DISARMED"
}
], - "actors": [
- {
- "id": "ACTOR_<OBJECT_JA100F:242566>:5",
- "state": "ON"
}
]
}| objectEntityId required | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: OBJECT_JA100F:242566 Cloud entity id of Object |
| componentEntityId required | string (DEVICE_COMPONENT_IN_PATH) ^(SECTION|COMPONENT|ACTOR|USER)_ Example: COMPONENT_<OBJECT_JA100F:12345>:1 Cloud entity id of component |
| correlationId required | string (CorrelationId) ^(?:[\w\d\.\-_]+-)?[\da-fA-F]{8}-[\da-fA-F]{4... Example: "api.cv1-core-2cea8c53-5da1-4f05-b229-ec5a0be27b1e" Correlation id of request with optional app prefix |
{- "correlationId": "api.cv1-core-2cea8c53-5da1-4f05-b229-ec5a0be27b1e"
}| objectEntityId required | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: OBJECT_JA100F:242566 Cloud entity id of Object |
required | object | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
Array of SECURITY_SYSTEM_SECTION (object) or ACTOR (object) | |||||||||||||||||||||||||||
Array One of
| |||||||||||||||||||||||||||
{- "global": {
- "serviceMode": false,
- "maintenance": false,
- "alarm": {
- "intrusion": false,
- "fire": false,
- "flood": false,
- "gas": false,
- "panic": false,
- "sabotage": false,
- "health": false,
- "overCode": false
}, - "trouble": false
}, - "components": [
- {
- "$type": "SECURITY_SYSTEM_SECTION",
- "state": "ARMED",
- "count": 16
}
]
}| objectEntityId required | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: OBJECT_JA100F:242566 Cloud entity id of Object |
Control action object
required | Array of SECTION_COMMAND (object) or ACTOR_COMMAND (object) or PERIPHERAL_COMMAND (object) or PICTURE_COMMAND (object) or DEVICE_CONFIGURATION (object) or DEVICE_STATUS (object) or DEVICE_EVENTS (object) or DEVICE_RESET (object) or CHECK_AUTHORIZATION (object) (ControlActions) non-empty unique List of wanted control actions | ||||||
Array (non-empty) One of
| |||||||
Array of objects (Authorizations) [ 1 .. 2 ] items unique Authorization data for control to identify the user on the device | |||||||
Array ([ 1 .. 2 ] items)
| |||||||
required | Array of SECTION_CONTROL_STATUS (object) or ACTOR_CONTROL_STATUS (object) or PERIPHERAL_CONTROL_STATUS (object) or PICTURE_CONTROL_STATUS (object) or DEVICE_CONFIGURATION_STATUS (object) or DEVICE_STATUS (object) or DEVICE_EVENTS (object) or DEVICE_RESET (object) or CHECK_AUTHORIZATION (object) (ComponentControlResponseStatus) non-empty unique | ||||||||||||||||||
Array (non-empty) One of
| |||||||||||||||||||
object (Meta) non-empty | |||||||||||||||||||
| |||||||||||||||||||
Array of SECTION_STATE (object) or ACTOR_STATE (object) or COMPONENT_STATE (object) (ControlResponseStates) non-empty unique | |||||||||||||||||||
Array (non-empty) One of
| |||||||||||||||||||
{- "authorizations": [
- {
- "type": "CODE",
- "value": "2*1234"
}
], - "controls": [
- {
- "componentId": "SECTION_<OBJECT_JA100F:242566>:1",
- "action": "ARM"
}
]
}{- "meta": {
- "firmware": "MD6112.05.1",
- "behavior": 55,
- "registrationKey": "L2ASM-ZSVD3-UULS8"
}, - "controls": [
- {
- "componentId": "SECTION_<OBJECT_JA100F:242566>:1",
- "status": "SUCCESS",
- "details": {
- "$type": "BLOCKING_COMPONENTS",
- "bypassable": false,
- "clientTimerSeconds": 8,
- "components": [
- "COMPONENT_<OBJECT_JA100F:242566>:25"
]
}
}
], - "states": [
- {
- "componentId": "SECTION_<OBJECT_JA100F:242566>:1",
- "state": "ARM",
- "name": "PIR Bedroom",
- "hasActiveAlarms": true,
- "canBeControlled": true
}
]
}| deviceEntityId required | string (DEVICE_IDENTITY) ^DEVICE_((JACLOUDSN:[A-F\d]{8})|(JASNV1:[\d]{... Example: DEVICE_JACLOUDSN:F9100013 Cloud entity id of Device |
Control action object
required | Array of SECTION_COMMAND (object) or ACTOR_COMMAND (object) or PERIPHERAL_COMMAND (object) or PICTURE_COMMAND (object) or DEVICE_CONFIGURATION (object) or DEVICE_STATUS (object) or DEVICE_EVENTS (object) or DEVICE_RESET (object) or CHECK_AUTHORIZATION (object) (ControlActions) non-empty unique List of wanted control actions | ||||||
Array (non-empty) One of
| |||||||
Array of objects (Authorizations) [ 1 .. 2 ] items unique Authorization data for control to identify the user on the device | |||||||
Array ([ 1 .. 2 ] items)
| |||||||
| devicePhoneNumber | string (PhoneNumber) ^\+[\d]{5,19}$ Example: "+420739259931" Phone number of device to RING from YTUN server (for non-persistent devices) | ||||||
required | Array of SECTION_CONTROL_STATUS (object) or ACTOR_CONTROL_STATUS (object) or PERIPHERAL_CONTROL_STATUS (object) or PICTURE_CONTROL_STATUS (object) or DEVICE_CONFIGURATION_STATUS (object) or DEVICE_STATUS (object) or DEVICE_EVENTS (object) or DEVICE_RESET (object) or CHECK_AUTHORIZATION (object) (ComponentControlResponseStatus) non-empty unique | ||||||||||||||||||
Array (non-empty) One of
| |||||||||||||||||||
object (Meta) non-empty | |||||||||||||||||||
| |||||||||||||||||||
Array of SECTION_STATE (object) or ACTOR_STATE (object) or COMPONENT_STATE (object) (ControlResponseStates) non-empty unique | |||||||||||||||||||
Array (non-empty) One of
| |||||||||||||||||||
{- "authorizations": [
- {
- "type": "CODE",
- "value": "2*1234"
}
], - "controls": [
- {
- "componentId": "SECTION_<OBJECT_JA100F:242566>:1",
- "action": "ARM"
}
], - "devicePhoneNumber": "+420739259931"
}{- "meta": {
- "firmware": "MD6112.05.1",
- "behavior": 55,
- "registrationKey": "L2ASM-ZSVD3-UULS8"
}, - "controls": [
- {
- "componentId": "SECTION_<OBJECT_JA100F:242566>:1",
- "status": "SUCCESS",
- "details": {
- "$type": "BLOCKING_COMPONENTS",
- "bypassable": false,
- "clientTimerSeconds": 8,
- "components": [
- "COMPONENT_<OBJECT_JA100F:242566>:25"
]
}
}
], - "states": [
- {
- "componentId": "SECTION_<OBJECT_JA100F:242566>:1",
- "state": "ARM",
- "name": "PIR Bedroom",
- "hasActiveAlarms": true,
- "canBeControlled": true
}
]
}Deprecated endpoint path kept for backward compatibility.
Please use /api/{v1}/devices/dial-controller/register.
Registration params
| ownerLoginName required | string <email> (Email) Example: "tomas.janda@jablotron.cz" Email address |
required | DEVICE_IDENTITY (string) or REGISTRATION_KEY (string) |
One of string (DEVICE_IDENTITY) ^DEVICE_((JACLOUDSN:[A-F\d]{8})|(JASNV1:[\d]{... | |
| serviceName required | string (ObjectOrServiceName) [ 1 .. 64 ] characters Example: "My House" Name of object or service |
| timeZone required | string (TimeZone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" … 409 more Example: "Europe/Prague" IANA timezone definition |
| countryCode required | string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Example: "CZ" Supported country code from CLOUD |
| serviceEntityId required | string (ServiceEntityId) ^SERVICE_(\w+):([\d]+)$ Example: "SERVICE_JA100F:242566" |
| objectEntityId required | string (ObjectEntityId) ^OBJECT_(\w+):([\d]+)$ Example: "OBJECT_JA100F:242566" |
{- "deviceIdentification": "DEVICE_JACLOUDSN:F9100013",
- "serviceName": "My House",
- "timeZone": "Europe/Prague",
- "countryCode": "CZ",
- "ownerLoginName": "tomas.janda@jablotron.cz"
}{- "serviceEntityId": "SERVICE_JA100F:242566",
- "objectEntityId": "OBJECT_JA100F:242566"
}Protocol payloads
| format required | string Enum: "JSON" "CLI" | ||||
required | Array of objects (PayloadItemRequest) [ 1 .. 2 ] items unique | ||||
Array ([ 1 .. 2 ] items)
| |||||
| dump required | string <byte> Example: "U3dhZ2dlciByb2Nrcw==" Payload protocol dump in base64 |
| payloadType required | string (PayloadType) Enum: "REQUEST" "RESPONSE" Type of protocol payload |
{- "format": "JSON",
- "payloads": [
- {
- "payload": "48AE39481000320000000E00040100000003020000000F000200000000100002010000001A000111000000313431302D30302D303035362D38363238",
- "payloadType": "REQUEST"
}
]
}[- {
- "dump": "U3dhZ2dlciByb2Nrcw==",
- "payloadType": "REQUEST"
}
]| serviceEntityId required | string (SERVICE_ENTITY) ^SERVICE_(\w+):([\d]+)$ Example: SERVICE_JA100F:242566 Cloud entity id of end user Service |
Array of objects (SharedAccount) non-empty | |||||||||||||||||||||||||||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||||||||||||||||||||||||||
{- "accesses": [
- {
- "userLogin": "tomas.janda@jablotron.cz",
- "userId": "USER_<OEM_JABLOTRON:Jablotron>:52325",
- "role": "OWNER",
- "components": [
- {
- "$type": "SECTION",
- "id": "COMPONENT_<OBJECT_JA100F:242566>:25",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}, - "permissions": {
- "$type": "SECTION_PERMISSIONS",
- "stateView": false,
- "historyRead": false,
- "componentControl": false,
- "notificationModify": false,
- "componentShare": false,
- "componentNameModify": false
}
}
]
}
]
}| companyId required | number (IntId) >= 1 Id of installerCompany |
Company information
| affiliateRegistered required | boolean (InstallerAffiliate) Company is registered in affiliate |
{- "affiliateRegistered": false
}{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: DISTRIBUTOR_DEFAULT:0012 Cloud entity id of distributor |
Company information
| affiliateRegistered required | boolean (InstallerAffiliate) Company is registered in affiliate |
{- "affiliateRegistered": false
}{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| userEntity required | string (CLOUD_USER) ^USER_ Example: USER_<OEM_JABLOTRON:Jablotron>:52325 Entity id of wanted CLOUD user |
| userLogin required | string <email> (Email) Example: "tomas.janda@jablotron.cz" Email address |
| userId required | string (CloudUserEntity) ^USER_<OEM_([A-Z]+):([a-zA-Z\d]+)>:(\d+)$ Example: "USER_<OEM_JABLOTRON:Jablotron>:52325" Unique identification of CLOUD user account e.g. |
{- "userLogin": "tomas.janda@jablotron.cz",
- "userId": "USER_<OEM_JABLOTRON:Jablotron>:52325"
}| userEntity required | string (CLOUD_USER) ^USER_ Example: USER_<OEM_JABLOTRON:Jablotron>:52325 Entity id of wanted CLOUD user |
{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}APP_INSTANCE_ID (string) or PHONE_NUMBER (string) or EMAIL (string) (Target) | |
| type | string (ContactType) Enum: "SMS" "VOICE" "PUSH" "EMAIL" Example: type=PUSH |
OBJECT_ENTITY (string) or SERVICE_ENTITY (string) | |
| ownerId | string (CLOUD_USER) ^USER_ Example: ownerId=USER_<OEM_JABLOTRON:Jablotron>:52325 Unique identification of CLOUD user account e.g. |
| contactId | string <uuid> (UuidString) Example: contactId=296ffe8b-2f9e-4c69-939d-5b996b73681f UUIDv4 of notification contact |
| id required | string <uuid> (UuidString) Example: "296ffe8b-2f9e-4c69-939d-5b996b73681f" | ||||
required | APP_INSTANCE_ID (string) or PHONE_NUMBER (string) or EMAIL (string) (Target) | ||||
Any of [ 1 .. 128 ] characters string (APP_INSTANCE_ID) [ 1 .. 128 ] characters | |||||
| type required | string (ContactType) Enum: "SMS" "VOICE" "PUSH" "EMAIL" Example: "PUSH" | ||||
required | object (UserAccountDetail) Common object of cloud user detail | ||||
| |||||
| active required | boolean (Active) Filter only active or inactive contacts, default is both of them | ||||
| valid required | boolean (Valid) Filter only valid or invalid contacts, default is both of them | ||||
| canEdit required | boolean (CanEdit) User can edit this entity | ||||
| canRemove required | boolean (CanEdit) User can edit this entity | ||||
| created required | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification | ||||
| label | string or null (ContactLabel) [ 1 .. 64 ] characters Example: "My iPhone" | ||||
| settingsCount | number Example: "5" Current settings under this contact and service | ||||
[- {
- "id": "296ffe8b-2f9e-4c69-939d-5b996b73681f",
- "target": "296ffe8b-2f9e-4c69-939d-5b996b73681f",
- "label": "My iPhone",
- "type": "PUSH",
- "owner": {
- "userLogin": "tomas.janda@jablotron.cz",
- "userId": "USER_<OEM_JABLOTRON:Jablotron>:52325"
}, - "active": true,
- "valid": true,
- "settingsCount": 5,
- "canEdit": true,
- "canRemove": true,
- "created": "2019-08-24T14:15:22Z"
}
]APP_INSTANCE_ID (string) or PHONE_NUMBER (string) or EMAIL (string) (Target) | |
| role | string (NotificationSettingRole) Enum: "END_USER" "INSTALLER" Example: role=END_USER Role of user |
OBJECT_ENTITY (string) or SERVICE_ENTITY (string) | |
| ownerId | string (CLOUD_USER) ^USER_ Example: ownerId=USER_<OEM_JABLOTRON:Jablotron>:52325 Unique identification of CLOUD user account e.g. |
| contactId | string <uuid> (UuidString) Example: contactId=296ffe8b-2f9e-4c69-939d-5b996b73681f UUIDv4 of notification contact |
| settingId | string (NotificationSettingId) ^(?:SECURITY_SYSTEM|HOME_AUTOMATION)-[0-9(a-f... Example: settingId=SECURITY_SYSTEM-296ffe8b-2f9e-4c69-939d-5b996b73681f Id of notification settings |
| id required | string (NotificationSettingId) ^(?:SECURITY_SYSTEM|HOME_AUTOMATION)-[0-9(a-f... Example: "SECURITY_SYSTEM-296ffe8b-2f9e-4c69-939d-5b996b73681f" | ||||||||||||||
required | object (NotificationContactBase) | ||||||||||||||
| |||||||||||||||
| category required | string (schemas-NotificationCategory) ^[A-Z\.\_]{1,}[A-Z]$ Example: "SECURITY_SYSTEM.CONSUMPTION_EXCEEDED" Allowed values:
| ||||||||||||||
| languageCode required | string (LanguageCode) Enum: "CS" "DA" "DE" "EL" "EN" "ES" "FI" "FR" "HR" "HU" … 15 more | ||||||||||||||
| canEdit required | boolean (CanEdit) User can edit this entity | ||||||||||||||
| canRemove required | boolean (CanEdit) User can edit this entity | ||||||||||||||
| role required | string (NotificationSettingRole) Enum: "END_USER" "INSTALLER" Example: "END_USER" | ||||||||||||||
required | OBJECT_ENTITY (string) or SERVICE_ENTITY (string) | ||||||||||||||
One of string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ | |||||||||||||||
object (NotificationComponentBase) | |||||||||||||||
| |||||||||||||||
TEMPERATURE_SETTING (object) or CONSUMPTION_SETTING (object) | |||||||||||||||
One of
| |||||||||||||||
object | |||||||||||||||
| |||||||||||||||
| isCritical | boolean Indicates if the notification is critical | ||||||||||||||
| soundCategory | string (SoundCategory) Enum: "ALARM" "ALARM2" "ALARM_LONG" "ARMED" "DISARMED" "ACTOR" "FAILURE" "INFO" "NONE" Sound category for the notification | ||||||||||||||
| created | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification | ||||||||||||||
[- {
- "id": "SECURITY_SYSTEM-296ffe8b-2f9e-4c69-939d-5b996b73681f",
- "contact": {
- "id": "296ffe8b-2f9e-4c69-939d-5b996b73681f",
- "target": "296ffe8b-2f9e-4c69-939d-5b996b73681f",
- "label": "My iPhone"
}, - "category": "SECURITY_SYSTEM.CONSUMPTION_EXCEEDED",
- "languageCode": "CS",
- "component": {
- "id": "SECTION_<OBJECT_JA100F:242566>:1",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}
}, - "settings": {
- "$type": "TEMPERATURE",
- "temperature": -13.5,
- "hysteresis": -13.5
}, - "validity": {
- "from": "20:15",
- "to": "20:15"
}, - "isCritical": true,
- "soundCategory": "ALARM",
- "canEdit": true,
- "canRemove": true,
- "created": "2019-08-24T14:15:22Z",
- "role": "END_USER",
- "sourceId": "OBJECT_JA100F:242566"
}
]| userEntity required | string (CLOUD_USER) ^USER_ Example: USER_<OEM_JABLOTRON:Jablotron>:52325 Entity id of wanted CLOUD user |
Wanted operations to check
| entityId required | string (EntityId) Value: "SECURITY-SYSTEM-CONFIGURATION-TOOL" | ||||
| operationId required | string (OperationId) Enum: "END-USER-VIEW" "INSTALLER-VIEW" | ||||
Array of objects non-empty | |||||
Array (non-empty)
| |||||
| entityId required | string (EntityId) Value: "SECURITY-SYSTEM-CONFIGURATION-TOOL" | ||||||
| operationId required | string (OperationId) Enum: "END-USER-VIEW" "INSTALLER-VIEW" | ||||||
Array of objects non-empty | |||||||
Array (non-empty)
| |||||||
Array of objects non-empty unique | |||||||
Array (non-empty)
| |||||||
[- {
- "entityId": "SECURITY-SYSTEM-CONFIGURATION-TOOL",
- "operationId": "END-USER-VIEW",
- "parameters": [
- {
- "paramTypeId": "CLOUD-ENTITY-ID",
- "values": [
- "OBJECT_JA100F:54421"
]
}
]
}
][- {
- "entityId": "SECURITY-SYSTEM-CONFIGURATION-TOOL",
- "operationId": "END-USER-VIEW",
- "parameters": [
- {
- "paramTypeId": "CLOUD-ENTITY-ID",
- "values": [
- "OBJECT_JA100F:54421"
]
}
], - "meta": [
- {
- "key": "DISTRIBUTOR_ENTITY_ID",
- "value": "string"
}
]
}
]| first | integer (Limit) >= 1 Example: first=50 Limits maximum of returned items, can be used together with cursor |
| after | string (Cursor) Example: after=WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd Cursor value, can be used together with limits value |
| last | integer (Limit) >= 1 Example: last=50 Limits maximum of returned items, can be used together with cursor |
| before | string (Cursor) Example: before=WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd Cursor value, can be used together with limits value |
| types[] | Array of strings (ProcessType) Items Enum: "SETTING" "RESET" "CONFIGURATION" "CONFIGURATION_DOWNLOAD" "CONFIGURATION_UPLOAD" "ROAMING_ACTIVATE" "ROAMING_DEACTIVATE" "TRACKING_START" "GSM_RESTART" "SYNC_STATES" … 4 more Example: types[]=SETTING&types[]=DEACTIVATE_OBJECT |
| states[] | Array of strings (ProcessState) Items Enum: "CREATED" "IN_PROGRESS" "COMPLETED" Example: states[]=CREATED&states[]=IN_PROGRESS |
| errors[] | Array of strings (ProcessErrorType) Items Enum: "CANCELED_BY_OTHER_PROCESS" "BAD_REQUEST" "UNAUTHORIZED" "NOT_FOUND" "NOT_ACCEPTABLE" "TIMEOUT" "CONFLICT" "UNUSABLE_SIM_CARD" "UNPROCESSABLE" "PROCESS_TIMEOUT" … 3 more Example: errors[]=UNAUTHORIZED&errors[]=UNPROCESSABLE |
REQUEST_ID (string) or DB_INCREMENT_ID_QUERY (string) or DB_INCREMENT_ID (integer) | |
REQUEST_ID (string) or DB_INCREMENT_ID_QUERY (string) or DB_INCREMENT_ID (integer) | |
DB_INCREMENT_ID_QUERY (string) or DB_INCREMENT_ID (integer) | |
OBJECT_ENTITY (string) or DB_INCREMENT_ID_QUERY (string) or DB_INCREMENT_ID (integer) Cloud entity id of Object | |
| serialNumber | string (SERIAL_NUMBER_HEX) ^[A-F\d]{8} Example: serialNumber=F9301214 Serial number (HEX) of device |
required | Array of objects (ProcessManagerRequestLists) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "items": [
- {
- "node": {
- "requestId": 242566,
- "parentRequestId": 242566,
- "state": "CREATED",
- "type": "SETTING",
- "createdAt": "2019-08-24T14:15:22Z",
- "scheduledAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "success": true,
- "appAccount": "api.rpc",
- "user": {
- "userLogin": "tomas.janda@jablotron.cz",
- "userId": "USER_<OEM_JABLOTRON:Jablotron>:52325"
}, - "remainingAttempts": 0,
- "objectId": "OBJECT_JA100F:242566",
- "error": {
- "code": "CANCELED_BY_OTHER_PROCESS",
- "debugMessage": "Cannot connect to device via YTUN"
}, - "details": [
- {
- "test": "best"
}
], - "params": [
- {
- "name": "WithArcNumberRelease",
- "value": "1"
}
]
}, - "cursor": "WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd"
}
], - "pageInfo": {
- "hasNextPage": true,
- "hasPreviousPage": true,
- "startCursor": "WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd",
- "endCursor": "WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd"
}
}User account registration params
| loginName required | string <email> (Email) Example: "tomas.janda@jablotron.cz" Email address |
| invokedUserId | string (CloudUserEntity) ^USER_<OEM_([A-Z]+):([a-zA-Z\d]+)>:(\d+)$ Example: "USER_<OEM_JABLOTRON:Jablotron>:52325" Unique identification of CLOUD user account e.g. |
{- "loginName": "tomas.janda@jablotron.cz",
- "invokedUserId": "USER_<OEM_JABLOTRON:Jablotron>:52325"
}{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| arcType | string Enum: "CLOUD" "DIRECT" Type of ARC to be returned |
| arcEntityId | Array of strings (ArcEntityId) non-empty unique [ items^ARC_(CLOUD|DIRECT):([\d]+)$ ] Example: arcEntityId=ARC_CLOUD:00008808 ArcId for optional filtering |
| distributorEntities | Array of strings (DistributorId) non-empty unique [ items^DISTRIBUTOR_DEFAULT:(\d{4})$ ] Example: distributorEntities=DISTRIBUTOR_DEFAULT:0012 DistributorId for optional filtering |
| arcId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: "ARC_CLOUD:00008808" | ||||||||||
| name required | string (CommonCompanyName) [ 1 .. 70 ] characters Example: "Company s.r.o." | ||||||||||
| countryCode required | string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Example: "CZ" Supported country code from CLOUD | ||||||||||
| hasDefaultTemplate | boolean Default: false Indicates whether the DIRECT ARC has a default template set | ||||||||||
| outputId | string (OutputId) Enum: "SP1" "SP2" "SP3" "SP4" "SP5" "SP6" "SP7" Available only for CLOUD ARC | ||||||||||
| driverType | string (DriverType) Enum: "KROND" "KRONDI" "SIAD" "SIAD_DUAL" "SRG2D" "SRG2D_DUAL" "MNTD" "MNTD_DUAL" "UNSUPPORTED" Available only for CLOUD ARC | ||||||||||
| photoVerificationUrlBase | string <uri> Example: "https://arc-verification.jablotron.cloud/12541/akdsjfhkjs/:objectNumber" | ||||||||||
object | |||||||||||
| |||||||||||
[- {
- "arcId": "ARC_CLOUD:00008808",
- "name": "Company s.r.o.",
- "hasDefaultTemplate": false,
- "countryCode": "CZ",
- "outputId": "SP1",
- "driverType": "KROND",
- "photoVerificationUrlBase": "https://arc-verification.jablotron.cloud/12541/akdsjfhkjs/:objectNumber",
- "meta": {
- "distributorsCount": 6,
- "usersCount": 6,
- "connectedToApi": {
- "mode": "API"
}
}
}
]| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: "DISTRIBUTOR_DEFAULT:0012" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name required | string (CommonCompanyName) [ 1 .. 70 ] characters Example: "Company s.r.o." | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| countryCode required | string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Example: "CZ" Supported country code from CLOUD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object (DistributorSettings) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| rgapCountry | string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Example: "CZ" Supported country code from CLOUD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| helpdeskLogin | string <email> (Email) Example: "tomas.janda@jablotron.cz" Email address | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| description | string (Description) [ 1 .. 255 ] characters Example: "Common description of entity up to 255 characters" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object (ApiSettings) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object (DistributorCompanyInfo) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[- {
- "distributorId": "DISTRIBUTOR_DEFAULT:0012",
- "name": "Company s.r.o.",
- "countryCode": "CZ",
- "rgapCountry": "CZ",
- "helpdeskLogin": "tomas.janda@jablotron.cz",
- "description": "Common description of entity up to 255 characters",
- "settings": {
- "directArcEnabled": true,
- "objectTransferEnabled": true,
- "maintainedByJablonet": true,
- "simLockEnabled": true,
- "affiliateRegistered": true
}, - "api": {
- "authorizationKey": "b0d2f6a2d76a354d3a37f64b8ad08019",
- "pairedSoftwareKey": "221B368D7F5F597867F525971F28FF75",
- "isJaArc": true
}, - "contacts": {
- "cin": "885255412",
- "tin": "CZ885255412",
- "street": "Pod Houbou 15",
- "city": "Jablonec nad Nisou",
- "zip": "466 01",
- "iban": "CZ5508000000001234567899",
- "vatPayer": true,
- "invoiceCompanyName": "Company s.r.o.",
- "swiftCode": "AAAABBCC123",
- "bankAccountNumber": "35-254125846/0100",
- "bankAccountName": "Company s.r.o.",
- "bankAccountStreet": "Pod Houbou 15",
- "bankAccountCity": "Jablonec nad Nisou",
- "bankCountryCode": "CZ",
- "phoneNumber": "+420739259931",
- "email": "tomas.janda@jablotron.cz",
- "shareContacts": false,
- "companyLogoData": "U3dhZ2dlciByb2Nrcw==",
- "affiliateEmail": "tomas.janda@jablotron.cz",
- "affiliatePhoneNumber": "+420739259931"
}, - "meta": {
- "arcsCount": 6,
- "usersCount": 6,
- "preparedForApi": true
}
}
]| objectEntityId required | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: OBJECT_JA100F:242566 Cloud entity id of Object |
Object setting action
| $type required | string Value: "RECONFIGURATION" |
| invokedUserId required | string (CloudUserEntity) ^USER_<OEM_([A-Z]+):([a-zA-Z\d]+)>:(\d+)$ Example: "USER_<OEM_JABLOTRON:Jablotron>:52325" Unique identification of CLOUD user account e.g. |
| requestId required | string (DeviceRequestId) >= 5 characters Example: "DCD-1254445521" Returns if an action was created in the device configuration manager (configuration download, reconfiguration ...) |
{- "$type": "RECONFIGURATION",
- "invokedUserId": "USER_<OEM_JABLOTRON:Jablotron>:52325"
}{- "requestId": "DCD-1254445521"
}Deprecated endpoint path kept for backward compatibility.
Please use /api/{v1}/devices/dial-controller/register.
Registration params
| ownerLoginName required | string <email> (Email) Example: "tomas.janda@jablotron.cz" Email address |
required | DEVICE_IDENTITY (string) or REGISTRATION_KEY (string) |
One of string (DEVICE_IDENTITY) ^DEVICE_((JACLOUDSN:[A-F\d]{8})|(JASNV1:[\d]{... | |
| serviceName required | string (ObjectOrServiceName) [ 1 .. 64 ] characters Example: "My House" Name of object or service |
| timeZone required | string (TimeZone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" … 409 more Example: "Europe/Prague" IANA timezone definition |
| countryCode required | string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Example: "CZ" Supported country code from CLOUD |
| serviceEntityId required | string (ServiceEntityId) ^SERVICE_(\w+):([\d]+)$ Example: "SERVICE_JA100F:242566" |
| objectEntityId required | string (ObjectEntityId) ^OBJECT_(\w+):([\d]+)$ Example: "OBJECT_JA100F:242566" |
{- "deviceIdentification": "DEVICE_JACLOUDSN:F9100013",
- "serviceName": "My House",
- "timeZone": "Europe/Prague",
- "countryCode": "CZ",
- "ownerLoginName": "tomas.janda@jablotron.cz"
}{- "serviceEntityId": "SERVICE_JA100F:242566",
- "objectEntityId": "OBJECT_JA100F:242566"
}| requestId required | string (REQUEST_ID) >= 5 characters Example: DCD-1254445521 Returns if an action was created in the device configuration manager (configuration download, reconfiguration ...) |
| requestId required | string (DeviceRequestId) >= 5 characters Example: "DCD-1254445521" Returns if an action was created in the device configuration manager (configuration download, reconfiguration ...) | ||||||||
| state required | string (ProcessState) Enum: "CREATED" "IN_PROGRESS" "COMPLETED" | ||||||||
| type required | string (ProcessType) Enum: "SETTING" "RESET" "CONFIGURATION" "CONFIGURATION_DOWNLOAD" "CONFIGURATION_UPLOAD" "ROAMING_ACTIVATE" "ROAMING_DEACTIVATE" "TRACKING_START" "GSM_RESTART" "SYNC_STATES" … 4 more CONFIGURATION is deprecated, use CONFIGURATION_DOWNLOAD instead | ||||||||
| createdAt required | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification | ||||||||
| scheduledAt | string <date-time> (DateTime) Only available for CREATED status | ||||||||
| completedAt | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification | ||||||||
| success | boolean Default: true Only available for completed status | ||||||||
object Only available for non-success status | |||||||||
| |||||||||
object non-empty | |||||||||
| |||||||||
{- "requestId": "DCD-1254445521",
- "state": "CREATED",
- "type": "SETTING",
- "createdAt": "2019-08-24T14:15:22Z",
- "scheduledAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "success": true,
- "error": {
- "code": "CANCELED_BY_OTHER_PROCESS",
- "debugMessage": "Cannot connect to device via YTUN"
}, - "meta": {
- "userName": "tomas.janda@jablotron.cz",
- "originUserName": "tomas.janda@jablotron.cz",
- "originRequestId": "DCD-1254445521",
- "remainingAttempts": 0
}
}| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: DISTRIBUTOR_DEFAULT:0012 Cloud entity id of distributor |
| first | integer (Limit) >= 1 Example: first=50 Limits maximum of returned items, can be used together with cursor |
| after | string (Cursor) Example: after=WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd Cursor value, can be used together with limits value |
| last | integer (Limit) >= 1 Example: last=50 Limits maximum of returned items, can be used together with cursor |
| before | string (Cursor) Example: before=WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd Cursor value, can be used together with limits value |
| deviceModel[] | Array of strings (DeviceModel) non-empty unique Items Enum: "AURA" "AZ10K" "CA1802" "CA1803BT" "CA2103" "CU07" "CU07A" "CU08" "CU08A" "FUTURA" … 29 more Example: deviceModel[]=JA107K&deviceModel[]=JA103K&deviceModel[]=JA151KRY Device model |
| objectId | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: objectId=OBJECT_JA100F:242566 Id of object |
required | Array of objects >= 0 items unique | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "items": [
- {
- "node": {
- "objectId": "OBJECT_JA100F:242566",
- "timeZone": "Europe/Prague",
- "name": "My House",
- "installer": {
- "installerCompanyId": 1,
- "name": "Company s.r.o."
}, - "distributor": {
- "distributorId": "DISTRIBUTOR_DEFAULT:0012",
- "name": "Company s.r.o."
}, - "arc": {
- "arcId": "ARC_CLOUD:00008808",
- "name": "Company s.r.o."
}, - "arcObjectNumber": "F13D",
- "device": {
- "registrationKey": "LAS6D-U2VBG-UHX65",
- "serialNumber": "F9301214",
- "phoneNumber": "+420739259931",
- "family": "JA100F",
- "model": "JA107K",
- "officialName": "JA-101K LAN 3G",
- "configurationDownloadDate": "2019-08-24T14:15:22Z",
- "configurationSetDate": "2019-08-24T14:15:22Z"
}
}, - "cursor": "WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd"
}
], - "pageInfo": {
- "hasNextPage": true,
- "hasPreviousPage": true,
- "startCursor": "WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd",
- "endCursor": "WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd"
}
}| arcEntityId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: ARC_CLOUD:00008808 Cloud entity id of ARC |
| first | integer (Limit) >= 1 Example: first=50 Limits maximum of returned items, can be used together with cursor |
| after | string (Cursor) Example: after=WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd Cursor value, can be used together with limits value |
| last | integer (Limit) >= 1 Example: last=50 Limits maximum of returned items, can be used together with cursor |
| before | string (Cursor) Example: before=WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd Cursor value, can be used together with limits value |
| deviceModel[] | Array of strings (DeviceModel) non-empty unique Items Enum: "AURA" "AZ10K" "CA1802" "CA1803BT" "CA2103" "CU07" "CU07A" "CU08" "CU08A" "FUTURA" … 29 more Example: deviceModel[]=JA107K&deviceModel[]=JA103K&deviceModel[]=JA151KRY Device model |
| objectId | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: objectId=OBJECT_JA100F:242566 Id of object |
required | Array of objects >= 0 items unique | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "items": [
- {
- "node": {
- "objectId": "OBJECT_JA100F:242566",
- "timeZone": "Europe/Prague",
- "name": "My House",
- "installer": {
- "installerCompanyId": 1,
- "name": "Company s.r.o."
}, - "distributor": {
- "distributorId": "DISTRIBUTOR_DEFAULT:0012",
- "name": "Company s.r.o."
}, - "arc": {
- "arcId": "ARC_CLOUD:00008808",
- "name": "Company s.r.o."
}, - "arcObjectNumber": "F13D",
- "device": {
- "registrationKey": "LAS6D-U2VBG-UHX65",
- "serialNumber": "F9301214",
- "phoneNumber": "+420739259931",
- "family": "JA100F",
- "model": "JA107K",
- "officialName": "JA-101K LAN 3G",
- "configurationDownloadDate": "2019-08-24T14:15:22Z",
- "configurationSetDate": "2019-08-24T14:15:22Z"
}
}, - "cursor": "WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd"
}
], - "pageInfo": {
- "hasNextPage": true,
- "hasPreviousPage": true,
- "startCursor": "WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd",
- "endCursor": "WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd"
}
}| companyId required | number (IntId) >= 1 Id of installerCompany |
| first | integer (Limit) >= 1 Example: first=50 Limits maximum of returned items, can be used together with cursor |
| after | string (Cursor) Example: after=WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd Cursor value, can be used together with limits value |
| last | integer (Limit) >= 1 Example: last=50 Limits maximum of returned items, can be used together with cursor |
| before | string (Cursor) Example: before=WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd Cursor value, can be used together with limits value |
| deviceModel[] | Array of strings (DeviceModel) non-empty unique Items Enum: "AURA" "AZ10K" "CA1802" "CA1803BT" "CA2103" "CU07" "CU07A" "CU08" "CU08A" "FUTURA" … 29 more Example: deviceModel[]=JA107K&deviceModel[]=JA103K&deviceModel[]=JA151KRY Device model |
| objectId | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: objectId=OBJECT_JA100F:242566 Id of object |
required | Array of objects >= 0 items unique | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "items": [
- {
- "node": {
- "objectId": "OBJECT_JA100F:242566",
- "timeZone": "Europe/Prague",
- "name": "My House",
- "installer": {
- "installerCompanyId": 1,
- "name": "Company s.r.o."
}, - "distributor": {
- "distributorId": "DISTRIBUTOR_DEFAULT:0012",
- "name": "Company s.r.o."
}, - "arc": {
- "arcId": "ARC_CLOUD:00008808",
- "name": "Company s.r.o."
}, - "arcObjectNumber": "F13D",
- "device": {
- "registrationKey": "LAS6D-U2VBG-UHX65",
- "serialNumber": "F9301214",
- "phoneNumber": "+420739259931",
- "family": "JA100F",
- "model": "JA107K",
- "officialName": "JA-101K LAN 3G",
- "configurationDownloadDate": "2019-08-24T14:15:22Z",
- "configurationSetDate": "2019-08-24T14:15:22Z"
}
}, - "cursor": "WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd"
}
], - "pageInfo": {
- "hasNextPage": true,
- "hasPreviousPage": true,
- "startCursor": "WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd",
- "endCursor": "WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd"
}
}| companyId required | number (IntId) >= 1 Id of installerCompany |
Company information
| invokedUserId required | string (CloudUserEntity) ^USER_<OEM_([A-Z]+):([a-zA-Z\d]+)>:(\d+)$ Example: "USER_<OEM_JABLOTRON:Jablotron>:52325" Unique identification of CLOUD user account e.g. |
| userLogin required | string <email> (Email) Example: "tomas.janda@jablotron.cz" Email address |
| keepCurrentOwnerInCompany required | boolean Default: true If true, current owner will be kept in the company with role INSTALLER |
{- "userLogin": "tomas.janda@jablotron.cz",
- "keepCurrentOwnerInCompany": true,
- "invokedUserId": "USER_<OEM_JABLOTRON:Jablotron>:52325"
}{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| serviceEntityId required | string (SERVICE_ENTITY) ^SERVICE_(\w+):([\d]+)$ Example: SERVICE_JA100F:242566 Cloud entity id of end user Service |
object non-empty | |||||||||||
| |||||||||||
object non-empty | |||||||||||
| |||||||||||
{- "centralUnit": {
- "registrationKey": "LAS6D-U2VBG-UHX65",
- "serialNumber": "F9301214",
- "firmware": "MD6112.05.1",
- "hardware": "MD6112.05.1"
}, - "gsm": {
- "imsi": "230015123456789",
- "imei": "490154203237518",
- "operator": "Vodafone CZ",
- "rssi": 95,
- "spn": "JABLOTRON SDC"
}
}| serviceEntityId required | string (SERVICE_ENTITY) ^SERVICE_(\w+):([\d]+)$ Example: SERVICE_JA100F:242566 Cloud entity id of end user Service |
| componentType | Array of strings (EndUserComponentType) non-empty unique Items Enum: "SECTION" "ACTOR" "CAMERA" "THERMOMETER" "PULSE_METER" Type of cloud component, default is SECTION |
Array of objects (BasicComponentModelWithPermissions) non-empty unique | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects (BasicComponentModelWithPermissions) non-empty unique | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects (BasicComponentModelWithPermissions) non-empty unique | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects (BasicComponentModelWithPermissions) non-empty unique | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects (BasicComponentModelWithPermissions) non-empty unique | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects (BasicComponentModelWithPermissions) non-empty unique | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of THERMOSTAT_V2 (object) or THERMOSTAT (object) non-empty unique | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array (non-empty) One of
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects (BasicComponentModelWithPermissions) non-empty unique | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "sections": [
- {
- "id": "SECTION_<OBJECT_JA100F:12345>:1",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}, - "permissions": {
- "stateView": false,
- "historyRead": false,
- "componentShare": false,
- "photoRead": false,
- "componentNameModify": false,
- "componentControl": false,
- "componentConfigure": false,
- "notificationModify": false,
- "gpsPositionRead": false,
- "gpsHistoryRead": false,
- "cameraStreamRead": false,
- "cameraRecordRead": false,
- "videoClipRead": false,
- "videoClipModify": false,
- "jaPayRead": false,
- "jaPayModify": false
}, - "status": "DISARMED",
- "statusDate": "2019-08-24T14:15:22Z",
- "partialArmEnabled": true
}
], - "actors": [
- {
- "id": "SECTION_<OBJECT_JA100F:12345>:1",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}, - "permissions": {
- "stateView": false,
- "historyRead": false,
- "componentShare": false,
- "photoRead": false,
- "componentNameModify": false,
- "componentControl": false,
- "componentConfigure": false,
- "notificationModify": false,
- "gpsPositionRead": false,
- "gpsHistoryRead": false,
- "cameraStreamRead": false,
- "cameraRecordRead": false,
- "videoClipRead": false,
- "videoClipModify": false,
- "jaPayRead": false,
- "jaPayModify": false
}, - "status": "ON",
- "statusDate": "2019-08-24T14:15:22Z",
- "reaction": "PULSE",
- "interval": "-P1DT10M",
- "controllable": true
}
], - "cameras": [
- {
- "id": "SECTION_<OBJECT_JA100F:12345>:1",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}, - "permissions": {
- "stateView": false,
- "historyRead": false,
- "componentShare": false,
- "photoRead": false,
- "componentNameModify": false,
- "componentControl": false,
- "componentConfigure": false,
- "notificationModify": false,
- "gpsPositionRead": false,
- "gpsHistoryRead": false,
- "cameraStreamRead": false,
- "cameraRecordRead": false,
- "videoClipRead": false,
- "videoClipModify": false,
- "jaPayRead": false,
- "jaPayModify": false
}, - "arcConnectionStatus": "NONE",
- "lastPicture": {
- "occurredAt": "2019-08-24T14:15:22Z"
}, - "macAddress": "54:c4:15:8c:56:df"
}
], - "customCameras": [
- {
- "id": "SECTION_<OBJECT_JA100F:12345>:1",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}, - "permissions": {
- "stateView": false,
- "historyRead": false,
- "componentShare": false,
- "photoRead": false,
- "componentNameModify": false,
- "componentControl": false,
- "componentConfigure": false,
- "notificationModify": false,
- "gpsPositionRead": false,
- "gpsHistoryRead": false,
- "cameraStreamRead": false,
- "cameraRecordRead": false,
- "videoClipRead": false,
- "videoClipModify": false,
- "jaPayRead": false,
- "jaPayModify": false
}, - "streamUrl": "rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mp4"
}
], - "cameraDetectors": [
- {
- "id": "SECTION_<OBJECT_JA100F:12345>:1",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}, - "permissions": {
- "stateView": false,
- "historyRead": false,
- "componentShare": false,
- "photoRead": false,
- "componentNameModify": false,
- "componentControl": false,
- "componentConfigure": false,
- "notificationModify": false,
- "gpsPositionRead": false,
- "gpsHistoryRead": false,
- "cameraStreamRead": false,
- "cameraRecordRead": false,
- "videoClipRead": false,
- "videoClipModify": false,
- "jaPayRead": false,
- "jaPayModify": false
}, - "lastPicture": {
- "occurredAt": "2019-08-24T14:15:22Z"
}
}
], - "thermometers": [
- {
- "id": "SECTION_<OBJECT_JA100F:12345>:1",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}, - "permissions": {
- "stateView": false,
- "historyRead": false,
- "componentShare": false,
- "photoRead": false,
- "componentNameModify": false,
- "componentControl": false,
- "componentConfigure": false,
- "notificationModify": false,
- "gpsPositionRead": false,
- "gpsHistoryRead": false,
- "cameraStreamRead": false,
- "cameraRecordRead": false,
- "videoClipRead": false,
- "videoClipModify": false,
- "jaPayRead": false,
- "jaPayModify": false
}, - "currentTemperature": -13.5,
- "currentTemperatureTime": "2019-08-24T14:15:22Z",
- "heatingState": "NOT_CONFIGURED",
- "settings": {
- "minimumTemperature": -13.5,
- "maximumTemperature": -13.5,
- "triggerTemperature": -13.5
}
}
], - "thermostats": [
- {
- "id": "SECTION_<OBJECT_JA100F:12345>:1",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}, - "permissions": {
- "stateView": false,
- "historyRead": false,
- "componentShare": false,
- "photoRead": false,
- "componentNameModify": false,
- "componentControl": false,
- "componentConfigure": false,
- "notificationModify": false,
- "gpsPositionRead": false,
- "gpsHistoryRead": false,
- "cameraStreamRead": false,
- "cameraRecordRead": false,
- "videoClipRead": false,
- "videoClipModify": false,
- "jaPayRead": false,
- "jaPayModify": false
}, - "currentTemperature": -13.5,
- "currentTemperatureTime": "2019-08-24T14:15:22Z",
- "currentMode": {
- "calendarMode": "ECONOMIC",
- "mode": "MANUAL",
- "temperature": -13.5,
- "lastChange": "2019-08-24T14:15:22Z"
}, - "currentTemperatureFloor": -13.5,
- "currentTemperatureFloorTime": "2019-08-24T14:15:22Z",
- "currentHumidity": 100,
- "currentHumidityTime": "2019-08-24T14:15:22Z",
- "currentCo2Concentration": 0,
- "currentCo2ConcentrationTime": "2019-08-24T14:15:22Z",
- "actorState": "NOT_CONFIGURED",
- "ventilationState": "NOT_CONFIGURED",
- "thermostatMode": "HEATING",
- "floorThermometerEnabled": false,
- "settings": {
- "minimumTemperature": -13.5,
- "maximumTemperature": -13.5,
- "economyTemperature": -13.5,
- "comfortTemperature": -13.5,
- "standbyTemperature": -13.5
}, - "meta": {
- "measurables": [
- [
- "TEMPERATURE",
- "CO2_CONCENTRATION"
]
]
}, - "$type": "THERMOSTAT_V2"
}
], - "pulseMeters": [
- {
- "id": "SECTION_<OBJECT_JA100F:12345>:1",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}, - "permissions": {
- "stateView": false,
- "historyRead": false,
- "componentShare": false,
- "photoRead": false,
- "componentNameModify": false,
- "componentControl": false,
- "componentConfigure": false,
- "notificationModify": false,
- "gpsPositionRead": false,
- "gpsHistoryRead": false,
- "cameraStreamRead": false,
- "cameraRecordRead": false,
- "videoClipRead": false,
- "videoClipModify": false,
- "jaPayRead": false,
- "jaPayModify": false
}, - "isConfigured": true,
- "manualConsumptionAlignment": true,
- "summary": {
- "lastMeasureDate": "2019-08-24T14:15:22Z",
- "totalConsumption": 15.2365,
- "totalConsumptionLo": 15.2365,
- "totalConsumptionHi": 15.2365,
- "totalCost": 1.52,
- "totalCostLo": 1.52,
- "totalCostHi": 1.52,
- "currentMonthConsumption": 15.2365,
- "currentMonthConsumptionLo": 15.2365,
- "currentMonthConsumptionHi": 15.2365,
- "currentMonthCost": 1.52,
- "currentMonthCostLo": 1.52,
- "currentMonthCostHi": 1.52,
- "todayConsumptionLo": 15.2365,
- "todayConsumptionHi": 15.2365,
- "todayConsumption": 15.2365,
- "todayCostLo": 1.52,
- "todayCostHi": 1.52,
- "todayCost": 1.52,
- "meta": {
- "unit": "KWH",
- "currency": "AED",
- "displayMode": "SINGLE"
}
}
}
]
}| serviceEntityId required | string (SERVICE_ENTITY) ^SERVICE_(\w+):([\d]+)$ Example: SERVICE_JA100F:242566 Cloud entity id of end user Service |
required | object | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
Array of SECURITY_SYSTEM_SECTION (object) or ACTOR (object) | |||||||||||||||||||||||||||
Array One of
| |||||||||||||||||||||||||||
{- "global": {
- "serviceMode": false,
- "maintenance": false,
- "alarm": {
- "intrusion": false,
- "fire": false,
- "flood": false,
- "gas": false,
- "panic": false,
- "sabotage": false,
- "health": false,
- "overCode": false
}, - "trouble": false
}, - "components": [
- {
- "$type": "SECURITY_SYSTEM_SECTION",
- "state": "ARMED",
- "count": 16
}
]
}| serviceEntityId required | string (SERVICE_ENTITY) ^SERVICE_(\w+):([\d]+)$ Example: SERVICE_JA100F:242566 Cloud entity id of end user Service |
Array of objects non-empty | |||||||||||||||||||||||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||||||||||||||||||||||
Array of objects non-empty | |||||||||||||||||||||||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||||||||||||||||||||||
Array of objects (StateDetail) non-empty unique | |||||||||||||||||||||||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||||||||||||||||||||||
object (StateDetail) | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
{- "troubles": [
- {
- "occurredAt": "2019-08-24T14:15:22Z",
- "subject": {
- "id": "SECTION_<OBJECT_JA100F:12345>:1",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}
}, - "invoker": {
- "id": "SECTION_<OBJECT_JA100F:12345>:1",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}
}, - "type": "FAULT"
}
], - "alarms": [
- {
- "occurredAt": "2019-08-24T14:15:22Z",
- "subject": {
- "id": "SECTION_<OBJECT_JA100F:12345>:1",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}
}, - "invoker": {
- "id": "SECTION_<OBJECT_JA100F:12345>:1",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}
}, - "type": "INTRUSION"
}
], - "maintenances": [
- {
- "occurredAt": "2019-08-24T14:15:22Z",
- "subject": {
- "id": "SECTION_<OBJECT_JA100F:12345>:1",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}
}, - "invoker": {
- "id": "SECTION_<OBJECT_JA100F:12345>:1",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}
}
}
], - "service": {
- "occurredAt": "2019-08-24T14:15:22Z",
- "subject": {
- "id": "SECTION_<OBJECT_JA100F:12345>:1",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}
}, - "invoker": {
- "id": "SECTION_<OBJECT_JA100F:12345>:1",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}
}
}
}| serviceEntityId required | string (SERVICE_ENTITY) ^SERVICE_(\w+):([\d]+)$ Example: SERVICE_JA100F:242566 Cloud entity id of end user Service |
Control action object
required | Array of SECTION_COMMAND (object) or ACTOR_COMMAND (object) or PERIPHERAL_COMMAND (object) or PICTURE_COMMAND (object) or DEVICE_CONFIGURATION (object) or DEVICE_STATUS (object) or DEVICE_EVENTS (object) or DEVICE_RESET (object) or CHECK_AUTHORIZATION (object) (ControlActions) non-empty unique List of wanted control actions | ||||||
Array (non-empty) One of
| |||||||
Array of objects (Authorizations) [ 1 .. 2 ] items unique Authorization data for control to identify the user on the device | |||||||
Array ([ 1 .. 2 ] items)
| |||||||
required | Array of SECTION_CONTROL_STATUS (object) or ACTOR_CONTROL_STATUS (object) or PERIPHERAL_CONTROL_STATUS (object) or PICTURE_CONTROL_STATUS (object) or DEVICE_CONFIGURATION_STATUS (object) or DEVICE_STATUS (object) or DEVICE_EVENTS (object) or DEVICE_RESET (object) or CHECK_AUTHORIZATION (object) (ComponentControlResponseStatus) non-empty unique | ||||||||||||||||||
Array (non-empty) One of
| |||||||||||||||||||
object (Meta) non-empty | |||||||||||||||||||
| |||||||||||||||||||
Array of SECTION_STATE (object) or ACTOR_STATE (object) or COMPONENT_STATE (object) (ControlResponseStates) non-empty unique | |||||||||||||||||||
Array (non-empty) One of
| |||||||||||||||||||
{- "authorizations": [
- {
- "type": "CODE",
- "value": "2*1234"
}
], - "controls": [
- {
- "componentId": "SECTION_<OBJECT_JA100F:242566>:1",
- "action": "ARM"
}
]
}{- "meta": {
- "firmware": "MD6112.05.1",
- "behavior": 55,
- "registrationKey": "L2ASM-ZSVD3-UULS8"
}, - "controls": [
- {
- "componentId": "SECTION_<OBJECT_JA100F:242566>:1",
- "status": "SUCCESS",
- "details": {
- "$type": "BLOCKING_COMPONENTS",
- "bypassable": false,
- "clientTimerSeconds": 8,
- "components": [
- "COMPONENT_<OBJECT_JA100F:242566>:25"
]
}
}
], - "states": [
- {
- "componentId": "SECTION_<OBJECT_JA100F:242566>:1",
- "state": "ARM",
- "name": "PIR Bedroom",
- "hasActiveAlarms": true,
- "canBeControlled": true
}
]
}| serviceEntityId required | string (SERVICE_ENTITY) ^SERVICE_(\w+):([\d]+)$ Example: SERVICE_JA100F:242566 Cloud entity id of end user Service |
| meta | boolean Default: false Return meta information like list of timezone |
| name required | string (ObjectOrServiceName) [ 1 .. 64 ] characters Example: "My House" Name of object or service | ||||||||||||||||
| timeZone required | string (TimeZone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" … 409 more Example: "Europe/Prague" IANA timezone definition | ||||||||||||||||
| installerAccessLevel required | string (InstallerAccessLevel) Enum: "NONE" "TECHNICAL_INFO" "ALL" Access level of installer company | ||||||||||||||||
| historyExpiration required | string (HistoryExpiration) Enum: "NONE" "P30D" "P90D" Object history expiration, default is NONE - Lifetime | ||||||||||||||||
| objectRegistrationDate | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification | ||||||||||||||||
| voiceNotificationPrefix | string (VoiceNotificationPrefix) [ 1 .. 50 ] characters Example: "My house" | ||||||||||||||||
object | |||||||||||||||||
| |||||||||||||||||
object | |||||||||||||||||
| |||||||||||||||||
object | |||||||||||||||||
| |||||||||||||||||
object | |||||||||||||||||
| |||||||||||||||||
{- "name": "My House",
- "timeZone": "Europe/Prague",
- "installerAccessLevel": "NONE",
- "historyExpiration": "NONE",
- "objectRegistrationDate": "2019-08-24T14:15:22Z",
- "voiceNotificationPrefix": "My house",
- "device": {
- "family": "JA100F",
- "model": "JA-101K LAN 3G",
- "registrationKey": "LAS6D-U2VBG-UHX65",
- "phoneNumber": "+420739259931",
- "firmware": {
- "date": "2019-08-24T14:15:22Z",
- "version": "MD6112.07.1.2dbg"
}
}, - "installerCompany": {
- "name": "Company s.r.o.",
- "email": "tomas.janda@jablotron.cz",
- "phoneNumber": "+420739259931",
- "shareContactInformation": false,
}, - "distributor": {
- "name": "Company s.r.o.",
- "email": "tomas.janda@jablotron.cz",
- "phoneNumber": "+420739259931",
}, - "meta": {
- "timeZoneList": [
- "Europe/Prague"
]
}
}| serviceEntityId required | string (SERVICE_ENTITY) ^SERVICE_(\w+):([\d]+)$ Example: SERVICE_JA100F:242566 Cloud entity id of end user Service |
Service settings
| name | string (ObjectOrServiceName) [ 1 .. 64 ] characters Example: "My House" Name of object or service |
| timeZone | string (TimeZone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" … 409 more Example: "Europe/Prague" IANA timezone definition |
| installerAccessLevel | string (InstallerAccessLevel) Enum: "NONE" "TECHNICAL_INFO" "ALL" Access level of installer company |
| historyExpiration | string (HistoryExpiration) Enum: "NONE" "P30D" "P90D" Object history expiration, default is NONE - Lifetime |
VoiceNotificationPrefix (string) or null null only for PATCH to remove current value | |
One of [ 1 .. 50 ] characters string (VoiceNotificationPrefix) [ 1 .. 50 ] characters null only for PATCH to remove current value | |
{- "name": "My House",
- "timeZone": "Europe/Prague",
- "installerAccessLevel": "NONE",
- "historyExpiration": "NONE",
- "voiceNotificationPrefix": "My house"
}{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| serviceEntityId required | string (SERVICE_ENTITY) ^SERVICE_(\w+):([\d]+)$ Example: SERVICE_JA100F:242566 Cloud entity id of end user Service |
| role | string (ServiceAccessRole) Enum: "OWNER" "READ" "CONTROL" "SHARE" "CUSTOM" | ||||
object (ServiceGlobalPermissionViewAndModify) | |||||
| |||||
object (ServiceGlobalPermissionViewAndModify) | |||||
| |||||
object (ServiceGlobalPermissionViewAndModify) | |||||
| |||||
object (ServiceGlobalPermissionViewAndModify) | |||||
| |||||
object (ServiceGlobalPermissionView) | |||||
| |||||
object (DeviceConfigurationPermissionView) | |||||
| |||||
object (ServiceGlobalPermissionViewAndModify) | |||||
| |||||
{- "role": "OWNER",
- "timeZone": {
- "view": true,
- "modify": true
}, - "historyExpiration": {
- "view": true,
- "modify": true
}, - "installerAccessLevel": {
- "view": true,
- "modify": true
}, - "voiceNotificationPrefix": {
- "view": true,
- "modify": true
}, - "installerCompany": {
- "view": true
}, - "deviceConfiguration": {
- "view": true,
- "deviceConfigurationId": "DEVICE_CLOUDSN:F0500001"
}, - "jaPay": {
- "view": true,
- "modify": true
}
}| serviceEntityId required | string (SERVICE_ENTITY) ^SERVICE_(\w+):([\d]+)$ Example: SERVICE_JA100F:242566 Cloud entity id of end user Service |
required | object (SharingDetailMe) Common object of cloud user detail | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
Array of objects (SharedAccountForList) non-empty List of users with access to selected service and current user | |||||||||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||||||||
object non-empty | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
{- "me": {
- "userLogin": "tomas.janda@jablotron.cz",
- "userId": "USER_<OEM_JABLOTRON:Jablotron>:52325",
- "role": "OWNER",
- "canModifySharing": true,
- "owner": {
- "userLogin": "tomas.janda@jablotron.cz",
- "userId": "USER_<OEM_JABLOTRON:Jablotron>:52325"
}, - "sharingUser": {
- "userLogin": "tomas.janda@jablotron.cz",
- "userId": "USER_<OEM_JABLOTRON:Jablotron>:52325",
- "createdDate": "2019-08-24T14:15:22Z"
}
}, - "accesses": [
- {
- "userLogin": "tomas.janda@jablotron.cz",
- "userId": "USER_<OEM_JABLOTRON:Jablotron>:52325",
- "role": "OWNER",
- "canModify": true,
- "canDelete": true
}
], - "serviceSharingPermissions": {
- "components": [
- {
- "$type": "SECTION",
- "id": "COMPONENT_<OBJECT_JA100F:242566>:25",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}
}
], - "global": [
- {
- "$type": "JA_PAY_READ"
}
]
}
}| serviceEntityId required | string (SERVICE_ENTITY) ^SERVICE_(\w+):([\d]+)$ Example: SERVICE_JA100F:242566 Cloud entity id of end user Service |
User access
| role required | string (ServiceAccessRole) Enum: "OWNER" "READ" "CONTROL" "SHARE" "CUSTOM" | ||||||||||||||||||||||
| userLogin required | string <email> (Email) Example: "tomas.janda@jablotron.cz" Email address | ||||||||||||||||||||||
Array of objects (UserComponentForSharing) non-empty | |||||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||||
Array of objects (PermissionGroupGlobal) non-empty unique | |||||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||||
| userId required | string (CloudUserEntity) ^USER_<OEM_([A-Z]+):([a-zA-Z\d]+)>:(\d+)$ Example: "USER_<OEM_JABLOTRON:Jablotron>:52325" Unique identification of CLOUD user account e.g. |
{- "userLogin": "tomas.janda@jablotron.cz",
- "role": "OWNER",
- "components": [
- {
- "id": "COMPONENT_<OBJECT_JA100F:242566>:25",
- "permissions": {
- "$type": "SECTION_PERMISSIONS",
- "stateView": false,
- "historyRead": false,
- "componentControl": false,
- "notificationModify": false,
- "componentShare": false,
- "componentNameModify": false
}
}
], - "global": [
- {
- "$type": "JA_PAY_READ"
}
]
}{- "userId": "USER_<OEM_JABLOTRON:Jablotron>:52325"
}| serviceEntityId required | string (SERVICE_ENTITY) ^SERVICE_(\w+):([\d]+)$ Example: SERVICE_JA100F:242566 Cloud entity id of end user Service |
| userEntity required | string (CLOUD_USER) ^USER_ Example: USER_<OEM_JABLOTRON:Jablotron>:52325 Entity id of wanted CLOUD user |
| displayType | string Default: "COMPONENT" Enum: "COMPONENT" "ACCESS" Example: displayType=ACCESS Return details by components or by access |
Array of objects (AccessComponentUserAccess) non-empty | |||||||||||||||||||||||||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||||||||||||||||||||||||
Array of objects (GlobalPermissionWithAccess) non-empty unique | |||||||||||||||||||||||||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||||||||||||||||||||||||
{- "components": [
- {
- "$type": "SECTION",
- "id": "COMPONENT_<OBJECT_JA100F:242566>:25",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}, - "accesses": [
- {
- "userLogin": "tomas.janda@jablotron.cz",
- "userId": "USER_<OEM_JABLOTRON:Jablotron>:52325",
- "permissions": {
- "$type": "SECTION_PERMISSIONS",
- "stateView": false,
- "historyRead": false,
- "componentControl": false,
- "notificationModify": false,
- "componentShare": false,
- "componentNameModify": false
}
}
]
}
], - "global": [
- {
- "$type": "JA_PAY_READ",
- "accesses": [
- "USER_<OEM_JABLOTRON:Jablotron>:52325"
]
}
]
}| serviceEntityId required | string (SERVICE_ENTITY) ^SERVICE_(\w+):([\d]+)$ Example: SERVICE_JA100F:242566 Cloud entity id of end user Service |
| userEntity required | string (CLOUD_USER) ^USER_ Example: USER_<OEM_JABLOTRON:Jablotron>:52325 Entity id of wanted CLOUD user |
{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| serviceEntityId required | string (SERVICE_ENTITY) ^SERVICE_(\w+):([\d]+)$ Example: SERVICE_JA100F:242566 Cloud entity id of end user Service |
| userEntity required | string (CLOUD_USER) ^USER_ Example: USER_<OEM_JABLOTRON:Jablotron>:52325 Entity id of wanted CLOUD user |
User access changes
| role required | string (ServiceAccessRole) Enum: "OWNER" "READ" "CONTROL" "SHARE" "CUSTOM" | ||||||||||||||||||||||
Array of objects (UserComponentForSharing) non-empty | |||||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||||
Array of objects | |||||||||||||||||||||||
Array
| |||||||||||||||||||||||
{- "role": "OWNER",
- "components": [
- {
- "id": "COMPONENT_<OBJECT_JA100F:242566>:25",
- "permissions": {
- "$type": "SECTION_PERMISSIONS",
- "stateView": false,
- "historyRead": false,
- "componentControl": false,
- "notificationModify": false,
- "componentShare": false,
- "componentNameModify": false
}
}
], - "global": [
- {
- "$type": "JA_PAY_READ",
- "allowed": true
}
]
}{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| contactId required | string <uuid> (UuidString) Example: 296ffe8b-2f9e-4c69-939d-5b996b73681f UUIDv4 of notification contact |
| serviceEntityId required | string (SERVICE_ENTITY) ^SERVICE_(\w+):([\d]+)$ Example: SERVICE_JA100F:242566 Cloud entity id of end user Service |
| id required | string (NotificationSettingId) ^(?:SECURITY_SYSTEM|HOME_AUTOMATION)-[0-9(a-f... Example: "SECURITY_SYSTEM-296ffe8b-2f9e-4c69-939d-5b996b73681f" | ||||||||||||||
required | object (NotificationContactBase) | ||||||||||||||
| |||||||||||||||
| category required | string (schemas-NotificationCategory) ^[A-Z\.\_]{1,}[A-Z]$ Example: "SECURITY_SYSTEM.CONSUMPTION_EXCEEDED" Allowed values:
| ||||||||||||||
| languageCode required | string (LanguageCode) Enum: "CS" "DA" "DE" "EL" "EN" "ES" "FI" "FR" "HR" "HU" … 15 more | ||||||||||||||
| canEdit required | boolean (CanEdit) User can edit this entity | ||||||||||||||
| canRemove required | boolean (CanEdit) User can edit this entity | ||||||||||||||
object (NotificationComponentBase) | |||||||||||||||
| |||||||||||||||
TEMPERATURE_SETTING (object) or CONSUMPTION_SETTING (object) | |||||||||||||||
One of
| |||||||||||||||
object | |||||||||||||||
| |||||||||||||||
| isCritical | boolean Indicates if the notification is critical | ||||||||||||||
| soundCategory | string (SoundCategory) Enum: "ALARM" "ALARM2" "ALARM_LONG" "ARMED" "DISARMED" "ACTOR" "FAILURE" "INFO" "NONE" Sound category for the notification | ||||||||||||||
| created | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification | ||||||||||||||
[- {
- "id": "SECURITY_SYSTEM-296ffe8b-2f9e-4c69-939d-5b996b73681f",
- "contact": {
- "id": "296ffe8b-2f9e-4c69-939d-5b996b73681f",
- "target": "296ffe8b-2f9e-4c69-939d-5b996b73681f",
- "label": "My iPhone"
}, - "category": "SECURITY_SYSTEM.CONSUMPTION_EXCEEDED",
- "languageCode": "CS",
- "component": {
- "id": "SECTION_<OBJECT_JA100F:242566>:1",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}
}, - "settings": {
- "$type": "TEMPERATURE",
- "temperature": -13.5,
- "hysteresis": -13.5
}, - "validity": {
- "from": "20:15",
- "to": "20:15"
}, - "isCritical": true,
- "soundCategory": "ALARM",
- "canEdit": true,
- "canRemove": true,
- "created": "2019-08-24T14:15:22Z"
}
]| contactId required | string <uuid> (UuidString) Example: 296ffe8b-2f9e-4c69-939d-5b996b73681f UUIDv4 of notification contact |
| serviceEntityId required | string (SERVICE_ENTITY) ^SERVICE_(\w+):([\d]+)$ Example: SERVICE_JA100F:242566 Cloud entity id of end user Service |
Bulk notification settings
| clientCustomId required | string (ClientCustomId) non-empty Example: "contact-01" Custom client identification of object | ||||||
| category required | string (schemas-NotificationCategory) ^[A-Z\.\_]{1,}[A-Z]$ Example: "SECURITY_SYSTEM.CONSUMPTION_EXCEEDED" Allowed values:
| ||||||
| languageCode required | string (LanguageCode) Enum: "CS" "DA" "DE" "EL" "EN" "ES" "FI" "FR" "HR" "HU" … 15 more | ||||||
TEMPERATURE_SETTING (object) or CONSUMPTION_SETTING (object) | |||||||
One of
| |||||||
object | |||||||
| |||||||
| isCritical | boolean Indicates if the notification is critical | ||||||
| soundCategory | string (SoundCategory) Enum: "ALARM" "ALARM2" "ALARM_LONG" "ARMED" "DISARMED" "ACTOR" "FAILURE" "INFO" "NONE" Sound category for the notification | ||||||
SECTION (string) or ACTOR (string) or COMPONENT (string) (NotificationSettingComponent) | |||||||
One of string (SECTION) ^SECTION_<(OBJECT_(\w+):[\d]+)>:([\d]+)$ | |||||||
[- {
- "clientCustomId": "contact-01",
- "category": "SECURITY_SYSTEM.CONSUMPTION_EXCEEDED",
- "languageCode": "CS",
- "settings": {
- "$type": "TEMPERATURE",
- "temperature": -13.5,
- "hysteresis": -13.5
}, - "validity": {
- "from": "20:15",
- "to": "20:15"
}, - "isCritical": true,
- "soundCategory": "ALARM",
- "componentId": "SECTION_<OBJECT_JA100F:242566>:1"
}
][- {
- "clientCustomId": "contact-01",
- "id": "SECURITY_SYSTEM-85ba5dea-52b2-4408-a4f9-50a3d774972a",
- "result": {
- "success": true
}
}
]| serviceEntityId required | string (SERVICE_ENTITY) ^SERVICE_(\w+):([\d]+)$ Example: SERVICE_JA100F:242566 Cloud entity id of end user Service |
Contacts filter
| active | boolean (Active) Filter only active or inactive contacts, default is both of them | ||||||
| valid | boolean (Valid) Filter only valid or invalid contacts, default is both of them | ||||||
Array of objects (TargetTypeFilter) non-empty unique [ items non-empty ] | |||||||
Array (non-empty)
| |||||||
| id required | string <uuid> (UuidString) Example: "296ffe8b-2f9e-4c69-939d-5b996b73681f" | ||||
required | APP_INSTANCE_ID (string) or PHONE_NUMBER (string) or EMAIL (string) (Target) | ||||
Any of [ 1 .. 128 ] characters string (APP_INSTANCE_ID) [ 1 .. 128 ] characters | |||||
| type required | string (ContactType) Enum: "SMS" "VOICE" "PUSH" "EMAIL" Example: "PUSH" | ||||
required | object (UserAccountDetail) Common object of cloud user detail | ||||
| |||||
| active required | boolean (Active) Filter only active or inactive contacts, default is both of them | ||||
| valid required | boolean (Valid) Filter only valid or invalid contacts, default is both of them | ||||
| canEdit required | boolean (CanEdit) User can edit this entity | ||||
| canRemove required | boolean (CanEdit) User can edit this entity | ||||
| created required | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification | ||||
| label | string or null (ContactLabel) [ 1 .. 64 ] characters Example: "My iPhone" | ||||
| settingsCount | number Example: "5" Current settings under this contact and service | ||||
{- "active": true,
- "valid": true,
- "targetType": [
- {
- "type": "PUSH",
- "target": "296ffe8b-2f9e-4c69-939d-5b996b73681f"
}
]
}[- {
- "id": "296ffe8b-2f9e-4c69-939d-5b996b73681f",
- "target": "296ffe8b-2f9e-4c69-939d-5b996b73681f",
- "label": "My iPhone",
- "type": "PUSH",
- "owner": {
- "userLogin": "tomas.janda@jablotron.cz",
- "userId": "USER_<OEM_JABLOTRON:Jablotron>:52325"
}, - "active": true,
- "valid": true,
- "settingsCount": 5,
- "canEdit": true,
- "canRemove": true,
- "created": "2019-08-24T14:15:22Z"
}
]| serviceEntityId required | string (SERVICE_ENTITY) ^SERVICE_(\w+):([\d]+)$ Example: SERVICE_JA100F:242566 Cloud entity id of end user Service |
required | SECTION (string) or ACTOR (string) or COMPONENT (string) (NotificationSettingComponent) | ||||||
One of string (SECTION) ^SECTION_<(OBJECT_(\w+):[\d]+)>:([\d]+)$ | |||||||
| defaultNameTK required | string (DefaultNameTK) non-empty Example: "SecuritySystem:Intrusion alarm activation" Default translation key when name in configuration does not exist | ||||||
required | object (DefaultNameTVar) | ||||||
| |||||||
| type required | string Enum: "SECTION" "ACTOR" "THERMOMETER" "THERMOSTAT" "PULSE_METER" | ||||||
| allowedCategories required | Array of strings (schemas-NotificationCategory) non-empty unique [ items^[A-Z\.\_]{1,}[A-Z]$ ] Example: ["SECURITY_SYSTEM.CONSUMPTION_EXCEEDED"] | ||||||
| name | string (ComponentEntityName) [ 1 .. 24 ] characters Example: "PIR Bedroom" Name of component | ||||||
PULSE_METER_SETTINGS (object) | |||||||
One of
| |||||||
[- {
- "id": "SECTION_<OBJECT_JA100F:242566>:1",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}, - "type": "SECTION",
- "allowedCategories": [
- "SECURITY_SYSTEM.CONSUMPTION_EXCEEDED"
], - "meta": {
- "unit": "KWH",
- "currency": "AED",
- "$type": "PULSE_METER_SETTINGS"
}
}
]Notification settings
| id required | string (NotificationSettingId) ^(?:SECURITY_SYSTEM|HOME_AUTOMATION)-[0-9(a-f... Example: "SECURITY_SYSTEM-296ffe8b-2f9e-4c69-939d-5b996b73681f" | ||||||
| languageCode | string (LanguageCode) Enum: "CS" "DA" "DE" "EL" "EN" "ES" "FI" "FR" "HR" "HU" … 15 more | ||||||
TEMPERATURE_SETTING (object) or CONSUMPTION_SETTING (object) | |||||||
One of
| |||||||
object or null | |||||||
One of
| |||||||
| isCritical | boolean Indicates if the notification is critical | ||||||
| soundCategory | string (SoundCategory) Enum: "ALARM" "ALARM2" "ALARM_LONG" "ARMED" "DISARMED" "ACTOR" "FAILURE" "INFO" "NONE" Sound category for the notification | ||||||
[- {
- "id": "SECURITY_SYSTEM-296ffe8b-2f9e-4c69-939d-5b996b73681f",
- "languageCode": "CS",
- "settings": {
- "$type": "TEMPERATURE",
- "temperature": -13.5,
- "hysteresis": -13.5
}, - "validity": {
- "from": "20:15",
- "to": "20:15"
}, - "isCritical": true,
- "soundCategory": "ALARM"
}
][- {
- "clientCustomId": "contact-01",
- "id": "SECURITY_SYSTEM-85ba5dea-52b2-4408-a4f9-50a3d774972a",
- "result": {
- "success": true
}
}
]Notification settings
| id required | string (NotificationSettingId) ^(?:SECURITY_SYSTEM|HOME_AUTOMATION)-[0-9(a-f... Example: "SECURITY_SYSTEM-296ffe8b-2f9e-4c69-939d-5b996b73681f" |
[- {
- "id": "SECURITY_SYSTEM-296ffe8b-2f9e-4c69-939d-5b996b73681f"
}
][- {
- "clientCustomId": "contact-01",
- "id": "SECURITY_SYSTEM-85ba5dea-52b2-4408-a4f9-50a3d774972a",
- "result": {
- "success": true
}
}
]| settingId required | string (NotificationSettingId) ^(?:SECURITY_SYSTEM|HOME_AUTOMATION)-[0-9(a-f... Example: SECURITY_SYSTEM-296ffe8b-2f9e-4c69-939d-5b996b73681f UUIDv4 of notification settings with context prefix |
| id required | string (NotificationSettingId) ^(?:SECURITY_SYSTEM|HOME_AUTOMATION)-[0-9(a-f... Example: "SECURITY_SYSTEM-296ffe8b-2f9e-4c69-939d-5b996b73681f" | ||||||||||||||
required | object (NotificationContactBase) | ||||||||||||||
| |||||||||||||||
| category required | string (schemas-NotificationCategory) ^[A-Z\.\_]{1,}[A-Z]$ Example: "SECURITY_SYSTEM.CONSUMPTION_EXCEEDED" Allowed values:
| ||||||||||||||
| languageCode required | string (LanguageCode) Enum: "CS" "DA" "DE" "EL" "EN" "ES" "FI" "FR" "HR" "HU" … 15 more | ||||||||||||||
| canEdit required | boolean (CanEdit) User can edit this entity | ||||||||||||||
| canRemove required | boolean (CanEdit) User can edit this entity | ||||||||||||||
object (NotificationComponentBase) | |||||||||||||||
| |||||||||||||||
TEMPERATURE_SETTING (object) or CONSUMPTION_SETTING (object) | |||||||||||||||
One of
| |||||||||||||||
object | |||||||||||||||
| |||||||||||||||
| isCritical | boolean Indicates if the notification is critical | ||||||||||||||
| soundCategory | string (SoundCategory) Enum: "ALARM" "ALARM2" "ALARM_LONG" "ARMED" "DISARMED" "ACTOR" "FAILURE" "INFO" "NONE" Sound category for the notification | ||||||||||||||
| created | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification | ||||||||||||||
{- "id": "SECURITY_SYSTEM-296ffe8b-2f9e-4c69-939d-5b996b73681f",
- "contact": {
- "id": "296ffe8b-2f9e-4c69-939d-5b996b73681f",
- "target": "296ffe8b-2f9e-4c69-939d-5b996b73681f",
- "label": "My iPhone"
}, - "category": "SECURITY_SYSTEM.CONSUMPTION_EXCEEDED",
- "languageCode": "CS",
- "component": {
- "id": "SECTION_<OBJECT_JA100F:242566>:1",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}
}, - "settings": {
- "$type": "TEMPERATURE",
- "temperature": -13.5,
- "hysteresis": -13.5
}, - "validity": {
- "from": "20:15",
- "to": "20:15"
}, - "isCritical": true,
- "soundCategory": "ALARM",
- "canEdit": true,
- "canRemove": true,
- "created": "2019-08-24T14:15:22Z"
}Contacts
| clientCustomId required | string (ClientCustomId) non-empty Example: "contact-01" Custom client identification of object |
| type required | string (ContactType) Enum: "SMS" "VOICE" "PUSH" "EMAIL" Example: "PUSH" |
required | APP_INSTANCE_ID (string) or PHONE_NUMBER (string) or EMAIL (string) (Target) |
Any of [ 1 .. 128 ] characters string (APP_INSTANCE_ID) [ 1 .. 128 ] characters | |
| label | string or null (ContactLabel) [ 1 .. 64 ] characters Example: "My iPhone" |
[- {
- "clientCustomId": "contact-01",
- "type": "PUSH",
- "target": "296ffe8b-2f9e-4c69-939d-5b996b73681f",
- "label": "My iPhone"
}
][- {
- "clientCustomId": "contact-01",
- "id": "SECURITY_SYSTEM-85ba5dea-52b2-4408-a4f9-50a3d774972a",
- "result": {
- "success": true
}
}
]| contactId required | string <uuid> (UuidString) Example: 296ffe8b-2f9e-4c69-939d-5b996b73681f UUIDv4 of notification contact |
Target or label
APP_INSTANCE_ID (string) or PHONE_NUMBER (string) or EMAIL (string) (Target) | |
Any of [ 1 .. 128 ] characters string (APP_INSTANCE_ID) [ 1 .. 128 ] characters | |
| label | string or null (ContactLabel) [ 1 .. 64 ] characters Example: "My iPhone" |
{- "target": "296ffe8b-2f9e-4c69-939d-5b996b73681f",
- "label": "My iPhone"
}{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| contactId required | string <uuid> (UuidString) Example: 296ffe8b-2f9e-4c69-939d-5b996b73681f UUIDv4 of notification contact |
| serviceEntityId required | string (SERVICE_ENTITY) ^SERVICE_(\w+):([\d]+)$ Example: SERVICE_JA100F:242566 Cloud entity id of end user Service |
{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| componentEntityId required | string (DEVICE_COMPONENT_IN_PATH) ^(SECTION|COMPONENT|ACTOR|USER)_ Example: COMPONENT_<OBJECT_JA100F:12345>:1 Cloud entity id of component |
| $type required | string |
Currency (string) or null | |
One of string (Currency) Enum: "AED" "AFN" "ALL" "AMD" "ANG" "AOA" "ARS" "AUD" "AWG" "AZN" … 155 more Allowed CLOUD currencies | |
PulseMeterPrice (number) or null | |
One of >= 0.01 number <double> (PulseMeterPrice) >= 0.01 | |
PulseMeterPrice (number) or null | |
One of >= 0.01 number <double> (PulseMeterPrice) >= 0.01 | |
| displayMode | string (PulseMeterDisplayMode) Enum: "SINGLE" "DUAL" |
{- "$type": "ELECTRIC_METER_SETTINGS",
- "currency": "AED",
- "priceLo": 0.01,
- "priceHi": 0.01,
- "displayMode": "SINGLE"
}| componentEntityId required | string (DEVICE_COMPONENT_IN_PATH) ^(SECTION|COMPONENT|ACTOR|USER)_ Example: COMPONENT_<OBJECT_JA100F:12345>:1 Cloud entity id of component |
Component settings
| $type required | string |
Currency (string) or null | |
One of string (Currency) Enum: "AED" "AFN" "ALL" "AMD" "ANG" "AOA" "ARS" "AUD" "AWG" "AZN" … 155 more Allowed CLOUD currencies | |
PulseMeterPrice (number) or null | |
One of >= 0.01 number <double> (PulseMeterPrice) >= 0.01 | |
PulseMeterPrice (number) or null | |
One of >= 0.01 number <double> (PulseMeterPrice) >= 0.01 | |
| displayMode | string (PulseMeterDisplayMode) Enum: "SINGLE" "DUAL" |
| $type required | string |
Currency (string) or null | |
One of string (Currency) Enum: "AED" "AFN" "ALL" "AMD" "ANG" "AOA" "ARS" "AUD" "AWG" "AZN" … 155 more Allowed CLOUD currencies | |
PulseMeterPrice (number) or null | |
One of >= 0.01 number <double> (PulseMeterPrice) >= 0.01 | |
PulseMeterPrice (number) or null | |
One of >= 0.01 number <double> (PulseMeterPrice) >= 0.01 | |
| displayMode | string (PulseMeterDisplayMode) Enum: "SINGLE" "DUAL" |
{- "$type": "ELECTRIC_METER_SETTINGS",
- "currency": "AED",
- "priceLo": 0.01,
- "priceHi": 0.01,
- "displayMode": "SINGLE"
}{- "$type": "ELECTRIC_METER_SETTINGS",
- "currency": "AED",
- "priceLo": 0.01,
- "priceHi": 0.01,
- "displayMode": "SINGLE"
}| componentEntityId required | string (DEVICE_COMPONENT_IN_PATH) ^(SECTION|COMPONENT|ACTOR|USER)_ Example: COMPONENT_<OBJECT_JA100F:12345>:1 Cloud entity id of component |
Component mode
| $type required | string |
| mode required | string Enum: "MANUAL" "CALENDAR" "MANUAL_TEMPORARY" "STANDBY" Current thermostat mode |
| temperature | number <float> (Temperature) Example: "-13.5" Temperature in Celsius, formatted to 1 decimal place (-99.9 - +99.9) |
| lastChange | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification |
| $type required | string |
| mode required | string Enum: "MANUAL" "CALENDAR" "MANUAL_TEMPORARY" "STANDBY" Current thermostat mode |
| temperature | number <float> (Temperature) Example: "-13.5" Temperature in Celsius, formatted to 1 decimal place (-99.9 - +99.9) |
| lastChange | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification |
{- "mode": "MANUAL",
- "temperature": -13.5,
- "lastChange": "2019-08-24T14:15:22Z",
- "$type": "THERMOSTAT_MODE"
}{- "mode": "MANUAL",
- "temperature": -13.5,
- "lastChange": "2019-08-24T14:15:22Z",
- "$type": "THERMOSTAT_MODE"
}| componentEntityId required | string (DEVICE_COMPONENT_IN_PATH) ^(SECTION|COMPONENT|ACTOR|USER)_ Example: COMPONENT_<OBJECT_JA100F:12345>:1 Cloud entity id of component |
Component states
| $type required | string |
| wantedTotalValueHi | number <float> (WantedConsumption) >= 0 Example: "15.2365" Current consumption value, cannot be negative, 0 for reset! |
| wantedTotalValueLo | number <float> (WantedConsumption) >= 0 Example: "15.2365" Current consumption value, cannot be negative, 0 for reset! |
| wantedTotalValue | number <float> (WantedConsumption) >= 0 Example: "15.2365" Current consumption value, cannot be negative, 0 for reset! |
{- "$type": "PULSE_METER_STATE",
- "wantedTotalValueHi": 15.2365,
- "wantedTotalValueLo": 15.2365,
- "wantedTotalValue": 15.2365
}{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}Registration params
required | DEVICE_IDENTITY (string) or REGISTRATION_KEY (string) |
One of string (DEVICE_IDENTITY) ^DEVICE_((JACLOUDSN:[A-F\d]{8})|(JASNV1:[\d]{... | |
| serviceName required | string (ObjectOrServiceName) [ 1 .. 64 ] characters Example: "My House" Name of object or service |
| timeZone required | string (TimeZone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" … 409 more Example: "Europe/Prague" IANA timezone definition |
| countryCode required | string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Example: "CZ" Supported country code from CLOUD |
| serviceEntityId required | string (ServiceEntityId) ^SERVICE_(\w+):([\d]+)$ Example: "SERVICE_JA100F:242566" |
| objectEntityId required | string (ObjectEntityId) ^OBJECT_(\w+):([\d]+)$ Example: "OBJECT_JA100F:242566" |
{- "deviceIdentification": "DEVICE_JACLOUDSN:F9100013",
- "serviceName": "My House",
- "timeZone": "Europe/Prague",
- "countryCode": "CZ"
}{- "serviceEntityId": "SERVICE_JA100F:242566",
- "objectEntityId": "OBJECT_JA100F:242566"
}| requestId required | string (REQUEST_ID) >= 5 characters Example: DCD-1254445521 Returns if an action was created in the device configuration manager (configuration download, reconfiguration ...) |
| requestId required | string (DeviceRequestId) >= 5 characters Example: "DCD-1254445521" Returns if an action was created in the device configuration manager (configuration download, reconfiguration ...) | ||||||||
| state required | string (ProcessState) Enum: "CREATED" "IN_PROGRESS" "COMPLETED" | ||||||||
| type required | string (ProcessType) Enum: "SETTING" "RESET" "CONFIGURATION" "CONFIGURATION_DOWNLOAD" "CONFIGURATION_UPLOAD" "ROAMING_ACTIVATE" "ROAMING_DEACTIVATE" "TRACKING_START" "GSM_RESTART" "SYNC_STATES" … 4 more CONFIGURATION is deprecated, use CONFIGURATION_DOWNLOAD instead | ||||||||
| createdAt required | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification | ||||||||
| scheduledAt | string <date-time> (DateTime) Only available for CREATED status | ||||||||
| completedAt | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification | ||||||||
| success | boolean Default: true Only available for completed status | ||||||||
object Only available for non-success status | |||||||||
| |||||||||
object non-empty | |||||||||
| |||||||||
{- "requestId": "DCD-1254445521",
- "state": "CREATED",
- "type": "SETTING",
- "createdAt": "2019-08-24T14:15:22Z",
- "scheduledAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "success": true,
- "error": {
- "code": "CANCELED_BY_OTHER_PROCESS",
- "debugMessage": "Cannot connect to device via YTUN"
}, - "meta": {
- "userName": "tomas.janda@jablotron.cz",
- "originUserName": "tomas.janda@jablotron.cz",
- "originRequestId": "DCD-1254445521",
- "remainingAttempts": 0
}
}| objectEntityId required | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: OBJECT_JA100F:242566 Cloud entity id of Object |
Object setting action
| $type required | string Value: "RECONFIGURATION" |
| requestId required | string (DeviceRequestId) >= 5 characters Example: "DCD-1254445521" Returns if an action was created in the device configuration manager (configuration download, reconfiguration ...) |
{- "$type": "RECONFIGURATION"
}{- "requestId": "DCD-1254445521"
}| id required | string (ObjectEntityId) ^OBJECT_(\w+):([\d]+)$ Example: "OBJECT_JA100F:242566" |
| name required | string (ObjectOrServiceName) [ 1 .. 64 ] characters Example: "My House" Name of object or service |
| createdAt required | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification |
| registrationKey required | string (RegistrationKey) ^([0-9A-HJKMNP-Za-hjkmnp-z]{5}-[0-9A-HJKMNP-Z... Example: "LAS6D-U2VBG-UHX65" |
| deviceModel required | string (DeviceModelOfficialName) Example: "JA-101K LAN 3G" |
[- {
- "id": "OBJECT_JA100F:242566",
- "name": "My House",
- "createdAt": "2019-08-24T14:15:22Z",
- "registrationKey": "LAS6D-U2VBG-UHX65",
- "deviceModel": "JA-101K LAN 3G"
}
]Returns the global registration status of the object
| objectEntityId required | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: OBJECT_JA100F:242566 Cloud entity id of Object |
| finalState required | boolean Returns true only when all necessary steps are finished |
| unfinishedSteps | Array of strings (DependencyType) non-empty unique Items Enum: "OBJECT_SETUP" "USER_SERVICE" "ARC" "CUSTOMER" List of unfinished steps returned when |
| recommendedStep | string (DependencyType) Enum: "OBJECT_SETUP" "USER_SERVICE" "ARC" "CUSTOMER" Recommended step to continue for a client |
{- "finalState": true,
- "unfinishedSteps": [
- "OBJECT_SETUP"
], - "recommendedStep": "OBJECT_SETUP"
}Returns the current configuration setup status derived from object state and currently active requests. Historical failed request details are not included in this response.
| objectEntityId required | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: OBJECT_JA100F:242566 Cloud entity id of Object |
| finalState required | boolean Returns true only when both device setting and configuration download steps are completed. False does not distinguish unfinished and failed historical processing. | ||||||||||||||||||||||||||||||||||||||||||||
required | object (ObjectSettingStepStatus) Current status of a single configuration setup step derived from the object state and an optionally active setting request. | ||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||
required | object (ConfigurationDownloadStepStatus) Current status of a single configuration setup step derived from the object state and an optionally active setting request. | ||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||
| recommendedStep | string (RecommendedStepStatus) Enum: "DOWNLOAD_CONFIGURATION" "RECONFIGURATION" Recommended next setup step. Send this field only when at least one setup step is unfinished. Value configurationDownloadStep maps from DOWNLOAD_CONFIGURATION and value settingStep maps from RECONFIGURATION. | ||||||||||||||||||||||||||||||||||||||||||||
{- "finalState": true,
- "settingStep": {
- "finished": true,
- "finishedAt": "2019-08-24T14:15:22Z",
- "activeRequest": {
- "requestId": "DCD-1254445521",
- "state": "CREATED",
- "type": "SETTING",
- "createdAt": "2019-08-24T14:15:22Z",
- "scheduledAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "success": true,
- "error": {
- "code": "CANCELED_BY_OTHER_PROCESS",
- "debugMessage": "Cannot connect to device via YTUN"
}, - "meta": {
- "userName": "tomas.janda@jablotron.cz",
- "originUserName": "tomas.janda@jablotron.cz",
- "originRequestId": "DCD-1254445521",
- "remainingAttempts": 0
}
}
}, - "configurationDownloadStep": {
- "finished": true,
- "finishedAt": "2019-08-24T14:15:22Z",
- "activeRequest": {
- "requestId": "DCD-1254445521",
- "state": "CREATED",
- "type": "SETTING",
- "createdAt": "2019-08-24T14:15:22Z",
- "scheduledAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "success": true,
- "error": {
- "code": "CANCELED_BY_OTHER_PROCESS",
- "debugMessage": "Cannot connect to device via YTUN"
}, - "meta": {
- "userName": "tomas.janda@jablotron.cz",
- "originUserName": "tomas.janda@jablotron.cz",
- "originRequestId": "DCD-1254445521",
- "remainingAttempts": 0
}
}, - "shouldBeProcessedManually": true
}, - "recommendedStep": "DOWNLOAD_CONFIGURATION"
}Returns the current customer attributes setup status.
| objectEntityId required | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: OBJECT_JA100F:242566 Cloud entity id of Object |
| finalState required | boolean Example: "true" Indicates whether current form state is final and can be submitted. | ||||||||||||||||||||||||||||||||||||||||||||||
required | Array of objects (DynamicFormGroupDefinition) non-empty Example: [{"id":"CUSTOMER","translationKey":"JAPARTNER:Customer","order":1}] Ordered list of groups that define form sections in UI. | ||||||||||||||||||||||||||||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||||||||||||||||||||||||||||
required | Array of GROUP (object) or ATTRIBUTE (any) (DynamicFormItem) non-empty Example: [{"id":"CUSTOMER_TYPE","type":"ATTRIBUTE","format":"ENUM","required":true,"groupOrder":1,"translationKey":"JAPARTNER:Customer type","groupId":"CUSTOMER","values":[{"value":"PERSON","translationKey":"JAPARTNER:Person"},{"value":"COMPANY","translationKey":"JAPARTNER:Company"}],"value":null}] Top-level form items. Each item is either standalone attribute or nested conditional group. | ||||||||||||||||||||||||||||||||||||||||||||||
Array (non-empty) One of
| |||||||||||||||||||||||||||||||||||||||||||||||
{- "finalState": true,
- "groups": [
- {
- "id": "CUSTOMER",
- "translationKey": "JAPARTNER:Customer",
- "order": 1
}
], - "attributes": [
- {
- "id": "CUSTOMER_TYPE",
- "type": "ATTRIBUTE",
- "format": "ENUM",
- "required": true,
- "groupOrder": 1,
- "translationKey": "JAPARTNER:Customer type",
- "groupId": "CUSTOMER",
- "values": [
- {
- "value": "PERSON",
- "translationKey": "JAPARTNER:Person"
}, - {
- "value": "COMPANY",
- "translationKey": "JAPARTNER:Company"
}
], - "value": null
}
]
}Returns the current setup status of end user service
| objectEntityId required | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: OBJECT_JA100F:242566 Cloud entity id of Object |
| finalState required | boolean Returns true only when the service is created and ready to use | ||||||||||||||||||||||||||
required | Array of objects (DependencyItem) non-empty | ||||||||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||||||||
required | object (ServiceStatus) | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
{- "finalState": true,
- "dependencies": [
- {
- "type": "OBJECT_SETUP",
- "finished": true
}
], - "serviceStatus": {
- "isCreated": true,
- "allAvailableServiceTypesCreated": true,
- "owner": {
- "userLogin": "tomas.janda@jablotron.cz",
- "userId": "USER_<OEM_JABLOTRON:Jablotron>:52325"
}, - "services": [
- {
- "isMainServiceType": true,
- "name": "My House",
- "id": "SERVICE_JA100F:242566",
- "type": "JA100F",
- "createdAt": "2019-08-24T14:15:22Z"
}
]
}, - "meta": {
- "objectName": "My House"
}
}| objectEntityId required | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: OBJECT_JA100F:242566 Cloud entity id of Object |
Service create params
| name required | string (ObjectOrServiceName) [ 1 .. 64 ] characters Example: "My House" Name of object or service |
| type | string (ServiceType) Enum: "AMBIENTA" "ATHOS" "ATHOS2" "AURA" "AZOR" "FUTURA" "FUTURA2" "GD04K" "JA10" "JA100" … 8 more Example: "JA100F" Only for objects where multiple service types can be created; by default, the primary service type is created |
| id required | string (ServiceEntityId) ^SERVICE_(\w+):([\d]+)$ Example: "SERVICE_JA100F:242566" |
{- "name": "My House",
- "type": "JA100F"
}{- "id": "SERVICE_JA100F:242566"
}Update customer attributes for an object entity.
| objectEntityId required | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: OBJECT_JA100F:242566 Cloud entity id of Object |
Attributes to be updated
| id required | string^[A-Z][A-Z0-9]*(?:_[A-Z0-9]+)*$ Example: "CUSTOMER_TYPE" Stable identifier of attribute in response and request payloads. |
| value required | Array of strings or numbers or booleans or arrays or null or string or number or boolean or null Example: "PERSON" Updated attribute value, null to remove attribute. |
[- {
- "id": "CUSTOMER_TYPE",
- "value": "PERSON"
}
][- {
- "id": "CUSTOMER_TYPE",
- "debugMessage": "Value must contain two letters and six digits, only for debug reason"
}
]Registration params
| registrationKey required | string (RegistrationKey) ^([0-9A-HJKMNP-Za-hjkmnp-z]{5}-[0-9A-HJKMNP-Z... Example: "LAS6D-U2VBG-UHX65" |
| authorizationCode required | string (IndexaAuthorizationCode) ^[A-F0-9]{16}$ Example: "A1B2C3D4E5F60708" |
| masterCode required | string (JA100Code) ^([\d]{1,3}\*)?([\d]{4}|[\d]{6}|[\d]{8})$ Example: "2*1234" |
| msisdn | string (PhoneNumber) ^\+[\d]{5,19}$ Example: "+420739259931" Internation phone number with + prefix |
| objectName | string (ObjectOrServiceName) [ 1 .. 64 ] characters Example: "My House" Name of object or service |
| timeZone | string (TimeZone) Default: "Europe/Berlin" Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" … 409 more Example: "Europe/Prague" IANA timezone definition |
| objectEntityId required | string (ObjectEntityId) ^OBJECT_(\w+):([\d]+)$ Example: "OBJECT_JA100F:242566" |
{- "registrationKey": "LAS6D-U2VBG-UHX65",
- "authorizationCode": "A1B2C3D4E5F60708",
- "masterCode": "2*1234",
- "msisdn": "+420739259931",
- "objectName": "My House",
- "timeZone": "Europe/Prague"
}{- "objectEntityId": "OBJECT_JA100F:242566"
}| serviceEntityId required | string (SERVICE_ENTITY) ^SERVICE_(\w+):([\d]+)$ Example: SERVICE_JA100F:242566 Cloud entity id of end user Service |
{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| userLogin required | string <email> (Email) Example: "tomas.janda@jablotron.cz" Email address |
| userId required | string (CloudUserEntity) ^USER_<OEM_([A-Z]+):([a-zA-Z\d]+)>:(\d+)$ Example: "USER_<OEM_JABLOTRON:Jablotron>:52325" Unique identification of CLOUD user account e.g. |
PHONE_NUMBER (string) or null | |
One of string (PHONE_NUMBER) ^\+[\d]{5,19}$ Internation phone number with + prefix | |
NAME_AND_SURNAME (string) or null | |
One of [ 1 .. 70 ] characters string (NAME_AND_SURNAME) [ 1 .. 70 ] characters Name of a person, each part of name must be maximal 30 characters long | |
| newsletterAllowed | boolean |
{- "userLogin": "tomas.janda@jablotron.cz",
- "userId": "USER_<OEM_JABLOTRON:Jablotron>:52325",
- "confirmPhoneNumber": "+420739259931",
- "personName": "Jan Tron",
- "newsletterAllowed": true
}Changed values
PHONE_NUMBER (string) or null | |
One of string (PHONE_NUMBER) ^\+[\d]{5,19}$ Internation phone number with + prefix | |
NAME_AND_SURNAME (string) or null | |
One of [ 1 .. 70 ] characters string (NAME_AND_SURNAME) [ 1 .. 70 ] characters Name of a person, each part of name must be maximal 30 characters long | |
| newsletterAllowed | boolean |
{- "confirmPhoneNumber": "+420739259931",
- "personName": "Jan Tron",
- "newsletterAllowed": true
}{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| include[] | string (Include) Value: "DISTRIBUTOR" Array of included objects |
| companyId required | number (IntId) >= 1 Common Int id | ||||||||
| name required | string (CommonCompanyName) [ 1 .. 70 ] characters Example: "Company s.r.o." | ||||||||
required | object | ||||||||
| |||||||||
Array of objects (DistributorBase) non-empty unique | |||||||||
Array (non-empty)
| |||||||||
[- {
- "companyId": 1,
- "name": "Company s.r.o.",
- "me": {
- "role": "INSTALLER"
}, - "distributors": [
- {
- "distributorId": "DISTRIBUTOR_DEFAULT:0012",
- "name": "Company s.r.o.",
- "countryCode": "CZ",
- "rgapCountry": "CZ"
}
]
}
]| companyId required | number (IntId) >= 1 Id of installerCompany |
| companyId required | number (IntId) >= 1 Common Int id | ||||||||||||||||||||||||||||||||
| name required | string (CommonCompanyName) [ 1 .. 70 ] characters Example: "Company s.r.o." | ||||||||||||||||||||||||||||||||
| affiliateRegistered required | boolean Default: false ignored in PATCH, only for admin view | ||||||||||||||||||||||||||||||||
required | Array of objects (DistributorBase) non-empty | ||||||||||||||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||||||||||||||
required | object | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
| cin | string (CompanyIdentificationNumber) [ 3 .. 32 ] characters Example: "885255412" Company identification number | ||||||||||||||||||||||||||||||||
TAX_IDENTIFICATION_NUMBER (string) or null null only for PATCH to remove current value | |||||||||||||||||||||||||||||||||
One of [ 3 .. 18 ] characters string (TAX_IDENTIFICATION_NUMBER) [ 3 .. 18 ] characters Company tax identification number | |||||||||||||||||||||||||||||||||
STREET (string) or null null only for PATCH to remove current value | |||||||||||||||||||||||||||||||||
One of [ 3 .. 64 ] characters string (STREET) [ 3 .. 64 ] characters Company street | |||||||||||||||||||||||||||||||||
CITY (string) or null null only for PATCH to remove current value | |||||||||||||||||||||||||||||||||
One of [ 1 .. 64 ] characters string (CITY) [ 1 .. 64 ] characters Company city | |||||||||||||||||||||||||||||||||
ZIP (string) or null null only for PATCH to remove current value | |||||||||||||||||||||||||||||||||
One of string (ZIP) ^[\d A-Z\-]{4,10}$ Company zip code | |||||||||||||||||||||||||||||||||
PHONE_NUMBER (string) or null null only for PATCH to remove current value | |||||||||||||||||||||||||||||||||
One of string (PHONE_NUMBER) ^\+[\d]{5,19}$ Internation phone number with + prefix | |||||||||||||||||||||||||||||||||
EMAIL (string) or null null only for PATCH to remove current value | |||||||||||||||||||||||||||||||||
One of string <email> (EMAIL) Email address | |||||||||||||||||||||||||||||||||
Iban (string) or null null only for PATCH to remove current value | |||||||||||||||||||||||||||||||||
One of [ 15 .. 34 ] characters string (Iban) [ 15 .. 34 ] characters ^[A-Z]{2}[\dA-Z\s]+$ Company IBAN, in human or machine format, returned always in machine | |||||||||||||||||||||||||||||||||
| vatPayer | boolean (VatPayer) Company is payer of VAT | ||||||||||||||||||||||||||||||||
CountryCode (string) or null null only for PATCH to remove current value | |||||||||||||||||||||||||||||||||
One of string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Supported country code from CLOUD | |||||||||||||||||||||||||||||||||
NAME_OF_SUBJECT (string) or null null only for PATCH to remove current value | |||||||||||||||||||||||||||||||||
One of [ 1 .. 70 ] characters string (NAME_OF_SUBJECT) [ 1 .. 70 ] characters null only for PATCH to remove current value | |||||||||||||||||||||||||||||||||
SwiftCode (string) or null null only for PATCH to remove current value | |||||||||||||||||||||||||||||||||
One of string (SwiftCode) ^[A-Z]{4}([A-Z]{2})[A-Z\d]{2}(:?[A-Z\d]{3})?$... null only for PATCH to remove current value | |||||||||||||||||||||||||||||||||
BANK_ACCOUNT_NUMBER (string) or null null only for PATCH to remove current value | |||||||||||||||||||||||||||||||||
One of [ 8 .. 30 ] characters string (BANK_ACCOUNT_NUMBER) [ 8 .. 30 ] characters null only for PATCH to remove current value | |||||||||||||||||||||||||||||||||
NAME_OF_SUBJECT (string) or null null only for PATCH to remove current value | |||||||||||||||||||||||||||||||||
One of [ 1 .. 70 ] characters string (NAME_OF_SUBJECT) [ 1 .. 70 ] characters null only for PATCH to remove current value | |||||||||||||||||||||||||||||||||
STREET (string) or null null only for PATCH to remove current value | |||||||||||||||||||||||||||||||||
One of [ 3 .. 64 ] characters string (STREET) [ 3 .. 64 ] characters Company street | |||||||||||||||||||||||||||||||||
CITY (string) or null null only for PATCH to remove current value | |||||||||||||||||||||||||||||||||
One of [ 1 .. 64 ] characters string (CITY) [ 1 .. 64 ] characters Company city | |||||||||||||||||||||||||||||||||
CountryCode (string) or null null only for PATCH to remove current value | |||||||||||||||||||||||||||||||||
One of string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Supported country code from CLOUD | |||||||||||||||||||||||||||||||||
| shareContacts | boolean (ShareContacts) Company want to share phone number and email address with end users | ||||||||||||||||||||||||||||||||
LogoData (string) or null null only for PATCH to remove current logo | |||||||||||||||||||||||||||||||||
One of string <byte> (LogoData) Binary logo encoded in base64 string (used for upload/change) | |||||||||||||||||||||||||||||||||
EMAIL (string) or null null only for PATCH to remove current value | |||||||||||||||||||||||||||||||||
One of string <email> (EMAIL) Email address | |||||||||||||||||||||||||||||||||
PHONE_NUMBER (string) or null null only for PATCH to remove current value | |||||||||||||||||||||||||||||||||
One of string (PHONE_NUMBER) ^\+[\d]{5,19}$ Internation phone number with + prefix | |||||||||||||||||||||||||||||||||
| companyLogoUrl | string <uri> (AttachmentUri) Example: "https://img-cdn.jablonet.net/1635490678/65FA0685F2F38?X-Amz-Date=20211029T063758Z&X-Amz-Expires=1200" URL for downloading the attachment with parameters | ||||||||||||||||||||||||||||||||
object (UserAccountDetail) Common object of cloud user detail | |||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
{- "companyId": 1,
- "name": "Company s.r.o.",
- "cin": "885255412",
- "tin": "CZ885255412",
- "street": "Pod Houbou 15",
- "city": "Jablonec nad Nisou",
- "zip": "466 01",
- "phoneNumber": "+420739259931",
- "email": "tomas.janda@jablotron.cz",
- "iban": "CZ5508000000001234567899",
- "vatPayer": true,
- "countryCode": "CZ",
- "invoiceCompanyName": "Company s.r.o.",
- "swiftCode": "AAAABBCC123",
- "bankAccountNumber": "35-254125846/0100",
- "bankAccountName": "Company s.r.o.",
- "bankAccountStreet": "Pod Houbou 15",
- "bankAccountCity": "Jablonec nad Nisou",
- "bankCountryCode": "CZ",
- "shareContacts": false,
- "companyLogoData": "U3dhZ2dlciByb2Nrcw==",
- "affiliateRegistered": false,
- "affiliateEmail": "tomas.janda@jablotron.cz",
- "affiliatePhoneNumber": "+420739259931",
- "ownerAccount": {
- "userLogin": "tomas.janda@jablotron.cz",
- "userId": "USER_<OEM_JABLOTRON:Jablotron>:52325"
}, - "distributors": [
- {
- "distributorId": "DISTRIBUTOR_DEFAULT:0012",
- "name": "Company s.r.o.",
- "countryCode": "CZ",
- "rgapCountry": "CZ"
}
], - "me": {
- "role": "INSTALLER",
- "permissions": {
- "companyView": true,
- "companyModify": true,
- "groupView": true,
- "groupModify": true,
- "groupCreate": true,
- "groupRemove": true,
- "userView": true,
- "userCreate": true,
- "userModify": true,
- "userRemove": true,
- "adminModify": true,
- "adminRemove": true,
- "ownerModify": true
}
}
}| companyId required | number (IntId) >= 1 Id of installerCompany |
Company information
| cin | string (CompanyIdentificationNumber) [ 3 .. 32 ] characters Example: "885255412" Company identification number |
TAX_IDENTIFICATION_NUMBER (string) or null null only for PATCH to remove current value | |
One of [ 3 .. 18 ] characters string (TAX_IDENTIFICATION_NUMBER) [ 3 .. 18 ] characters Company tax identification number | |
STREET (string) or null null only for PATCH to remove current value | |
One of [ 3 .. 64 ] characters string (STREET) [ 3 .. 64 ] characters Company street | |
CITY (string) or null null only for PATCH to remove current value | |
One of [ 1 .. 64 ] characters string (CITY) [ 1 .. 64 ] characters Company city | |
ZIP (string) or null null only for PATCH to remove current value | |
One of string (ZIP) ^[\d A-Z\-]{4,10}$ Company zip code | |
PHONE_NUMBER (string) or null null only for PATCH to remove current value | |
One of string (PHONE_NUMBER) ^\+[\d]{5,19}$ Internation phone number with + prefix | |
EMAIL (string) or null null only for PATCH to remove current value | |
One of string <email> (EMAIL) Email address | |
Iban (string) or null null only for PATCH to remove current value | |
One of [ 15 .. 34 ] characters string (Iban) [ 15 .. 34 ] characters ^[A-Z]{2}[\dA-Z\s]+$ Company IBAN, in human or machine format, returned always in machine | |
| vatPayer | boolean (VatPayer) Company is payer of VAT |
CountryCode (string) or null null only for PATCH to remove current value | |
One of string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Supported country code from CLOUD | |
NAME_OF_SUBJECT (string) or null null only for PATCH to remove current value | |
One of [ 1 .. 70 ] characters string (NAME_OF_SUBJECT) [ 1 .. 70 ] characters null only for PATCH to remove current value | |
SwiftCode (string) or null null only for PATCH to remove current value | |
One of string (SwiftCode) ^[A-Z]{4}([A-Z]{2})[A-Z\d]{2}(:?[A-Z\d]{3})?$... null only for PATCH to remove current value | |
BANK_ACCOUNT_NUMBER (string) or null null only for PATCH to remove current value | |
One of [ 8 .. 30 ] characters string (BANK_ACCOUNT_NUMBER) [ 8 .. 30 ] characters null only for PATCH to remove current value | |
NAME_OF_SUBJECT (string) or null null only for PATCH to remove current value | |
One of [ 1 .. 70 ] characters string (NAME_OF_SUBJECT) [ 1 .. 70 ] characters null only for PATCH to remove current value | |
STREET (string) or null null only for PATCH to remove current value | |
One of [ 3 .. 64 ] characters string (STREET) [ 3 .. 64 ] characters Company street | |
CITY (string) or null null only for PATCH to remove current value | |
One of [ 1 .. 64 ] characters string (CITY) [ 1 .. 64 ] characters Company city | |
CountryCode (string) or null null only for PATCH to remove current value | |
One of string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Supported country code from CLOUD | |
| shareContacts | boolean (ShareContacts) Company want to share phone number and email address with end users |
LogoData (string) or null null only for PATCH to remove current logo | |
One of string <byte> (LogoData) Binary logo encoded in base64 string (used for upload/change) | |
| affiliateRegistered | boolean ignored in PATCH, only for admin view |
EMAIL (string) or null null only for PATCH to remove current value | |
One of string <email> (EMAIL) Email address | |
PHONE_NUMBER (string) or null null only for PATCH to remove current value | |
One of string (PHONE_NUMBER) ^\+[\d]{5,19}$ Internation phone number with + prefix | |
| name | string (CommonCompanyName) [ 1 .. 70 ] characters Example: "Company s.r.o." |
{- "cin": "885255412",
- "tin": "CZ885255412",
- "street": "Pod Houbou 15",
- "city": "Jablonec nad Nisou",
- "zip": "466 01",
- "phoneNumber": "+420739259931",
- "email": "tomas.janda@jablotron.cz",
- "iban": "CZ5508000000001234567899",
- "vatPayer": true,
- "countryCode": "CZ",
- "invoiceCompanyName": "Company s.r.o.",
- "swiftCode": "AAAABBCC123",
- "bankAccountNumber": "35-254125846/0100",
- "bankAccountName": "Company s.r.o.",
- "bankAccountStreet": "Pod Houbou 15",
- "bankAccountCity": "Jablonec nad Nisou",
- "bankCountryCode": "CZ",
- "shareContacts": false,
- "companyLogoData": "U3dhZ2dlciByb2Nrcw==",
- "affiliateRegistered": true,
- "affiliateEmail": "tomas.janda@jablotron.cz",
- "affiliatePhoneNumber": "+420739259931",
- "name": "Company s.r.o."
}{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| objectEntityId required | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: OBJECT_JA100F:242566 Cloud entity id of Object |
| state | string (ThermometerState) Enum: "SET" "PREPARED" "LIMIT_REACHED" Allow to filter only SET or PREPARED thermostats |
| includeActors | boolean Returns available ACTORS to be used for CLOUD thermostats |
required | Array of objects (ThermometerList) >= 0 items | ||||||||||||||||||||||||||||||||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||||||||||||||||||||||||||||||||
Array of objects (ActorBaseModel) non-empty | |||||||||||||||||||||||||||||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||||||||||||||||||||||||||||
{- "thermometers": [
- {
- "id": "SECTION_<OBJECT_JA100F:12345>:1",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}, - "state": "SET",
- "setting": {
- "actor": {
- "id": "ACTOR_<OBJECT_JA100F:242566>:5",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}
}, - "temperature": -13.5
}, - "meta": {
- "minTemperature": -13.5,
- "maxTemperature": -13.5
}
}
], - "actors": [
- {
- "id": "ACTOR_<OBJECT_JA100F:242566>:5",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}
}
]
}| objectEntityId required | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: OBJECT_JA100F:242566 Cloud entity id of Object |
| componentEntityId required | string (DEVICE_COMPONENT_IN_PATH) ^(SECTION|COMPONENT|ACTOR|USER)_ Example: COMPONENT_<OBJECT_JA100F:12345>:1 Cloud entity id of component |
| includeActors | boolean Returns available ACTORS to be used for CLOUD thermostats |
required | object (ThermometerDetail) | ||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||
Array of objects (ActorBaseModel) non-empty | |||||||||||||||||||||||||||||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||||||||||||||||||||||||||||
{- "thermometer": {
- "id": "SECTION_<OBJECT_JA100F:12345>:1",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}, - "state": "SET",
- "setting": {
- "actor": {
- "id": "ACTOR_<OBJECT_JA100F:242566>:5",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}
}, - "temperature": -13.5
}, - "meta": {
- "minTemperature": -13.5,
- "maxTemperature": -13.5
}
}, - "actors": [
- {
- "id": "ACTOR_<OBJECT_JA100F:242566>:5",
- "name": "PIR Bedroom",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}
}
]
}| objectEntityId required | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: OBJECT_JA100F:242566 Cloud entity id of Object |
| componentEntityId required | string (DEVICE_COMPONENT_IN_PATH) ^(SECTION|COMPONENT|ACTOR|USER)_ Example: COMPONENT_<OBJECT_JA100F:12345>:1 Cloud entity id of component |
CLOUD thermostat setting
| actorId | string (ActorEntityId) ^ACTOR_<(OBJECT_(\w+):[\d]+)>:([\d]+)$ Example: "ACTOR_<OBJECT_JA100F:242566>:5" |
| temperature | number <float> (Temperature) Example: "-13.5" Temperature in Celsius, formatted to 1 decimal place (-99.9 - +99.9) |
{- "actorId": "ACTOR_<OBJECT_JA100F:242566>:5",
- "temperature": -13.5
}{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| objectEntityId required | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: OBJECT_JA100F:242566 Cloud entity id of Object |
| componentEntityId required | string (DEVICE_COMPONENT_IN_PATH) ^(SECTION|COMPONENT|ACTOR|USER)_ Example: COMPONENT_<OBJECT_JA100F:12345>:1 Cloud entity id of component |
CLOUD thermostat setting
| actorId required | string (ActorEntityId) ^ACTOR_<(OBJECT_(\w+):[\d]+)>:([\d]+)$ Example: "ACTOR_<OBJECT_JA100F:242566>:5" |
| temperature required | number <float> (Temperature) Example: "-13.5" Temperature in Celsius, formatted to 1 decimal place (-99.9 - +99.9) |
{- "actorId": "ACTOR_<OBJECT_JA100F:242566>:5",
- "temperature": -13.5
}{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| objectEntityId required | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: OBJECT_JA100F:242566 Cloud entity id of Object |
| componentEntityId required | string (DEVICE_COMPONENT_IN_PATH) ^(SECTION|COMPONENT|ACTOR|USER)_ Example: COMPONENT_<OBJECT_JA100F:12345>:1 Cloud entity id of component |
{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| componentEntityId required | string (DEVICE_COMPONENT_IN_PATH) ^(SECTION|COMPONENT|ACTOR|USER)_ Example: COMPONENT_<OBJECT_JA100F:12345>:1 Cloud entity id of component |
| $type required | string Value: "THERMOSTAT_SETTINGS" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| economyTemperature | number <float> (Temperature) Example: "-13.5" Temperature in Celsius, formatted to 1 decimal place (-99.9 - +99.9) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| comfortTemperature | number <float> (Temperature) Example: "-13.5" Temperature in Celsius, formatted to 1 decimal place (-99.9 - +99.9) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| standbyTemperature | number <float> (Temperature) Example: "-13.5" Temperature in Celsius, formatted to 1 decimal place (-99.9 - +99.9) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| hysteresis | number <float> (Temperature) Example: "-13.5" Temperature in Celsius, formatted to 1 decimal place (-99.9 - +99.9) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| calibration | number <float> (Temperature) Example: "-13.5" Temperature in Celsius, formatted to 1 decimal place (-99.9 - +99.9) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object (ThermostatCalendar) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| calendarGrouping | string Default: "SEPARATE" Enum: "WEEK" "WORKING_DAYS" "SEPARATE" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| overheatTemperature | number <float> (Temperature) Example: "-13.5" Temperature in Celsius, formatted to 1 decimal place (-99.9 - +99.9) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| freezeTemperature | number <float> (Temperature) Example: "-13.5" Temperature in Celsius, formatted to 1 decimal place (-99.9 - +99.9) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| minimumTemperature | number <float> (Temperature) Example: "-13.5" Temperature in Celsius, formatted to 1 decimal place (-99.9 - +99.9) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| maximumTemperature | number <float> (Temperature) Example: "-13.5" Temperature in Celsius, formatted to 1 decimal place (-99.9 - +99.9) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| armSwitchOption | string Enum: "NONE" "ARM" "ARM_AND_PARTIAL_ARM" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| tamperDisabled | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "$type": "THERMOSTAT_SETTINGS",
- "economyTemperature": -13.5,
- "comfortTemperature": -13.5,
- "standbyTemperature": -13.5,
- "hysteresis": -13.5,
- "calibration": -13.5,
- "calendar": {
- "monday": [
- {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}
], - "tuesday": [
- {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}
], - "wednesday": [
- {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}
], - "thursday": [
- {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}
], - "friday": [
- {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}
], - "saturday": [
- {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}
], - "sunday": [
- {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}
]
}, - "calendarGrouping": "WEEK",
- "overheatTemperature": -13.5,
- "freezeTemperature": -13.5,
- "minimumTemperature": -13.5,
- "maximumTemperature": -13.5,
- "armSwitchOption": "NONE",
- "tamperDisabled": true
}| componentEntityId required | string (DEVICE_COMPONENT_IN_PATH) ^(SECTION|COMPONENT|ACTOR|USER)_ Example: COMPONENT_<OBJECT_JA100F:12345>:1 Cloud entity id of component |
Component settings
| $type required | string Value: "THERMOSTAT_SETTINGS" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| economyTemperature | number <float> (Temperature) Example: "-13.5" Temperature in Celsius, formatted to 1 decimal place (-99.9 - +99.9) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| comfortTemperature | number <float> (Temperature) Example: "-13.5" Temperature in Celsius, formatted to 1 decimal place (-99.9 - +99.9) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| standbyTemperature | number <float> (Temperature) Example: "-13.5" Temperature in Celsius, formatted to 1 decimal place (-99.9 - +99.9) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| hysteresis | number <float> (Temperature) Example: "-13.5" Temperature in Celsius, formatted to 1 decimal place (-99.9 - +99.9) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| calibration | number <float> (Temperature) Example: "-13.5" Temperature in Celsius, formatted to 1 decimal place (-99.9 - +99.9) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object (ThermostatCalendar) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| calendarGrouping | string Default: "SEPARATE" Enum: "WEEK" "WORKING_DAYS" "SEPARATE" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| overheatTemperature | number <float> (Temperature) Example: "-13.5" Temperature in Celsius, formatted to 1 decimal place (-99.9 - +99.9) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| freezeTemperature | number <float> (Temperature) Example: "-13.5" Temperature in Celsius, formatted to 1 decimal place (-99.9 - +99.9) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| minimumTemperature | number <float> (Temperature) Example: "-13.5" Temperature in Celsius, formatted to 1 decimal place (-99.9 - +99.9) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| maximumTemperature | number <float> (Temperature) Example: "-13.5" Temperature in Celsius, formatted to 1 decimal place (-99.9 - +99.9) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| armSwitchOption | string Enum: "NONE" "ARM" "ARM_AND_PARTIAL_ARM" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| tamperDisabled | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "$type": "THERMOSTAT_SETTINGS",
- "economyTemperature": -13.5,
- "comfortTemperature": -13.5,
- "standbyTemperature": -13.5,
- "hysteresis": -13.5,
- "calibration": -13.5,
- "calendar": {
- "monday": [
- {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}
], - "tuesday": [
- {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}
], - "wednesday": [
- {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}
], - "thursday": [
- {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}
], - "friday": [
- {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}
], - "saturday": [
- {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}
], - "sunday": [
- {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}, - {
- "start": "20:15",
- "end": "20:15"
}
]
}, - "calendarGrouping": "WEEK",
- "overheatTemperature": -13.5,
- "freezeTemperature": -13.5,
- "minimumTemperature": -13.5,
- "maximumTemperature": -13.5,
- "armSwitchOption": "NONE",
- "tamperDisabled": true
}{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| userLogin required | string <email> (Email) Example: "tomas.janda@jablotron.cz" Email address |
| userId required | string (CloudUserEntity) ^USER_<OEM_([A-Z]+):([a-zA-Z\d]+)>:(\d+)$ Example: "USER_<OEM_JABLOTRON:Jablotron>:52325" Unique identification of CLOUD user account e.g. |
PHONE_NUMBER (string) or null | |
One of string (PHONE_NUMBER) ^\+[\d]{5,19}$ Internation phone number with + prefix | |
NAME_AND_SURNAME (string) or null | |
One of [ 1 .. 70 ] characters string (NAME_AND_SURNAME) [ 1 .. 70 ] characters Name of a person, each part of name must be maximal 30 characters long | |
| newsletterAllowed | boolean |
{- "userLogin": "tomas.janda@jablotron.cz",
- "userId": "USER_<OEM_JABLOTRON:Jablotron>:52325",
- "confirmPhoneNumber": "+420739259931",
- "personName": "Jan Tron",
- "newsletterAllowed": true
}Changed values
PHONE_NUMBER (string) or null | |
One of string (PHONE_NUMBER) ^\+[\d]{5,19}$ Internation phone number with + prefix | |
NAME_AND_SURNAME (string) or null | |
One of [ 1 .. 70 ] characters string (NAME_AND_SURNAME) [ 1 .. 70 ] characters Name of a person, each part of name must be maximal 30 characters long | |
| newsletterAllowed | boolean |
{- "confirmPhoneNumber": "+420739259931",
- "personName": "Jan Tron",
- "newsletterAllowed": true
}{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| requestId required | string (REQUEST_ID) >= 5 characters Example: DCD-1254445521 Returns if an action was created in the device configuration manager (configuration download, reconfiguration ...) |
| requestId required | string (DeviceRequestId) >= 5 characters Example: "DCD-1254445521" Returns if an action was created in the device configuration manager (configuration download, reconfiguration ...) | ||||||||
| state required | string (ProcessState) Enum: "CREATED" "IN_PROGRESS" "COMPLETED" | ||||||||
| type required | string (ProcessType) Enum: "SETTING" "RESET" "CONFIGURATION" "CONFIGURATION_DOWNLOAD" "CONFIGURATION_UPLOAD" "ROAMING_ACTIVATE" "ROAMING_DEACTIVATE" "TRACKING_START" "GSM_RESTART" "SYNC_STATES" … 4 more CONFIGURATION is deprecated, use CONFIGURATION_DOWNLOAD instead | ||||||||
| createdAt required | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification | ||||||||
| scheduledAt | string <date-time> (DateTime) Only available for CREATED status | ||||||||
| completedAt | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification | ||||||||
| success | boolean Default: true Only available for completed status | ||||||||
object Only available for non-success status | |||||||||
| |||||||||
object non-empty | |||||||||
| |||||||||
{- "requestId": "DCD-1254445521",
- "state": "CREATED",
- "type": "SETTING",
- "createdAt": "2019-08-24T14:15:22Z",
- "scheduledAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "success": true,
- "error": {
- "code": "CANCELED_BY_OTHER_PROCESS",
- "debugMessage": "Cannot connect to device via YTUN"
}, - "meta": {
- "userName": "tomas.janda@jablotron.cz",
- "originUserName": "tomas.janda@jablotron.cz",
- "originRequestId": "DCD-1254445521",
- "remainingAttempts": 0
}
}| objectEntityId required | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: OBJECT_JA100F:242566 Cloud entity id of Object |
| objectName required | string (ObjectOrServiceName) [ 1 .. 64 ] characters Example: "My House" Name of object or service | ||||||||||||||||||||||||||||||||||||
| deviceOfficialName required | string (DeviceModelOfficialName) Example: "JA-101K LAN 3G" | ||||||||||||||||||||||||||||||||||||
| serialNumber required | string (SerialNumber) ^[A-F\d]{8} Example: "F9301214" | ||||||||||||||||||||||||||||||||||||
| registrationKey required | string (RegistrationKey) ^([0-9A-HJKMNP-Za-hjkmnp-z]{5}-[0-9A-HJKMNP-Z... Example: "LAS6D-U2VBG-UHX65" | ||||||||||||||||||||||||||||||||||||
| timeZone required | string (TimeZone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" … 409 more Example: "Europe/Prague" IANA timezone definition | ||||||||||||||||||||||||||||||||||||
| phoneNumber | string (PhoneNumber) ^\+[\d]{5,19}$ Example: "+420739259931" Internation phone number with + prefix | ||||||||||||||||||||||||||||||||||||
| arcObjectNumber | string (ObjectNumber) ^[\dA-F]{4,8}$ Example: "F13D" | ||||||||||||||||||||||||||||||||||||
| installerCompany | string (CommonCompanyName) [ 1 .. 70 ] characters Example: "Company s.r.o." | ||||||||||||||||||||||||||||||||||||
| lastEventDate | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification | ||||||||||||||||||||||||||||||||||||
object non-empty | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
object non-empty | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
object non-empty | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
| settingSuccessDate | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification | ||||||||||||||||||||||||||||||||||||
| configurationSuccessDate | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification | ||||||||||||||||||||||||||||||||||||
Array of objects non-empty | |||||||||||||||||||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||||||||||||||||||
{- "objectName": "My House",
- "deviceOfficialName": "JA-101K LAN 3G",
- "serialNumber": "F9301214",
- "timeZone": "Europe/Prague",
- "registrationKey": "LAS6D-U2VBG-UHX65",
- "phoneNumber": "+420739259931",
- "arcObjectNumber": "F13D",
- "installerCompany": "Company s.r.o.",
- "lastEventDate": "2019-08-24T14:15:22Z",
- "gsm": {
- "signalStrength": 95,
- "lastDate": "2019-08-24T14:15:22Z",
- "operator": "Vodafone Czech Republic",
- "gsmGeneration": "4G"
}, - "firmware": {
- "version": "MD6112.07.1.2dbg",
- "date": "2019-08-24T14:15:22Z"
}, - "connection": {
- "method": "LAN",
- "date": "2019-08-24T14:15:22Z",
- "gate": "MAIN_CHANNEL"
}, - "settingSuccessDate": "2019-08-24T14:15:22Z",
- "configurationSuccessDate": "2019-08-24T14:15:22Z",
- "peripherals": [
- {
- "index": 255,
- "type": "JA-150EM-DIN",
- "name": "PIR Bedroom",
- "serialNumber": "1400-40-1234-5678",
- "swName": "MD6112.07.1.2dbg",
- "defaultNameTK": "SecuritySystem:Intrusion alarm activation",
- "defaultNameTVar": {
- "entityId": "5"
}, - "activeSabotageDate": "2019-08-24T14:15:22Z",
- "activeGeneralFaultDate": "2019-08-24T14:15:22Z",
- "activeBatteryFaultDate": "2019-08-24T14:15:22Z",
- "activeAccumulatorFaultDate": "2019-08-24T14:15:22Z",
- "activeMainCommunicationChannelFaultDate": "2019-08-24T14:15:22Z",
- "activeLostFaultDate": "2019-08-24T14:15:22Z",
- "activePowerSupplyFaultDate": "2019-08-24T14:15:22Z",
- "serviceModeDate": "2019-08-24T14:15:22Z",
- "activationState": "ENABLED"
}
]
}| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: "DISTRIBUTOR_DEFAULT:0012" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name required | string (CommonCompanyName) [ 1 .. 70 ] characters Example: "Company s.r.o." | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| countryCode required | string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Example: "CZ" Supported country code from CLOUD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object (DistributorSettings) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| rgapCountry | string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Example: "CZ" Supported country code from CLOUD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| helpdeskLogin | string <email> (Email) Example: "tomas.janda@jablotron.cz" Email address | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| description | string (Description) [ 1 .. 255 ] characters Example: "Common description of entity up to 255 characters" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object (ApiSettings) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object (DistributorCompanyInfo) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[- {
- "distributorId": "DISTRIBUTOR_DEFAULT:0012",
- "name": "Company s.r.o.",
- "countryCode": "CZ",
- "rgapCountry": "CZ",
- "helpdeskLogin": "tomas.janda@jablotron.cz",
- "description": "Common description of entity up to 255 characters",
- "settings": {
- "directArcEnabled": true,
- "objectTransferEnabled": true,
- "maintainedByJablonet": true,
- "simLockEnabled": true,
- "affiliateRegistered": true
}, - "api": {
- "authorizationKey": "b0d2f6a2d76a354d3a37f64b8ad08019",
- "pairedSoftwareKey": "221B368D7F5F597867F525971F28FF75",
- "isJaArc": true
}, - "contacts": {
- "cin": "885255412",
- "tin": "CZ885255412",
- "street": "Pod Houbou 15",
- "city": "Jablonec nad Nisou",
- "zip": "466 01",
- "iban": "CZ5508000000001234567899",
- "vatPayer": true,
- "invoiceCompanyName": "Company s.r.o.",
- "swiftCode": "AAAABBCC123",
- "bankAccountNumber": "35-254125846/0100",
- "bankAccountName": "Company s.r.o.",
- "bankAccountStreet": "Pod Houbou 15",
- "bankAccountCity": "Jablonec nad Nisou",
- "bankCountryCode": "CZ",
- "phoneNumber": "+420739259931",
- "email": "tomas.janda@jablotron.cz",
- "shareContacts": false,
- "companyLogoData": "U3dhZ2dlciByb2Nrcw==",
- "affiliateEmail": "tomas.janda@jablotron.cz",
- "affiliatePhoneNumber": "+420739259931"
}, - "meta": {
- "arcsCount": 6,
- "usersCount": 6,
- "preparedForApi": true
}
}
]Distributor attributes
| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: "DISTRIBUTOR_DEFAULT:0012" | ||||||||||
| name required | string (CommonCompanyName) [ 1 .. 70 ] characters Example: "Company s.r.o." | ||||||||||
| countryCode required | string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Example: "CZ" Supported country code from CLOUD | ||||||||||
| helpdeskLogin required | string <email> (Email) Example: "tomas.janda@jablotron.cz" Email address | ||||||||||
required | object (DistributorSettings) | ||||||||||
| |||||||||||
| rgapCountry | string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Example: "CZ" Supported country code from CLOUD | ||||||||||
| description | string (Description) [ 1 .. 255 ] characters Example: "Common description of entity up to 255 characters" | ||||||||||
{- "distributorId": "DISTRIBUTOR_DEFAULT:0012",
- "name": "Company s.r.o.",
- "countryCode": "CZ",
- "rgapCountry": "CZ",
- "helpdeskLogin": "tomas.janda@jablotron.cz",
- "description": "Common description of entity up to 255 characters",
- "settings": {
- "directArcEnabled": true,
- "objectTransferEnabled": true,
- "maintainedByJablonet": true,
- "simLockEnabled": true,
- "affiliateRegistered": true
}
}{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: DISTRIBUTOR_DEFAULT:0012 Cloud entity id of distributor |
| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: "DISTRIBUTOR_DEFAULT:0012" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name required | string (CommonCompanyName) [ 1 .. 70 ] characters Example: "Company s.r.o." | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| countryCode required | string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Example: "CZ" Supported country code from CLOUD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object (DistributorSettings) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| rgapCountry | string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Example: "CZ" Supported country code from CLOUD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| helpdeskLogin | string <email> (Email) Example: "tomas.janda@jablotron.cz" Email address | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| description | string (Description) [ 1 .. 255 ] characters Example: "Common description of entity up to 255 characters" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object (ApiSettings) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object (DistributorCompanyInfo) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects non-empty unique | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects (DistributorUser) non-empty unique | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "distributorId": "DISTRIBUTOR_DEFAULT:0012",
- "name": "Company s.r.o.",
- "countryCode": "CZ",
- "rgapCountry": "CZ",
- "helpdeskLogin": "tomas.janda@jablotron.cz",
- "description": "Common description of entity up to 255 characters",
- "settings": {
- "directArcEnabled": true,
- "objectTransferEnabled": true,
- "maintainedByJablonet": true,
- "simLockEnabled": true,
- "affiliateRegistered": true
}, - "api": {
- "authorizationKey": "b0d2f6a2d76a354d3a37f64b8ad08019",
- "pairedSoftwareKey": "221B368D7F5F597867F525971F28FF75",
- "isJaArc": true
}, - "contacts": {
- "cin": "885255412",
- "tin": "CZ885255412",
- "street": "Pod Houbou 15",
- "city": "Jablonec nad Nisou",
- "zip": "466 01",
- "iban": "CZ5508000000001234567899",
- "vatPayer": true,
- "invoiceCompanyName": "Company s.r.o.",
- "swiftCode": "AAAABBCC123",
- "bankAccountNumber": "35-254125846/0100",
- "bankAccountName": "Company s.r.o.",
- "bankAccountStreet": "Pod Houbou 15",
- "bankAccountCity": "Jablonec nad Nisou",
- "bankCountryCode": "CZ",
- "phoneNumber": "+420739259931",
- "email": "tomas.janda@jablotron.cz",
- "shareContacts": false,
- "companyLogoData": "U3dhZ2dlciByb2Nrcw==",
- "affiliateEmail": "tomas.janda@jablotron.cz",
- "affiliatePhoneNumber": "+420739259931"
}, - "arcs": [
- {
- "arcId": "ARC_CLOUD:00008808",
- "name": "Company s.r.o.",
- "hasDefaultTemplate": false,
- "customName": "Company s.r.o.",
- "activeObjectsCount": 6,
- "disabledFunctions": [
- "REMOTE_CONTROL"
]
}
], - "users": [
- {
- "distributorUserId": 242566,
- "user": {
- "userLogin": "tomas.janda@jablotron.cz",
- "userId": "USER_<OEM_JABLOTRON:Jablotron>:52325"
}, - "lastLoggedDate": "2019-08-24T14:15:22Z",
- "role": "USER",
- "modules": [
- "OBJECTS"
]
}
], - "meta": {
- "activeObjectsCount": 6,
- "preparedForApi": true
}
}| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: DISTRIBUTOR_DEFAULT:0012 Cloud entity id of distributor |
Attributes to be updated
| countryCode | string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Example: "CZ" Supported country code from CLOUD | ||||||||
CountryCode (string) or null | |||||||||
One of string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Supported country code from CLOUD | |||||||||
EMAIL (string) or null | |||||||||
One of string <email> (EMAIL) Email address | |||||||||
Description (string) or null | |||||||||
One of [ 1 .. 255 ] characters string (Description) [ 1 .. 255 ] characters | |||||||||
object | |||||||||
| |||||||||
{- "countryCode": "CZ",
- "rgapCountry": "CZ",
- "helpdeskLogin": "tomas.janda@jablotron.cz",
- "description": "Common description of entity up to 255 characters",
- "settings": {
- "directArcEnabled": true,
- "objectTransferEnabled": true,
- "maintainedByJablonet": true,
- "simLockEnabled": true
}
}{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: DISTRIBUTOR_DEFAULT:0012 Cloud entity id of distributor |
{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: DISTRIBUTOR_DEFAULT:0012 Cloud entity id of distributor |
API mode
| mode required | string Enum: "API" "JA_ARC" |
| authorizationKey required | string (AuthorizationKey) = 32 characters Example: "b0d2f6a2d76a354d3a37f64b8ad08019" |
{- "mode": "API"
}{- "authorizationKey": "b0d2f6a2d76a354d3a37f64b8ad08019"
}| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: DISTRIBUTOR_DEFAULT:0012 Cloud entity id of distributor |
{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: DISTRIBUTOR_DEFAULT:0012 Cloud entity id of distributor |
| distributorUserId required | integer <int64> (DbId) >= 1 Example: "242566" | ||||
required | object (UserAccountDetail) Common object of cloud user detail | ||||
| |||||
| role required | string (DistributorRole) Enum: "USER" "ADMINISTRATOR" | ||||
| modules required | Array of strings (DistributorModules) >= 0 items unique Items Enum: "OBJECTS" "INSTALLER_COMPANIES" "SETTINGS" "JA_PAY" "SN_LANG" "HELPDESK" | ||||
| lastLoggedDate | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification | ||||
[- {
- "distributorUserId": 242566,
- "user": {
- "userLogin": "tomas.janda@jablotron.cz",
- "userId": "USER_<OEM_JABLOTRON:Jablotron>:52325"
}, - "lastLoggedDate": "2019-08-24T14:15:22Z",
- "role": "USER",
- "modules": [
- "OBJECTS"
]
}
]| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: DISTRIBUTOR_DEFAULT:0012 Cloud entity id of distributor |
User attributes
| userLogin required | string <email> (Email) Example: "tomas.janda@jablotron.cz" Email address |
| role required | string (DistributorRole) Enum: "USER" "ADMINISTRATOR" |
| modules | Array of strings (DistributorModules) >= 0 items unique Items Enum: "OBJECTS" "INSTALLER_COMPANIES" "SETTINGS" "JA_PAY" "SN_LANG" "HELPDESK" |
| distributorUserId required | integer <int64> (DbId) >= 1 Example: "242566" | ||||
required | object (UserAccountDetail) Common object of cloud user detail | ||||
| |||||
| role required | string (DistributorRole) Enum: "USER" "ADMINISTRATOR" | ||||
| modules required | Array of strings (DistributorModules) >= 0 items unique Items Enum: "OBJECTS" "INSTALLER_COMPANIES" "SETTINGS" "JA_PAY" "SN_LANG" "HELPDESK" | ||||
| lastLoggedDate | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification | ||||
{- "userLogin": "tomas.janda@jablotron.cz",
- "role": "USER",
- "modules": [
- "OBJECTS"
]
}{- "distributorUserId": 242566,
- "user": {
- "userLogin": "tomas.janda@jablotron.cz",
- "userId": "USER_<OEM_JABLOTRON:Jablotron>:52325"
}, - "lastLoggedDate": "2019-08-24T14:15:22Z",
- "role": "USER",
- "modules": [
- "OBJECTS"
]
}| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: DISTRIBUTOR_DEFAULT:0012 Cloud entity id of distributor |
| userEntity required | string (CLOUD_USER) ^USER_ Example: USER_<OEM_JABLOTRON:Jablotron>:52325 Entity id of wanted CLOUD user |
{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: DISTRIBUTOR_DEFAULT:0012 Cloud entity id of distributor |
ARC attributes
| arcId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: "ARC_CLOUD:00008808" |
| customName | string (CommonCompanyName) [ 1 .. 70 ] characters Example: "Company s.r.o." |
{- "arcId": "ARC_CLOUD:00008808",
- "customName": "Company s.r.o."
}{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: DISTRIBUTOR_DEFAULT:0012 Cloud entity id of distributor |
| arcEntityId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: ARC_CLOUD:00008808 Cloud entity id of ARC |
{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: DISTRIBUTOR_DEFAULT:0012 Cloud entity id of distributor |
Company information
COMPANY_IDENTIFICATION_NUMBER (string) or null null only for PATCH to remove current value | |
One of [ 3 .. 32 ] characters string (COMPANY_IDENTIFICATION_NUMBER) [ 3 .. 32 ] characters Company identification number | |
TAX_IDENTIFICATION_NUMBER (string) or null null only for PATCH to remove current value | |
One of [ 3 .. 18 ] characters string (TAX_IDENTIFICATION_NUMBER) [ 3 .. 18 ] characters Company tax identification number | |
STREET (string) or null null only for PATCH to remove current value | |
One of [ 3 .. 64 ] characters string (STREET) [ 3 .. 64 ] characters Company street | |
CITY (string) or null null only for PATCH to remove current value | |
One of [ 1 .. 64 ] characters string (CITY) [ 1 .. 64 ] characters Company city | |
ZIP (string) or null null only for PATCH to remove current value | |
One of string (ZIP) ^[\d A-Z\-]{4,10}$ Company zip code | |
Iban (string) or null null only for PATCH to remove current value | |
One of [ 15 .. 34 ] characters string (Iban) [ 15 .. 34 ] characters ^[A-Z]{2}[\dA-Z\s]+$ Company IBAN, in human or machine format, returned always in machine | |
| vatPayer | boolean (VatPayer) Company is payer of VAT |
NAME_OF_SUBJECT (string) or null null only for PATCH to remove current value | |
One of [ 1 .. 70 ] characters string (NAME_OF_SUBJECT) [ 1 .. 70 ] characters null only for PATCH to remove current value | |
SwiftCode (string) or null null only for PATCH to remove current value | |
One of string (SwiftCode) ^[A-Z]{4}([A-Z]{2})[A-Z\d]{2}(:?[A-Z\d]{3})?$... null only for PATCH to remove current value | |
BANK_ACCOUNT_NUMBER (string) or null null only for PATCH to remove current value | |
One of [ 8 .. 30 ] characters string (BANK_ACCOUNT_NUMBER) [ 8 .. 30 ] characters null only for PATCH to remove current value | |
NAME_OF_SUBJECT (string) or null null only for PATCH to remove current value | |
One of [ 1 .. 70 ] characters string (NAME_OF_SUBJECT) [ 1 .. 70 ] characters null only for PATCH to remove current value | |
STREET (string) or null null only for PATCH to remove current value | |
One of [ 3 .. 64 ] characters string (STREET) [ 3 .. 64 ] characters Company street | |
CITY (string) or null null only for PATCH to remove current value | |
One of [ 1 .. 64 ] characters string (CITY) [ 1 .. 64 ] characters Company city | |
CountryCode (string) or null null only for PATCH to remove current value | |
One of string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Supported country code from CLOUD | |
PHONE_NUMBER (string) or null null only for PATCH to remove current value | |
One of string (PHONE_NUMBER) ^\+[\d]{5,19}$ Internation phone number with + prefix | |
EMAIL (string) or null null only for PATCH to remove current value | |
One of string <email> (EMAIL) Email address | |
| shareContacts | boolean (ShareContacts) Company want to share phone number and email address with end users |
LogoData (string) or null null only for PATCH to remove current logo | |
One of string <byte> (LogoData) Binary logo encoded in base64 string (used for upload/change) | |
EMAIL (string) or null null only for PATCH to remove current value | |
One of string <email> (EMAIL) Email address | |
PHONE_NUMBER (string) or null null only for PATCH to remove current value | |
One of string (PHONE_NUMBER) ^\+[\d]{5,19}$ Internation phone number with + prefix | |
| name | string >= 3 characters Example: "UP TEST" |
{- "cin": "885255412",
- "tin": "CZ885255412",
- "street": "Pod Houbou 15",
- "city": "Jablonec nad Nisou",
- "zip": "466 01",
- "iban": "CZ5508000000001234567899",
- "vatPayer": true,
- "invoiceCompanyName": "Company s.r.o.",
- "swiftCode": "AAAABBCC123",
- "bankAccountNumber": "35-254125846/0100",
- "bankAccountName": "Company s.r.o.",
- "bankAccountStreet": "Pod Houbou 15",
- "bankAccountCity": "Jablonec nad Nisou",
- "bankCountryCode": "CZ",
- "phoneNumber": "+420739259931",
- "email": "tomas.janda@jablotron.cz",
- "shareContacts": false,
- "companyLogoData": "U3dhZ2dlciByb2Nrcw==",
- "affiliateEmail": "tomas.janda@jablotron.cz",
- "affiliatePhoneNumber": "+420739259931",
- "name": "UP TEST"
}{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| companyId required | number (IntId) >= 1 Id of installerCompany |
| companyId required | number (IntId) >= 1 Common Int id | ||||
| name required | string (CommonCompanyName) [ 1 .. 70 ] characters Example: "Company s.r.o." | ||||
| cin | string (CompanyIdentificationNumber) [ 3 .. 32 ] characters Example: "885255412" Company identification number | ||||
TAX_IDENTIFICATION_NUMBER (string) or null null only for PATCH to remove current value | |||||
One of [ 3 .. 18 ] characters string (TAX_IDENTIFICATION_NUMBER) [ 3 .. 18 ] characters Company tax identification number | |||||
STREET (string) or null null only for PATCH to remove current value | |||||
One of [ 3 .. 64 ] characters string (STREET) [ 3 .. 64 ] characters Company street | |||||
CITY (string) or null null only for PATCH to remove current value | |||||
One of [ 1 .. 64 ] characters string (CITY) [ 1 .. 64 ] characters Company city | |||||
ZIP (string) or null null only for PATCH to remove current value | |||||
One of string (ZIP) ^[\d A-Z\-]{4,10}$ Company zip code | |||||
PHONE_NUMBER (string) or null null only for PATCH to remove current value | |||||
One of string (PHONE_NUMBER) ^\+[\d]{5,19}$ Internation phone number with + prefix | |||||
EMAIL (string) or null null only for PATCH to remove current value | |||||
One of string <email> (EMAIL) Email address | |||||
Iban (string) or null null only for PATCH to remove current value | |||||
One of [ 15 .. 34 ] characters string (Iban) [ 15 .. 34 ] characters ^[A-Z]{2}[\dA-Z\s]+$ Company IBAN, in human or machine format, returned always in machine | |||||
| vatPayer | boolean (VatPayer) Company is payer of VAT | ||||
CountryCode (string) or null null only for PATCH to remove current value | |||||
One of string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Supported country code from CLOUD | |||||
NAME_OF_SUBJECT (string) or null null only for PATCH to remove current value | |||||
One of [ 1 .. 70 ] characters string (NAME_OF_SUBJECT) [ 1 .. 70 ] characters null only for PATCH to remove current value | |||||
SwiftCode (string) or null null only for PATCH to remove current value | |||||
One of string (SwiftCode) ^[A-Z]{4}([A-Z]{2})[A-Z\d]{2}(:?[A-Z\d]{3})?$... null only for PATCH to remove current value | |||||
BANK_ACCOUNT_NUMBER (string) or null null only for PATCH to remove current value | |||||
One of [ 8 .. 30 ] characters string (BANK_ACCOUNT_NUMBER) [ 8 .. 30 ] characters null only for PATCH to remove current value | |||||
NAME_OF_SUBJECT (string) or null null only for PATCH to remove current value | |||||
One of [ 1 .. 70 ] characters string (NAME_OF_SUBJECT) [ 1 .. 70 ] characters null only for PATCH to remove current value | |||||
STREET (string) or null null only for PATCH to remove current value | |||||
One of [ 3 .. 64 ] characters string (STREET) [ 3 .. 64 ] characters Company street | |||||
CITY (string) or null null only for PATCH to remove current value | |||||
One of [ 1 .. 64 ] characters string (CITY) [ 1 .. 64 ] characters Company city | |||||
CountryCode (string) or null null only for PATCH to remove current value | |||||
One of string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Supported country code from CLOUD | |||||
| shareContacts | boolean (ShareContacts) Company want to share phone number and email address with end users | ||||
LogoData (string) or null null only for PATCH to remove current logo | |||||
One of string <byte> (LogoData) Binary logo encoded in base64 string (used for upload/change) | |||||
| affiliateRegistered | boolean ignored in PATCH, only for admin view | ||||
EMAIL (string) or null null only for PATCH to remove current value | |||||
One of string <email> (EMAIL) Email address | |||||
PHONE_NUMBER (string) or null null only for PATCH to remove current value | |||||
One of string (PHONE_NUMBER) ^\+[\d]{5,19}$ Internation phone number with + prefix | |||||
| companyLogoUrl | string <uri> (AttachmentUri) Example: "https://img-cdn.jablonet.net/1635490678/65FA0685F2F38?X-Amz-Date=20211029T063758Z&X-Amz-Expires=1200" URL for downloading the attachment with parameters | ||||
object (UserAccountDetail) Common object of cloud user detail | |||||
| |||||
{- "companyId": 1,
- "name": "Company s.r.o.",
- "cin": "885255412",
- "tin": "CZ885255412",
- "street": "Pod Houbou 15",
- "city": "Jablonec nad Nisou",
- "zip": "466 01",
- "phoneNumber": "+420739259931",
- "email": "tomas.janda@jablotron.cz",
- "iban": "CZ5508000000001234567899",
- "vatPayer": true,
- "countryCode": "CZ",
- "invoiceCompanyName": "Company s.r.o.",
- "swiftCode": "AAAABBCC123",
- "bankAccountNumber": "35-254125846/0100",
- "bankAccountName": "Company s.r.o.",
- "bankAccountStreet": "Pod Houbou 15",
- "bankAccountCity": "Jablonec nad Nisou",
- "bankCountryCode": "CZ",
- "shareContacts": false,
- "companyLogoData": "U3dhZ2dlciByb2Nrcw==",
- "affiliateRegistered": true,
- "affiliateEmail": "tomas.janda@jablotron.cz",
- "affiliatePhoneNumber": "+420739259931",
- "ownerAccount": {
- "userLogin": "tomas.janda@jablotron.cz",
- "userId": "USER_<OEM_JABLOTRON:Jablotron>:52325"
}
}| companyId required | number (IntId) >= 1 Id of installerCompany |
Company information
| cin | string (CompanyIdentificationNumber) [ 3 .. 32 ] characters Example: "885255412" Company identification number |
TAX_IDENTIFICATION_NUMBER (string) or null null only for PATCH to remove current value | |
One of [ 3 .. 18 ] characters string (TAX_IDENTIFICATION_NUMBER) [ 3 .. 18 ] characters Company tax identification number | |
STREET (string) or null null only for PATCH to remove current value | |
One of [ 3 .. 64 ] characters string (STREET) [ 3 .. 64 ] characters Company street | |
CITY (string) or null null only for PATCH to remove current value | |
One of [ 1 .. 64 ] characters string (CITY) [ 1 .. 64 ] characters Company city | |
ZIP (string) or null null only for PATCH to remove current value | |
One of string (ZIP) ^[\d A-Z\-]{4,10}$ Company zip code | |
PHONE_NUMBER (string) or null null only for PATCH to remove current value | |
One of string (PHONE_NUMBER) ^\+[\d]{5,19}$ Internation phone number with + prefix | |
EMAIL (string) or null null only for PATCH to remove current value | |
One of string <email> (EMAIL) Email address | |
Iban (string) or null null only for PATCH to remove current value | |
One of [ 15 .. 34 ] characters string (Iban) [ 15 .. 34 ] characters ^[A-Z]{2}[\dA-Z\s]+$ Company IBAN, in human or machine format, returned always in machine | |
| vatPayer | boolean (VatPayer) Company is payer of VAT |
CountryCode (string) or null null only for PATCH to remove current value | |
One of string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Supported country code from CLOUD | |
NAME_OF_SUBJECT (string) or null null only for PATCH to remove current value | |
One of [ 1 .. 70 ] characters string (NAME_OF_SUBJECT) [ 1 .. 70 ] characters null only for PATCH to remove current value | |
SwiftCode (string) or null null only for PATCH to remove current value | |
One of string (SwiftCode) ^[A-Z]{4}([A-Z]{2})[A-Z\d]{2}(:?[A-Z\d]{3})?$... null only for PATCH to remove current value | |
BANK_ACCOUNT_NUMBER (string) or null null only for PATCH to remove current value | |
One of [ 8 .. 30 ] characters string (BANK_ACCOUNT_NUMBER) [ 8 .. 30 ] characters null only for PATCH to remove current value | |
NAME_OF_SUBJECT (string) or null null only for PATCH to remove current value | |
One of [ 1 .. 70 ] characters string (NAME_OF_SUBJECT) [ 1 .. 70 ] characters null only for PATCH to remove current value | |
STREET (string) or null null only for PATCH to remove current value | |
One of [ 3 .. 64 ] characters string (STREET) [ 3 .. 64 ] characters Company street | |
CITY (string) or null null only for PATCH to remove current value | |
One of [ 1 .. 64 ] characters string (CITY) [ 1 .. 64 ] characters Company city | |
CountryCode (string) or null null only for PATCH to remove current value | |
One of string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Supported country code from CLOUD | |
| shareContacts | boolean (ShareContacts) Company want to share phone number and email address with end users |
LogoData (string) or null null only for PATCH to remove current logo | |
One of string <byte> (LogoData) Binary logo encoded in base64 string (used for upload/change) | |
| affiliateRegistered | boolean ignored in PATCH, only for admin view |
EMAIL (string) or null null only for PATCH to remove current value | |
One of string <email> (EMAIL) Email address | |
PHONE_NUMBER (string) or null null only for PATCH to remove current value | |
One of string (PHONE_NUMBER) ^\+[\d]{5,19}$ Internation phone number with + prefix | |
| name | string (CommonCompanyName) [ 1 .. 70 ] characters Example: "Company s.r.o." |
{- "cin": "885255412",
- "tin": "CZ885255412",
- "street": "Pod Houbou 15",
- "city": "Jablonec nad Nisou",
- "zip": "466 01",
- "phoneNumber": "+420739259931",
- "email": "tomas.janda@jablotron.cz",
- "iban": "CZ5508000000001234567899",
- "vatPayer": true,
- "countryCode": "CZ",
- "invoiceCompanyName": "Company s.r.o.",
- "swiftCode": "AAAABBCC123",
- "bankAccountNumber": "35-254125846/0100",
- "bankAccountName": "Company s.r.o.",
- "bankAccountStreet": "Pod Houbou 15",
- "bankAccountCity": "Jablonec nad Nisou",
- "bankCountryCode": "CZ",
- "shareContacts": false,
- "companyLogoData": "U3dhZ2dlciByb2Nrcw==",
- "affiliateRegistered": true,
- "affiliateEmail": "tomas.janda@jablotron.cz",
- "affiliatePhoneNumber": "+420739259931",
- "name": "Company s.r.o."
}{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| arcType | string Enum: "CLOUD" "DIRECT" Type of ARC to be returned |
| arcEntityId | Array of strings (ArcEntityId) non-empty unique [ items^ARC_(CLOUD|DIRECT):([\d]+)$ ] Example: arcEntityId=ARC_CLOUD:00008808 ArcId for optional filtering |
| distributorEntities | Array of strings (DistributorId) non-empty unique [ items^DISTRIBUTOR_DEFAULT:(\d{4})$ ] Example: distributorEntities=DISTRIBUTOR_DEFAULT:0012 DistributorId for optional filtering |
| arcId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: "ARC_CLOUD:00008808" | ||||||||||
| name required | string (CommonCompanyName) [ 1 .. 70 ] characters Example: "Company s.r.o." | ||||||||||
| countryCode required | string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Example: "CZ" Supported country code from CLOUD | ||||||||||
| hasDefaultTemplate | boolean Default: false Indicates whether the DIRECT ARC has a default template set | ||||||||||
| outputId | string (OutputId) Enum: "SP1" "SP2" "SP3" "SP4" "SP5" "SP6" "SP7" Available only for CLOUD ARC | ||||||||||
| driverType | string (DriverType) Enum: "KROND" "KRONDI" "SIAD" "SIAD_DUAL" "SRG2D" "SRG2D_DUAL" "MNTD" "MNTD_DUAL" "UNSUPPORTED" Available only for CLOUD ARC | ||||||||||
| photoVerificationUrlBase | string <uri> Example: "https://arc-verification.jablotron.cloud/12541/akdsjfhkjs/:objectNumber" | ||||||||||
object | |||||||||||
| |||||||||||
[- {
- "arcId": "ARC_CLOUD:00008808",
- "name": "Company s.r.o.",
- "hasDefaultTemplate": false,
- "countryCode": "CZ",
- "outputId": "SP1",
- "driverType": "KROND",
- "photoVerificationUrlBase": "https://arc-verification.jablotron.cloud/12541/akdsjfhkjs/:objectNumber",
- "meta": {
- "distributorsCount": 6,
- "usersCount": 6,
- "connectedToApi": {
- "mode": "API"
}
}
}
]ARC attributes
| countryCode required | string Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Example: "CZ" Supported country code from CLOUD |
| outputId required | string (OutputId) Enum: "SP1" "SP2" "SP3" "SP4" "SP5" "SP6" "SP7" Available only for CLOUD ARC |
| driverType required | string (DriverType) Enum: "KROND" "KRONDI" "SIAD" "SIAD_DUAL" "SRG2D" "SRG2D_DUAL" "MNTD" "MNTD_DUAL" "UNSUPPORTED" Available only for CLOUD ARC |
| arcId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: "ARC_CLOUD:00008808" |
| name required | string (CommonCompanyName) [ 1 .. 70 ] characters Example: "Company s.r.o." |
| $type | string |
| outputPort | integer (OutputPort) [ 1 .. 65535 ] Example: "30005" Available only for CLOUD ARC |
| disabledFunctions | Array of strings (DisabledFunctionsForAdministratorRequest) >= 0 items unique Items Enum: "REMOTE_CONTROL" "CAMERA_MANAGEMENT" "COMMUNICATION_NUMBER_MODIFICATION" "ARC_TRANSFER_MODIFICATION" "DOWNLOAD_CONFIGURATION" "REGISTRATION" Optional list of disabled ARC functions. If omitted, the current value is preserved on update and no functions are disabled on create. |
| hasDefaultTemplate | boolean Default: false Indicates whether the DIRECT ARC has a default template set |
COMPANY_IDENTIFICATION_NUMBER (string) or null null only for PATCH to remove current value | |
One of [ 3 .. 32 ] characters string (COMPANY_IDENTIFICATION_NUMBER) [ 3 .. 32 ] characters Company identification number | |
TAX_IDENTIFICATION_NUMBER (string) or null null only for PATCH to remove current value | |
One of [ 3 .. 18 ] characters string (TAX_IDENTIFICATION_NUMBER) [ 3 .. 18 ] characters Company tax identification number | |
STREET (string) or null null only for PATCH to remove current value | |
One of [ 3 .. 64 ] characters string (STREET) [ 3 .. 64 ] characters Company street | |
CITY (string) or null null only for PATCH to remove current value | |
One of [ 1 .. 64 ] characters string (CITY) [ 1 .. 64 ] characters Company city | |
ZIP (string) or null null only for PATCH to remove current value | |
One of string (ZIP) ^[\d A-Z\-]{4,10}$ Company zip code | |
EMAIL (string) or null null only for PATCH to remove current value | |
One of string <email> (EMAIL) Email address | |
PHONE_NUMBER (string) or null null only for PATCH to remove current value | |
One of string (PHONE_NUMBER) ^\+[\d]{5,19}$ Internation phone number with + prefix | |
EMAIL (string) or null null only for PATCH to remove current value | |
One of string <email> (EMAIL) Email address | |
| shareContacts | boolean (ShareContacts) Company want to share phone number and email address with end users |
LogoData (string) or null null only for PATCH to remove current logo | |
One of string <byte> (LogoData) Binary logo encoded in base64 string (used for upload/change) | |
Description (string) or null null only for PATCH to remove current value | |
One of [ 1 .. 255 ] characters string (Description) [ 1 .. 255 ] characters null only for PATCH to remove current value | |
boolean or null null only for PATCH to remove current value | |
One of boolean null only for PATCH to remove current value | |
| arcId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: "ARC_CLOUD:00008808" |
{- "$type": "ARC_CLOUD",
- "countryCode": "CZ",
- "outputId": "SP1",
- "driverType": "KROND",
- "outputPort": 30005,
- "disabledFunctions": [
- "REMOTE_CONTROL"
], - "arcId": "ARC_CLOUD:00008808",
- "name": "Company s.r.o.",
- "hasDefaultTemplate": false,
- "cin": "885255412",
- "tin": "CZ885255412",
- "street": "Pod Houbou 15",
- "city": "Jablonec nad Nisou",
- "zip": "466 01",
- "helpdeskEmail": "tomas.janda@jablotron.cz",
- "phoneNumber": "+420739259931",
- "email": "tomas.janda@jablotron.cz",
- "shareContacts": false,
- "companyLogoData": "U3dhZ2dlciByb2Nrcw==",
- "description": "Common description of entity up to 255 characters",
- "autoTransferDisabled": true
}{- "arcId": "ARC_CLOUD:00008808"
}| arcEntityId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: ARC_CLOUD:00008808 Cloud entity id of ARC |
| arcId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: "ARC_CLOUD:00008808" | ||||||||||||||||
| name required | string (CommonCompanyName) [ 1 .. 70 ] characters Example: "Company s.r.o." | ||||||||||||||||
| countryCode required | string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Example: "CZ" Supported country code from CLOUD | ||||||||||||||||
required | object | ||||||||||||||||
| |||||||||||||||||
| autoTransferDisabled required | boolean | ||||||||||||||||
| hasDefaultTemplate | boolean Default: false Indicates whether the DIRECT ARC has a default template set | ||||||||||||||||
| outputId | string (OutputId) Enum: "SP1" "SP2" "SP3" "SP4" "SP5" "SP6" "SP7" Available only for CLOUD ARC | ||||||||||||||||
| driverType | string (DriverType) Enum: "KROND" "KRONDI" "SIAD" "SIAD_DUAL" "SRG2D" "SRG2D_DUAL" "MNTD" "MNTD_DUAL" "UNSUPPORTED" Available only for CLOUD ARC | ||||||||||||||||
| photoVerificationUrlBase | string <uri> Example: "https://arc-verification.jablotron.cloud/12541/akdsjfhkjs/:objectNumber" | ||||||||||||||||
| outputPort | integer [ 1 .. 65535 ] Example: "30005" | ||||||||||||||||
| helpdeskEmail | string <email> (Email) Example: "tomas.janda@jablotron.cz" Email address | ||||||||||||||||
| description | string (Description) [ 1 .. 255 ] characters Example: "Common description of entity up to 255 characters" | ||||||||||||||||
| disabledFunctions | Array of strings (DisabledFunctions) non-empty unique Items Enum: "REMOTE_CONTROL" "CAMERA_MANAGEMENT" "COMMUNICATION_NUMBER_MODIFICATION" "ARC_TRANSFER_MODIFICATION" "DOWNLOAD_CONFIGURATION" "REGISTRATION" Returned only if the ARC has at least one disabled function. | ||||||||||||||||
Array of objects (NotificationList) | |||||||||||||||||
Array
| |||||||||||||||||
Array of objects (DistributorUnderArcListForAdmin) >= 0 items unique | |||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||
Array of objects (ListOfUsers) | |||||||||||||||||
Array
| |||||||||||||||||
{- "arcId": "ARC_CLOUD:00008808",
- "name": "Company s.r.o.",
- "hasDefaultTemplate": false,
- "countryCode": "CZ",
- "outputId": "SP1",
- "driverType": "KROND",
- "photoVerificationUrlBase": "https://arc-verification.jablotron.cloud/12541/akdsjfhkjs/:objectNumber",
- "outputPort": 30005,
- "helpdeskEmail": "tomas.janda@jablotron.cz",
- "description": "Common description of entity up to 255 characters",
- "autoTransferDisabled": true,
- "disabledFunctions": [
- "REMOTE_CONTROL"
], - "notificationContacts": [
- {
- "notificationId": 242566,
- "lastUpdate": "2019-08-24T14:15:22Z",
- "lastUpdateUserId": "USER_<OEM_JABLOTRON:Jablotron>:52325",
- "targetType": "EMAIL",
- "target": "tomas.janda@jablotron.cz",
- "categories": [
- "ARC_CONNECTED"
], - "languageCode": "CS"
}
], - "distributors": [
- {
- "distributorId": "DISTRIBUTOR_DEFAULT:0012",
- "name": "Company s.r.o.",
- "countryCode": "CZ",
- "rgapCountry": "CZ",
- "connectedToApi": {
- "mode": "API"
}, - "activeObjectsCount": 6
}
], - "users": [
- {
- "arcUserId": 242566,
- "userId": "USER_<OEM_JABLOTRON:Jablotron>:52325",
- "lastLoggedDate": "2019-08-24T14:15:22Z",
- "userLogin": "tomas.janda@jablotron.cz",
- "role": "USER"
}
], - "meta": {
- "activeObjectsCount": 6,
- "activeCamerasCount": 6,
- "connectedToApi": {
- "mode": "API"
}
}
}| arcEntityId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: ARC_CLOUD:00008808 Cloud entity id of ARC |
ARC attributes
| name | string (CommonCompanyName) [ 1 .. 70 ] characters Example: "Company s.r.o." |
| countryCode | string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Example: "CZ" Supported country code from CLOUD |
| driverType | string (DriverType) Enum: "KROND" "KRONDI" "SIAD" "SIAD_DUAL" "SRG2D" "SRG2D_DUAL" "MNTD" "MNTD_DUAL" "UNSUPPORTED" Available only for CLOUD ARC |
OutputPort (integer) or null | |
One of [ 1 .. 65535 ] integer (OutputPort) [ 1 .. 65535 ] Available only for CLOUD ARC | |
OutputId (string) or null | |
One of string (OutputId) Enum: "SP1" "SP2" "SP3" "SP4" "SP5" "SP6" "SP7" Available only for CLOUD ARC | |
EMAIL (string) or null | |
One of string <email> (EMAIL) Email address | |
Description (string) or null | |
One of [ 1 .. 255 ] characters string (Description) [ 1 .. 255 ] characters | |
| autoTransferDisabled | boolean ARC has disabled data transfer to ARC from new objects by default |
| disabledFunctions | Array of strings (DisabledFunctionsForAdministratorRequest) >= 0 items unique Items Enum: "REMOTE_CONTROL" "CAMERA_MANAGEMENT" "COMMUNICATION_NUMBER_MODIFICATION" "ARC_TRANSFER_MODIFICATION" "DOWNLOAD_CONFIGURATION" "REGISTRATION" Optional list of disabled ARC functions. If omitted, the current value is preserved on update and no functions are disabled on create. |
{- "name": "Company s.r.o.",
- "countryCode": "CZ",
- "driverType": "KROND",
- "outputPort": 30005,
- "outputId": "SP1",
- "helpdeskEmail": "tomas.janda@jablotron.cz",
- "description": "Common description of entity up to 255 characters",
- "autoTransferDisabled": true,
- "disabledFunctions": [
- "REMOTE_CONTROL"
]
}{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| arcEntityId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: ARC_CLOUD:00008808 Cloud entity id of ARC |
{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| arcEntityId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: ARC_CLOUD:00008808 Cloud entity id of ARC |
| arcUserId required | integer <int64> (DbId) >= 1 Example: "242566" |
| userId required | string (CloudUserEntity) ^USER_<OEM_([A-Z]+):([a-zA-Z\d]+)>:(\d+)$ Example: "USER_<OEM_JABLOTRON:Jablotron>:52325" Unique identification of CLOUD user account e.g. |
| userLogin required | string <email> (Email) Example: "tomas.janda@jablotron.cz" Email address |
| role required | string (UserRole) Enum: "USER" "ADMINISTRATOR" |
| lastLoggedDate | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification |
[- {
- "arcUserId": 242566,
- "userId": "USER_<OEM_JABLOTRON:Jablotron>:52325",
- "lastLoggedDate": "2019-08-24T14:15:22Z",
- "userLogin": "tomas.janda@jablotron.cz",
- "role": "USER"
}
]| arcEntityId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: ARC_CLOUD:00008808 Cloud entity id of ARC |
User attributes
| userLogin required | string <email> (Email) Example: "tomas.janda@jablotron.cz" Email address |
| role required | string (UserRole) Enum: "USER" "ADMINISTRATOR" |
| setDefaultNotifications | boolean Default: true |
| arcUserId required | integer <int64> (DbId) >= 1 Example: "242566" |
| userId required | string (CloudUserEntity) ^USER_<OEM_([A-Z]+):([a-zA-Z\d]+)>:(\d+)$ Example: "USER_<OEM_JABLOTRON:Jablotron>:52325" Unique identification of CLOUD user account e.g. |
| userLogin required | string <email> (Email) Example: "tomas.janda@jablotron.cz" Email address |
| role required | string (UserRole) Enum: "USER" "ADMINISTRATOR" |
| lastLoggedDate | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification |
{- "userLogin": "tomas.janda@jablotron.cz",
- "role": "USER",
- "setDefaultNotifications": true
}{- "arcUserId": 242566,
- "userId": "USER_<OEM_JABLOTRON:Jablotron>:52325",
- "lastLoggedDate": "2019-08-24T14:15:22Z",
- "userLogin": "tomas.janda@jablotron.cz",
- "role": "USER"
}| arcEntityId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: ARC_CLOUD:00008808 Cloud entity id of ARC |
| userEntity required | string (CLOUD_USER) ^USER_ Example: USER_<OEM_JABLOTRON:Jablotron>:52325 Entity id of wanted CLOUD user |
{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}Supported country code from CLOUD
[- "CZ"
]| directArcEntityId required | string (DirectArcEntityId) ^ARC_DIRECT:([\d]+)$ Example: ARC_DIRECT:9463 Entity id of direct ARC |
ARC attributes
| sourceArcId required | string (DirectArcEntityId) ^ARC_DIRECT:([\d]+)$ Example: "ARC_DIRECT:9463" |
{- "sourceArcId": "ARC_DIRECT:9463"
}{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}Returns metadata about the running microservice, including service information and dependencies
required | object Metadata of running MS | ||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
required | Array of objects List of dependencies of running MS | ||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||
{- "service": {
- "name": "string",
- "description": "string",
- "owner": "string",
- "repositoryUrl": "string",
- "documentationUrl": "string",
- "tags": [
- [
- "php",
- "cv1.5"
]
], - "environment": {
- "variables": [
- {
- "name": "LOGGER_TYPE",
- "description": "TYPE:string;REQUIRED:true;ENUM:CLI|FILE"
}
]
}, - "featureFlags": [
- {
- "name": "string",
- "description": "string",
- "type": "boolean"
}
]
}, - "dependencies": [
- {
- "type": "resource",
- "name": "dev-api-installer-logos"
}
]
}Registers the user account for the given Indexa device registration flow and sends the registration email.
The backend returns a successful response both when a new account is created and when the account already exists. The response does not expose which branch was taken.
Account registration params
| authorizationCode required | string (IndexaAuthorizationCode) ^[A-F0-9]{16}$ Example: "A1B2C3D4E5F60708" |
| registrationKey required | string (RegistrationKey) ^([0-9A-HJKMNP-Za-hjkmnp-z]{5}-[0-9A-HJKMNP-Z... Example: "LAS6D-U2VBG-UHX65" |
| loginName required | string <email> (Email) Example: "tomas.janda@jablotron.cz" Email address |
{- "loginName": "tomas.janda@jablotron.cz",
- "authorizationCode": "A1B2C3D4E5F60708",
- "registrationKey": "LAS6D-U2VBG-UHX65"
}{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}Registration params
| ownerLoginName required | string <email> (Email) Example: "tomas.janda@jablotron.cz" Email address |
required | DEVICE_IDENTITY (string) or REGISTRATION_KEY (string) |
One of string (DEVICE_IDENTITY) ^DEVICE_((JACLOUDSN:[A-F\d]{8})|(JASNV1:[\d]{... | |
| serviceName required | string (ObjectOrServiceName) [ 1 .. 64 ] characters Example: "My House" Name of object or service |
| timeZone required | string (TimeZone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" … 409 more Example: "Europe/Prague" IANA timezone definition |
| countryCode required | string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Example: "CZ" Supported country code from CLOUD |
| serviceEntityId required | string (ServiceEntityId) ^SERVICE_(\w+):([\d]+)$ Example: "SERVICE_JA100F:242566" |
| objectEntityId required | string (ObjectEntityId) ^OBJECT_(\w+):([\d]+)$ Example: "OBJECT_JA100F:242566" |
{- "deviceIdentification": "DEVICE_JACLOUDSN:F9100013",
- "serviceName": "My House",
- "timeZone": "Europe/Prague",
- "countryCode": "CZ",
- "ownerLoginName": "tomas.janda@jablotron.cz"
}{- "serviceEntityId": "SERVICE_JA100F:242566",
- "objectEntityId": "OBJECT_JA100F:242566"
}| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: distributorId=DISTRIBUTOR_DEFAULT:0012 Id of distributor |
| id required | string (DeviceModel) Enum: "AURA" "AZ10K" "CA1802" "CA1803BT" "CA2103" "CU07" "CU07A" "CU08" "CU08A" "FUTURA" … 29 more Example: "JA107K" |
| name required | string (DeviceModelOfficialName) Example: "JA-101K LAN 3G" |
[- {
- "id": "JA101KLAN3G",
- "name": "JA-101K LAN 3G"
}, - {
- "id": "JA103K",
- "name": "JA-103K"
}
]| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: distributorId=DISTRIBUTOR_DEFAULT:0012 Id of distributor |
| first | integer (Limit) >= 1 Example: first=50 Limits maximum of returned items, can be used together with cursor |
| after | string (Cursor) Example: after=WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd Cursor value, can be used together with limits value |
| last | integer (Limit) >= 1 Example: last=50 Limits maximum of returned items, can be used together with cursor |
| before | string (Cursor) Example: before=WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd Cursor value, can be used together with limits value |
| registrationKey | string (REGISTRATION_KEY) ^([0-9A-HJKMNP-Za-hjkmnp-z]{5}-[0-9A-HJKMNP-Z... Example: registrationKey=LAS6D-U2VBG-UHX65 Registration key |
| devicePhoneNumber | string (SearchString) >= 3 characters Example: devicePhoneNumber=jand Device phone number (LIKE) |
| objectId | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: objectId=OBJECT_JA100F:242566 Id of object |
| objectName | string (SearchString) >= 3 characters Example: objectName=jand Name of object (LIKE) |
| arcObjectNumber | string (ObjectNumber) ^[\dA-F]{4,8}$ Example: arcObjectNumber=F13D ARC object number (EQUAL) |
| deviceModel[] | Array of strings (DeviceModel) non-empty unique Items Enum: "AURA" "AZ10K" "CA1802" "CA1803BT" "CA2103" "CU07" "CU07A" "CU08" "CU08A" "FUTURA" … 29 more Example: deviceModel[]=JA107K&deviceModel[]=JA103K&deviceModel[]=JA151KRY Device model |
| distributorInstallerId | integer <int64> (DB_INCREMENT_ID) >= 1 Example: distributorInstallerId=242566 Id of distributor installer company (EQUAL) |
ArcEntityId (string) or string Cloud entity id of ARC or NONE for objects without ARC | |
| withLabels[] | Array of strings (ObjectLabels) non-empty Items Enum: "HISTORIC" "FOR_REVIEW" "UNFINISHED" "NOT_SET" "COMMUNICATION_SMS" Example: withLabels[]=HISTORIC&withLabels[]=FOR_REVIEW List of wanted object labels, if HISTORIC is not specified only ACTIVE objects are filtered |
required | Array of objects (schemas-ListOfObjects) >= 0 items unique | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "items": [
- {
- "node": {
- "objectId": "OBJECT_JA100F:242566",
- "timeZone": "Europe/Prague",
- "name": "My House",
- "arcObjectNumber": "F13D",
- "arc": {
- "arcId": "ARC_CLOUD:00008808",
- "name": "Company s.r.o."
}, - "installer": {
- "distributorInstallerId": 242566,
- "name": "Company s.r.o."
}, - "owner": {
- "userLogin": "tomas.janda@jablotron.cz"
}, - "device": {
- "registrationKey": "LAS6D-U2VBG-UHX65",
- "family": "JA100F",
- "model": "JA107K",
- "officialName": "JA-101K LAN 3G",
- "sim": {
- "phoneNumber": "+420739259931",
- "simCardId": "SIM_SDC:46c41735-c931-4bf0-a03a-f39275beea8"
}, - "registrationDate": "2019-08-24T14:15:22Z",
- "configurationDownloadDate": "2019-08-24T14:15:22Z",
- "configurationSetDate": "2019-08-24T14:15:22Z"
}, - "labels": [
- "HISTORIC"
], - "meta": {
- "allowedActions": [
- "SETTING"
]
}
}, - "cursor": "WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd"
}
], - "pageInfo": {
- "hasNextPage": true,
- "hasPreviousPage": true,
- "startCursor": "WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd",
- "endCursor": "WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd"
}
}| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: distributorId=DISTRIBUTOR_DEFAULT:0012 Id of distributor |
| registrationKey | string (REGISTRATION_KEY) ^([0-9A-HJKMNP-Za-hjkmnp-z]{5}-[0-9A-HJKMNP-Z... Example: registrationKey=LAS6D-U2VBG-UHX65 Registration key |
| devicePhoneNumber | string (SearchString) >= 3 characters Example: devicePhoneNumber=jand Device phone number (LIKE) |
| objectId | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: objectId=OBJECT_JA100F:242566 Id of object |
| objectName | string (SearchString) >= 3 characters Example: objectName=jand Name of object (LIKE) |
| arcObjectNumber | string (ObjectNumber) ^[\dA-F]{4,8}$ Example: arcObjectNumber=F13D ARC object number (EQUAL) |
| deviceModel[] | Array of strings (DeviceModel) non-empty unique Items Enum: "AURA" "AZ10K" "CA1802" "CA1803BT" "CA2103" "CU07" "CU07A" "CU08" "CU08A" "FUTURA" … 29 more Example: deviceModel[]=JA107K&deviceModel[]=JA103K&deviceModel[]=JA151KRY Device model |
| distributorInstallerId | integer <int64> (DB_INCREMENT_ID) >= 1 Example: distributorInstallerId=242566 Id of distributor installer company (EQUAL) |
ArcEntityId (string) or string Cloud entity id of ARC or NONE for objects without ARC | |
| withLabels[] | Array of strings (ObjectLabels) non-empty Items Enum: "HISTORIC" "FOR_REVIEW" "UNFINISHED" "NOT_SET" "COMMUNICATION_SMS" Example: withLabels[]=HISTORIC&withLabels[]=FOR_REVIEW List of wanted object labels, if HISTORIC is not specified only ACTIVE objects are filtered |
| csv required | string <base64> <application/csv> |
{- "csv": "string"
}| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: distributorId=DISTRIBUTOR_DEFAULT:0012 Id of distributor |
| objectIds[] | Array of strings (OBJECT_ENTITY) non-empty unique [ items^OBJECT_(\w+):([\d]+)$ ] Example: objectIds[]=OBJECT_JA100F:242566 List of object entities |
Objects attributes
| objectReviewState | string Enum: "REVIEWED" "FOR_REVIEW" |
| objectReviewStateUpdateCount | integer <int32> >= 0 |
{- "objectReviewState": "REVIEWED"
}{- "objectReviewStateUpdateCount": 0
}| objectEntityId required | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: OBJECT_JA100F:242566 Cloud entity id of Object |
Object setting action
| $type required | string Value: "RECONFIGURATION" |
| requestId required | string (DeviceRequestId) >= 5 characters Example: "DCD-1254445521" Returns if an action was created in the device configuration manager (configuration download, reconfiguration ...) |
{- "$type": "RECONFIGURATION"
}{- "requestId": "DCD-1254445521"
}| objectEntityId required | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: OBJECT_JA100F:242566 Cloud entity id of Object |
| confirmSubscriptionCancellation | boolean Default: false Confirm subscription cancellation when deactivating. If it is not provided or is false, error 422 is returned when checking for active subscriptions on the object If it is not sent, it behaves as if it were false |
| forceDeactivation | boolean Default: false Force deactivation when a reset device has failed If If it is not sent, it behaves as if it were false |
| requestId required | string (DeviceRequestId) >= 5 characters Example: "DCD-1254445521" Returns if an action was created in the device configuration manager (configuration download, reconfiguration ...) |
{- "requestId": "DCD-1254445521"
}| objectEntityId required | string (OBJECT_ENTITY) ^OBJECT_(\w+):([\d]+)$ Example: OBJECT_JA100F:242566 Cloud entity id of Object |
| first | integer (Limit) >= 1 Example: first=50 Limits maximum of returned items, can be used together with cursor |
| after | string (Cursor) Example: after=WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd Cursor value, can be used together with limits value |
| last | integer (Limit) >= 1 Example: last=50 Limits maximum of returned items, can be used together with cursor |
| before | string (Cursor) Example: before=WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd Cursor value, can be used together with limits value |
required | Array of objects (ListOfObjectLogs) >= 0 items unique | ||||||||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||||||||
required | object | ||||||||||||||||||||||
| |||||||||||||||||||||||
{- "items": [
- {
- "node": {
- "actionLogId": 1,
- "actionType": "CONFIGURATION_DOWNLOAD_REQUEST",
- "actionNameTk": "ObjectLog:Registration key modify",
- "logDate": "2019-08-24T14:15:22Z",
- "user": {
- "userLogin": "tomas.janda@jablotron.cz",
- "userId": "USER_<OEM_JABLOTRON:Jablotron>:52325"
}
}, - "cursor": "WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd"
}
], - "pageInfo": {
- "hasNextPage": true,
- "hasPreviousPage": true,
- "startCursor": "WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd",
- "endCursor": "WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd"
}
}| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: "DISTRIBUTOR_DEFAULT:0012" | ||||
| name required | string (CommonCompanyName) [ 1 .. 70 ] characters Example: "Company s.r.o." | ||||
| countryCode required | string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Example: "CZ" Supported country code from CLOUD | ||||
required | object | ||||
| |||||
| rgapCountry | string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Example: "CZ" Supported country code from CLOUD | ||||
[- {
- "distributorId": "DISTRIBUTOR_DEFAULT:0012",
- "name": "Company s.r.o.",
- "countryCode": "CZ",
- "rgapCountry": "CZ",
- "me": {
- "role": "USER",
- "modules": [
- "OBJECTS"
]
}
}
]| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: distributorId=DISTRIBUTOR_DEFAULT:0012 Id of distributor |
| arcId required | string (ArcEntityId) ^ARC_(CLOUD|DIRECT):([\d]+)$ Example: "ARC_CLOUD:00008808" |
| arcType required | string (ArcType) Enum: "CLOUD" "DIRECT" Example: "CLOUD" |
| name required | string (CommonCompanyName) [ 1 .. 70 ] characters Example: "Company s.r.o." |
| objectCount required | integer <int32> (Counter) >= 0 Example: "6" |
[- {
- "arcId": "ARC_CLOUD:00008808",
- "arcType": "CLOUD",
- "name": "Company s.r.o.",
- "objectCount": 6
}
]| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: distributorId=DISTRIBUTOR_DEFAULT:0012 Id of distributor |
| search | string non-empty Fulltext search in supported fields based on resource |
| first | integer (Limit) >= 1 Example: first=50 Limits maximum of returned items, can be used together with cursor |
| after | string (Cursor) Example: after=WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd Cursor value, can be used together with limits value |
| last | integer (Limit) >= 1 Example: last=50 Limits maximum of returned items, can be used together with cursor |
| before | string (Cursor) Example: before=WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd Cursor value, can be used together with limits value |
required | Array of objects (DistributorInstallerCompaniesWithActiveObjects) >= 0 items unique | ||||||||||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||||||||||
required | object | ||||||||||||||||||||||||
| |||||||||||||||||||||||||
{- "items": [
- {
- "node": {
- "companyId": 1,
- "name": "Company s.r.o.",
- "ownerAccount": {
- "userLogin": "tomas.janda@jablotron.cz"
}, - "distributorInstallerId": 242566,
- "meta": {
- "objectsCount": 6
}
}, - "cursor": "WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd"
}
], - "pageInfo": {
- "hasNextPage": true,
- "hasPreviousPage": true,
- "startCursor": "WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd",
- "endCursor": "WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd"
}
}| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: DISTRIBUTOR_DEFAULT:0012 Cloud entity id of distributor |
| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: "DISTRIBUTOR_DEFAULT:0012" | ||||
| name required | string (CommonCompanyName) [ 1 .. 70 ] characters Example: "Company s.r.o." | ||||
| countryCode required | string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Example: "CZ" Supported country code from CLOUD | ||||
| affiliateRegistered required | boolean (InstallerAffiliate) Company is registered in affiliate | ||||
required | object | ||||
| |||||
| rgapCountry | string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Example: "CZ" Supported country code from CLOUD | ||||
COMPANY_IDENTIFICATION_NUMBER (string) or null null only for PATCH to remove current value | |||||
One of [ 3 .. 32 ] characters string (COMPANY_IDENTIFICATION_NUMBER) [ 3 .. 32 ] characters Company identification number | |||||
TAX_IDENTIFICATION_NUMBER (string) or null null only for PATCH to remove current value | |||||
One of [ 3 .. 18 ] characters string (TAX_IDENTIFICATION_NUMBER) [ 3 .. 18 ] characters Company tax identification number | |||||
STREET (string) or null null only for PATCH to remove current value | |||||
One of [ 3 .. 64 ] characters string (STREET) [ 3 .. 64 ] characters Company street | |||||
CITY (string) or null null only for PATCH to remove current value | |||||
One of [ 1 .. 64 ] characters string (CITY) [ 1 .. 64 ] characters Company city | |||||
ZIP (string) or null null only for PATCH to remove current value | |||||
One of string (ZIP) ^[\d A-Z\-]{4,10}$ Company zip code | |||||
Iban (string) or null null only for PATCH to remove current value | |||||
One of [ 15 .. 34 ] characters string (Iban) [ 15 .. 34 ] characters ^[A-Z]{2}[\dA-Z\s]+$ Company IBAN, in human or machine format, returned always in machine | |||||
| vatPayer | boolean (VatPayer) Company is payer of VAT | ||||
NAME_OF_SUBJECT (string) or null null only for PATCH to remove current value | |||||
One of [ 1 .. 70 ] characters string (NAME_OF_SUBJECT) [ 1 .. 70 ] characters null only for PATCH to remove current value | |||||
SwiftCode (string) or null null only for PATCH to remove current value | |||||
One of string (SwiftCode) ^[A-Z]{4}([A-Z]{2})[A-Z\d]{2}(:?[A-Z\d]{3})?$... null only for PATCH to remove current value | |||||
BANK_ACCOUNT_NUMBER (string) or null null only for PATCH to remove current value | |||||
One of [ 8 .. 30 ] characters string (BANK_ACCOUNT_NUMBER) [ 8 .. 30 ] characters null only for PATCH to remove current value | |||||
NAME_OF_SUBJECT (string) or null null only for PATCH to remove current value | |||||
One of [ 1 .. 70 ] characters string (NAME_OF_SUBJECT) [ 1 .. 70 ] characters null only for PATCH to remove current value | |||||
STREET (string) or null null only for PATCH to remove current value | |||||
One of [ 3 .. 64 ] characters string (STREET) [ 3 .. 64 ] characters Company street | |||||
CITY (string) or null null only for PATCH to remove current value | |||||
One of [ 1 .. 64 ] characters string (CITY) [ 1 .. 64 ] characters Company city | |||||
CountryCode (string) or null null only for PATCH to remove current value | |||||
One of string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Supported country code from CLOUD | |||||
PHONE_NUMBER (string) or null null only for PATCH to remove current value | |||||
One of string (PHONE_NUMBER) ^\+[\d]{5,19}$ Internation phone number with + prefix | |||||
EMAIL (string) or null null only for PATCH to remove current value | |||||
One of string <email> (EMAIL) Email address | |||||
| shareContacts | boolean (ShareContacts) Company want to share phone number and email address with end users | ||||
LogoData (string) or null null only for PATCH to remove current logo | |||||
One of string <byte> (LogoData) Binary logo encoded in base64 string (used for upload/change) | |||||
EMAIL (string) or null null only for PATCH to remove current value | |||||
One of string <email> (EMAIL) Email address | |||||
PHONE_NUMBER (string) or null null only for PATCH to remove current value | |||||
One of string (PHONE_NUMBER) ^\+[\d]{5,19}$ Internation phone number with + prefix | |||||
| companyLogoUrl | string <uri> (AttachmentUri) Example: "https://img-cdn.jablonet.net/1635490678/65FA0685F2F38?X-Amz-Date=20211029T063758Z&X-Amz-Expires=1200" URL for downloading the attachment with parameters | ||||
{- "distributorId": "DISTRIBUTOR_DEFAULT:0012",
- "name": "Company s.r.o.",
- "countryCode": "CZ",
- "rgapCountry": "CZ",
- "cin": "885255412",
- "tin": "CZ885255412",
- "street": "Pod Houbou 15",
- "city": "Jablonec nad Nisou",
- "zip": "466 01",
- "iban": "CZ5508000000001234567899",
- "vatPayer": true,
- "invoiceCompanyName": "Company s.r.o.",
- "swiftCode": "AAAABBCC123",
- "bankAccountNumber": "35-254125846/0100",
- "bankAccountName": "Company s.r.o.",
- "bankAccountStreet": "Pod Houbou 15",
- "bankAccountCity": "Jablonec nad Nisou",
- "bankCountryCode": "CZ",
- "phoneNumber": "+420739259931",
- "email": "tomas.janda@jablotron.cz",
- "shareContacts": false,
- "companyLogoData": "U3dhZ2dlciByb2Nrcw==",
- "affiliateEmail": "tomas.janda@jablotron.cz",
- "affiliatePhoneNumber": "+420739259931",
- "affiliateRegistered": false,
- "me": {
- "role": "USER",
- "modules": [
- "OBJECTS"
]
}
}| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: DISTRIBUTOR_DEFAULT:0012 Cloud entity id of distributor |
Company information
COMPANY_IDENTIFICATION_NUMBER (string) or null null only for PATCH to remove current value | |
One of [ 3 .. 32 ] characters string (COMPANY_IDENTIFICATION_NUMBER) [ 3 .. 32 ] characters Company identification number | |
TAX_IDENTIFICATION_NUMBER (string) or null null only for PATCH to remove current value | |
One of [ 3 .. 18 ] characters string (TAX_IDENTIFICATION_NUMBER) [ 3 .. 18 ] characters Company tax identification number | |
STREET (string) or null null only for PATCH to remove current value | |
One of [ 3 .. 64 ] characters string (STREET) [ 3 .. 64 ] characters Company street | |
CITY (string) or null null only for PATCH to remove current value | |
One of [ 1 .. 64 ] characters string (CITY) [ 1 .. 64 ] characters Company city | |
ZIP (string) or null null only for PATCH to remove current value | |
One of string (ZIP) ^[\d A-Z\-]{4,10}$ Company zip code | |
Iban (string) or null null only for PATCH to remove current value | |
One of [ 15 .. 34 ] characters string (Iban) [ 15 .. 34 ] characters ^[A-Z]{2}[\dA-Z\s]+$ Company IBAN, in human or machine format, returned always in machine | |
| vatPayer | boolean (VatPayer) Company is payer of VAT |
NAME_OF_SUBJECT (string) or null null only for PATCH to remove current value | |
One of [ 1 .. 70 ] characters string (NAME_OF_SUBJECT) [ 1 .. 70 ] characters null only for PATCH to remove current value | |
SwiftCode (string) or null null only for PATCH to remove current value | |
One of string (SwiftCode) ^[A-Z]{4}([A-Z]{2})[A-Z\d]{2}(:?[A-Z\d]{3})?$... null only for PATCH to remove current value | |
BANK_ACCOUNT_NUMBER (string) or null null only for PATCH to remove current value | |
One of [ 8 .. 30 ] characters string (BANK_ACCOUNT_NUMBER) [ 8 .. 30 ] characters null only for PATCH to remove current value | |
NAME_OF_SUBJECT (string) or null null only for PATCH to remove current value | |
One of [ 1 .. 70 ] characters string (NAME_OF_SUBJECT) [ 1 .. 70 ] characters null only for PATCH to remove current value | |
STREET (string) or null null only for PATCH to remove current value | |
One of [ 3 .. 64 ] characters string (STREET) [ 3 .. 64 ] characters Company street | |
CITY (string) or null null only for PATCH to remove current value | |
One of [ 1 .. 64 ] characters string (CITY) [ 1 .. 64 ] characters Company city | |
CountryCode (string) or null null only for PATCH to remove current value | |
One of string (CountryCode) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" … 241 more Supported country code from CLOUD | |
PHONE_NUMBER (string) or null null only for PATCH to remove current value | |
One of string (PHONE_NUMBER) ^\+[\d]{5,19}$ Internation phone number with + prefix | |
EMAIL (string) or null null only for PATCH to remove current value | |
One of string <email> (EMAIL) Email address | |
| shareContacts | boolean (ShareContacts) Company want to share phone number and email address with end users |
LogoData (string) or null null only for PATCH to remove current logo | |
One of string <byte> (LogoData) Binary logo encoded in base64 string (used for upload/change) | |
EMAIL (string) or null null only for PATCH to remove current value | |
One of string <email> (EMAIL) Email address | |
PHONE_NUMBER (string) or null null only for PATCH to remove current value | |
One of string (PHONE_NUMBER) ^\+[\d]{5,19}$ Internation phone number with + prefix | |
| name | string >= 3 characters Example: "UP TEST" |
{- "cin": "885255412",
- "tin": "CZ885255412",
- "street": "Pod Houbou 15",
- "city": "Jablonec nad Nisou",
- "zip": "466 01",
- "iban": "CZ5508000000001234567899",
- "vatPayer": true,
- "invoiceCompanyName": "Company s.r.o.",
- "swiftCode": "AAAABBCC123",
- "bankAccountNumber": "35-254125846/0100",
- "bankAccountName": "Company s.r.o.",
- "bankAccountStreet": "Pod Houbou 15",
- "bankAccountCity": "Jablonec nad Nisou",
- "bankCountryCode": "CZ",
- "phoneNumber": "+420739259931",
- "email": "tomas.janda@jablotron.cz",
- "shareContacts": false,
- "companyLogoData": "U3dhZ2dlciByb2Nrcw==",
- "affiliateEmail": "tomas.janda@jablotron.cz",
- "affiliatePhoneNumber": "+420739259931",
- "name": "UP TEST"
}{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: DISTRIBUTOR_DEFAULT:0012 Cloud entity id of distributor |
| distributorUserId required | integer <int64> (DbId) >= 1 Example: "242566" | ||||
required | object (UserAccountDetail) Common object of cloud user detail | ||||
| |||||
| role required | string (DistributorRole) Enum: "USER" "ADMINISTRATOR" | ||||
| modules required | Array of strings (DistributorModules) >= 0 items unique Items Enum: "OBJECTS" "INSTALLER_COMPANIES" "SETTINGS" "JA_PAY" "SN_LANG" "HELPDESK" | ||||
| lastLoggedDate | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification | ||||
[- {
- "distributorUserId": 242566,
- "user": {
- "userLogin": "tomas.janda@jablotron.cz",
- "userId": "USER_<OEM_JABLOTRON:Jablotron>:52325"
}, - "lastLoggedDate": "2019-08-24T14:15:22Z",
- "role": "USER",
- "modules": [
- "OBJECTS"
]
}
]| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: DISTRIBUTOR_DEFAULT:0012 Cloud entity id of distributor |
User attributes
| userLogin required | string <email> (Email) Example: "tomas.janda@jablotron.cz" Email address |
| role required | string (DistributorRole) Enum: "USER" "ADMINISTRATOR" |
| modules | Array of strings (DistributorModules) >= 0 items unique Items Enum: "OBJECTS" "INSTALLER_COMPANIES" "SETTINGS" "JA_PAY" "SN_LANG" "HELPDESK" |
| distributorUserId required | integer <int64> (DbId) >= 1 Example: "242566" | ||||
required | object (UserAccountDetail) Common object of cloud user detail | ||||
| |||||
| role required | string (DistributorRole) Enum: "USER" "ADMINISTRATOR" | ||||
| modules required | Array of strings (DistributorModules) >= 0 items unique Items Enum: "OBJECTS" "INSTALLER_COMPANIES" "SETTINGS" "JA_PAY" "SN_LANG" "HELPDESK" | ||||
| lastLoggedDate | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification | ||||
{- "userLogin": "tomas.janda@jablotron.cz",
- "role": "USER",
- "modules": [
- "OBJECTS"
]
}{- "distributorUserId": 242566,
- "user": {
- "userLogin": "tomas.janda@jablotron.cz",
- "userId": "USER_<OEM_JABLOTRON:Jablotron>:52325"
}, - "lastLoggedDate": "2019-08-24T14:15:22Z",
- "role": "USER",
- "modules": [
- "OBJECTS"
]
}| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: DISTRIBUTOR_DEFAULT:0012 Cloud entity id of distributor |
| userEntity required | string (CLOUD_USER) ^USER_ Example: USER_<OEM_JABLOTRON:Jablotron>:52325 Entity id of wanted CLOUD user |
User attributes
| role | string (DistributorRole) Enum: "USER" "ADMINISTRATOR" |
| modules | Array of strings (DistributorModule) non-empty Items Enum: "OBJECTS" "INSTALLER_COMPANIES" "SETTINGS" "JA_PAY" "SN_LANG" "HELPDESK" |
{- "role": "USER",
- "modules": [
- "OBJECTS"
]
}{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: DISTRIBUTOR_DEFAULT:0012 Cloud entity id of distributor |
| userEntity required | string (CLOUD_USER) ^USER_ Example: USER_<OEM_JABLOTRON:Jablotron>:52325 Entity id of wanted CLOUD user |
{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: DISTRIBUTOR_DEFAULT:0012 Cloud entity id of distributor |
| type required | string Enum: "ALARM_BUILDING" "ALARM_CAR" "HVAC" | ||||||||||||||||||
required | Array of objects | ||||||||||||||||||
Array
| |||||||||||||||||||
[- {
- "type": "ALARM_BUILDING",
- "groups": [
- {
- "translationKey": "JAPARTNER:Customer type",
- "dependsOn": 242566,
- "attributes": [
- {
- "id": 242566,
- "translationKey": "JAPARTNER:Customer type",
- "defaultBehavior": "REQUIRED",
- "distributorBehavior": "REQUIRED",
- "canBeOverwrite": true
}
]
}
]
}
]| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: DISTRIBUTOR_DEFAULT:0012 Cloud entity id of distributor |
Wanted behavior
| id required | integer <int64> (DistributorAttributeSettingId) >= 1 Example: "242566" Unique identifier of attribute definition for this distributor and segment type |
| behavior required | string (FormSettingBehavior) Enum: "REQUIRED" "OPTIONAL" "HIDDEN" Default behavior for attribute value. |
[- {
- "id": 242566,
- "behavior": "REQUIRED"
}
]{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: DISTRIBUTOR_DEFAULT:0012 Cloud entity id of distributor |
Installer company attributes
| cin required | string (CompanyIdentificationNumber) [ 3 .. 32 ] characters Example: "885255412" Company identification number |
| ownerLoginName required | string <email> (Email) Example: "tomas.janda@jablotron.cz" Email address |
| name required | string (CommonCompanyName) [ 1 .. 70 ] characters Example: "Company s.r.o." |
TAX_IDENTIFICATION_NUMBER (string) or null null only for PATCH to remove current value | |
One of [ 3 .. 18 ] characters string (TAX_IDENTIFICATION_NUMBER) [ 3 .. 18 ] characters Company tax identification number | |
STREET (string) or null null only for PATCH to remove current value | |
One of [ 3 .. 64 ] characters string (STREET) [ 3 .. 64 ] characters Company street | |
CITY (string) or null null only for PATCH to remove current value | |
One of [ 1 .. 64 ] characters string (CITY) [ 1 .. 64 ] characters Company city | |
ZIP (string) or null null only for PATCH to remove current value | |
One of string (ZIP) ^[\d A-Z\-]{4,10}$ Company zip code | |
PHONE_NUMBER (string) or null null only for PATCH to remove current value | |
One of string (PHONE_NUMBER) ^\+[\d]{5,19}$ Internation phone number with + prefix | |
EMAIL (string) or null null only for PATCH to remove current value | |
One of string <email> (EMAIL) Email address | |
| distributorInstallerId required | integer <int64> (DbId) >= 1 Example: "242566" |
| name required | string (CommonCompanyName) [ 1 .. 70 ] characters Example: "Company s.r.o." |
{- "cin": "885255412",
- "tin": "CZ885255412",
- "street": "Pod Houbou 15",
- "city": "Jablonec nad Nisou",
- "zip": "466 01",
- "phoneNumber": "+420739259931",
- "email": "tomas.janda@jablotron.cz",
- "ownerLoginName": "tomas.janda@jablotron.cz",
- "name": "Company s.r.o."
}{- "distributorInstallerId": 242566,
- "name": "Company s.r.o."
}| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: DISTRIBUTOR_DEFAULT:0012 Cloud entity id of distributor |
| loginName required | string <email> (EMAIL) Example: tomas.janda@jablotron.cz Login name of cloud user account |
required | object (UserAccountDetail) Common object of cloud user detail | ||||||||||||||||||||
| |||||||||||||||||||||
Array of objects (DistributorInstallerCompanyByLoginCompany) non-empty Companies where given loginName already participates (owner/member). | |||||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||||
{- "userAccount": {
- "userLogin": "tomas.janda@jablotron.cz",
- "userId": "USER_<OEM_JABLOTRON:Jablotron>:52325"
}, - "companies": [
- {
- "installerCompanyId": 242566,
- "name": "Company s.r.o.",
- "cin": "885255412",
- "role": "INSTALLER",
- "distributor": {
- "distributorInstallerId": 242566,
- "name": "Company s.r.o.",
- "cin": "885255412"
}
}
]
}| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: DISTRIBUTOR_DEFAULT:0012 Cloud entity id of distributor |
| distributorInstallerId required | integer <int64> (DB_INCREMENT_ID) >= 1 Example: 242566 Id of distributor installer company |
| cin required | string (CompanyIdentificationNumber) [ 3 .. 32 ] characters Example: "885255412" Company identification number | ||||||||||||||
| name required | string (NAME_OF_SUBJECT) [ 1 .. 70 ] characters Example: "Company s.r.o." | ||||||||||||||
required | object | ||||||||||||||
| |||||||||||||||
| companyId required | number >= 1 Common Int id | ||||||||||||||
| distributorInstallerId required | integer <int64> (DbId) >= 1 Example: "242566" | ||||||||||||||
required | Array of objects (DistributorInstallerCompanyMembers) non-empty List of members of the company | ||||||||||||||
Array (non-empty)
| |||||||||||||||
TAX_IDENTIFICATION_NUMBER (string) or null null only for PATCH to remove current value | |||||||||||||||
One of [ 3 .. 18 ] characters string (TAX_IDENTIFICATION_NUMBER) [ 3 .. 18 ] characters Company tax identification number | |||||||||||||||
STREET (string) or null null only for PATCH to remove current value | |||||||||||||||
One of [ 3 .. 64 ] characters string (STREET) [ 3 .. 64 ] characters Company street | |||||||||||||||
CITY (string) or null null only for PATCH to remove current value | |||||||||||||||
One of [ 1 .. 64 ] characters string (CITY) [ 1 .. 64 ] characters Company city | |||||||||||||||
ZIP (string) or null null only for PATCH to remove current value | |||||||||||||||
One of string (ZIP) ^[\d A-Z\-]{4,10}$ Company zip code | |||||||||||||||
PHONE_NUMBER (string) or null null only for PATCH to remove current value | |||||||||||||||
One of string (PHONE_NUMBER) ^\+[\d]{5,19}$ Internation phone number with + prefix | |||||||||||||||
EMAIL (string) or null null only for PATCH to remove current value | |||||||||||||||
One of string <email> (EMAIL) Email address | |||||||||||||||
{- "companyId": 1,
- "name": "Company s.r.o.",
- "distributorInstallerId": 242566,
- "cin": "885255412",
- "tin": "CZ885255412",
- "street": "Pod Houbou 15",
- "city": "Jablonec nad Nisou",
- "zip": "466 01",
- "phoneNumber": "+420739259931",
- "email": "tomas.janda@jablotron.cz",
- "meta": {
- "objectsCount": 6,
- "deletionBlockedReason": [
- "ACTIVE_OBJECTS"
]
}, - "members": [
- {
- "installerUserId": 242566,
- "role": "INSTALLER",
- "memberAccount": {
- "userLogin": "tomas.janda@jablotron.cz",
- "userId": "USER_<OEM_JABLOTRON:Jablotron>:52325"
}, - "trainings": [
- "ZK1"
]
}
]
}| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: DISTRIBUTOR_DEFAULT:0012 Cloud entity id of distributor |
| distributorInstallerId required | integer <int64> (DB_INCREMENT_ID) >= 1 Example: 242566 Id of distributor installer company |
| cin | string (CompanyIdentificationNumber) [ 3 .. 32 ] characters Example: "885255412" Company identification number |
TAX_IDENTIFICATION_NUMBER (string) or null null only for PATCH to remove current value | |
One of [ 3 .. 18 ] characters string (TAX_IDENTIFICATION_NUMBER) [ 3 .. 18 ] characters Company tax identification number | |
STREET (string) or null null only for PATCH to remove current value | |
One of [ 3 .. 64 ] characters string (STREET) [ 3 .. 64 ] characters Company street | |
CITY (string) or null null only for PATCH to remove current value | |
One of [ 1 .. 64 ] characters string (CITY) [ 1 .. 64 ] characters Company city | |
ZIP (string) or null null only for PATCH to remove current value | |
One of string (ZIP) ^[\d A-Z\-]{4,10}$ Company zip code | |
PHONE_NUMBER (string) or null null only for PATCH to remove current value | |
One of string (PHONE_NUMBER) ^\+[\d]{5,19}$ Internation phone number with + prefix | |
EMAIL (string) or null null only for PATCH to remove current value | |
One of string <email> (EMAIL) Email address | |
| name | string (CommonCompanyName) [ 1 .. 70 ] characters Example: "Company s.r.o." |
{- "cin": "885255412",
- "tin": "CZ885255412",
- "street": "Pod Houbou 15",
- "city": "Jablonec nad Nisou",
- "zip": "466 01",
- "phoneNumber": "+420739259931",
- "email": "tomas.janda@jablotron.cz",
- "name": "Company s.r.o."
}{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: DISTRIBUTOR_DEFAULT:0012 Cloud entity id of distributor |
| distributorInstallerId required | integer <int64> (DB_INCREMENT_ID) >= 1 Example: 242566 Id of distributor installer company |
{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: DISTRIBUTOR_DEFAULT:0012 Cloud entity id of distributor |
| distributorInstallerId required | integer <int64> (DB_INCREMENT_ID) >= 1 Example: 242566 Id of distributor installer company |
Company information
| userLogin required | string <email> (Email) Example: "tomas.janda@jablotron.cz" Email address |
| keepCurrentOwnerInCompany required | boolean Default: true If true, current owner will be kept in the company with role INSTALLER |
{- "userLogin": "tomas.janda@jablotron.cz",
- "keepCurrentOwnerInCompany": true
}{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: distributorId=DISTRIBUTOR_DEFAULT:0012 Id of distributor |
| search | string non-empty Fulltext search in supported fields based on resource |
| loginName | string <email> (EMAIL) Example: loginName=tomas.janda@jablotron.cz Login name of cloud user account (equal) |
| first | integer (Limit) >= 1 Example: first=50 Limits maximum of returned items, can be used together with cursor |
| after | string (Cursor) Example: after=WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd Cursor value, can be used together with limits value |
| last | integer (Limit) >= 1 Example: last=50 Limits maximum of returned items, can be used together with cursor |
| before | string (Cursor) Example: before=WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd Cursor value, can be used together with limits value |
| orderBy | string Enum: "ACTIVE_OBJECTS" "NAME" "IDENTIFICATION" "CREATED" Order by field |
| direction | string Enum: "ASC" "DESC" Order direction |
required | Array of objects (DistributorInstallerCompanies) >= 0 items unique | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "items": [
- {
- "node": {
- "companyId": 1,
- "name": "Company s.r.o.",
- "ownerAccount": {
- "userLogin": "tomas.janda@jablotron.cz"
}, - "distributorInstallerId": 242566,
- "cin": "885255412",
- "tin": "CZ885255412",
- "street": "Pod Houbou 15",
- "city": "Jablonec nad Nisou",
- "zip": "466 01",
- "phoneNumber": "+420739259931",
- "email": "tomas.janda@jablotron.cz",
- "meta": {
- "objectsCount": 6,
- "installersCount": 6,
- "deletionBlockedReason": [
- "ACTIVE_OBJECTS"
]
}
}, - "cursor": "WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd"
}
], - "pageInfo": {
- "hasNextPage": true,
- "hasPreviousPage": true,
- "startCursor": "WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd",
- "endCursor": "WyIyMDIxLTA4LTIxVDIxOjQ1OjM2WiJd"
}
}| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: distributorId=DISTRIBUTOR_DEFAULT:0012 Id of distributor |
| search | string non-empty Fulltext search in supported fields based on resource |
| loginName | string <email> (EMAIL) Example: loginName=tomas.janda@jablotron.cz Login name of cloud user account (equal) |
| orderBy | string Enum: "ACTIVE_OBJECTS" "NAME" "IDENTIFICATION" "CREATED" Order by field |
| direction | string Enum: "ASC" "DESC" Order direction |
| csv required | string <base64> <application/csv> |
{- "csv": "string"
}Installer company attributes
| sourceDistributorInstallerId required | integer <int64> (DbId) >= 1 Example: "242566" |
| targetDistributorInstallerId required | integer <int64> (DbId) >= 1 Example: "242566" |
| objects required | integer <int32> (Counter) >= 0 Example: "6" Number of transferred objects |
{- "sourceDistributorInstallerId": 242566,
- "targetDistributorInstallerId": 242566
}{- "objects": 6
}| distributorId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: DISTRIBUTOR_DEFAULT:0012 Cloud entity id of distributor |
| distributorInstallerId required | integer <int64> (DB_INCREMENT_ID) >= 1 Example: 242566 Id of distributor installer company |
| userEntity required | string (CLOUD_USER) ^USER_ Example: USER_<OEM_JABLOTRON:Jablotron>:52325 Entity id of wanted CLOUD user |
Installer training type
[- "ZK1"
]{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}| userLogin required | string <email> (Email) Example: "tomas.janda@jablotron.cz" Email address |
| userId required | string (CloudUserEntity) ^USER_<OEM_([A-Z]+):([a-zA-Z\d]+)>:(\d+)$ Example: "USER_<OEM_JABLOTRON:Jablotron>:52325" Unique identification of CLOUD user account e.g. |
PHONE_NUMBER (string) or null | |
One of string (PHONE_NUMBER) ^\+[\d]{5,19}$ Internation phone number with + prefix | |
NAME_AND_SURNAME (string) or null | |
One of [ 1 .. 70 ] characters string (NAME_AND_SURNAME) [ 1 .. 70 ] characters Name of a person, each part of name must be maximal 30 characters long | |
| newsletterAllowed | boolean |
{- "userLogin": "tomas.janda@jablotron.cz",
- "userId": "USER_<OEM_JABLOTRON:Jablotron>:52325",
- "confirmPhoneNumber": "+420739259931",
- "personName": "Jan Tron",
- "newsletterAllowed": true
}Changed values
PHONE_NUMBER (string) or null | |
One of string (PHONE_NUMBER) ^\+[\d]{5,19}$ Internation phone number with + prefix | |
NAME_AND_SURNAME (string) or null | |
One of [ 1 .. 70 ] characters string (NAME_AND_SURNAME) [ 1 .. 70 ] characters Name of a person, each part of name must be maximal 30 characters long | |
| newsletterAllowed | boolean |
{- "confirmPhoneNumber": "+420739259931",
- "personName": "Jan Tron",
- "newsletterAllowed": true
}{- "errorId": "2b826f5a-d0ff-4764-a007-350fffd5bbdc",
- "httpCode": 200,
- "errors": [
- {
- "code": "UNAUTHENTICATED.TOKEN_EXPIRED",
- "message": "You are not allowed to control area \"Hall\".",
- "debug": "User is not allowed to arm security system section.",
- "context": "Some information for better debugging",
- "stack": [
- "ValidationError: Parameters validation failed at <anonymous>"
]
}
]
}Reservation params
| distributorEntityId required | string (DistributorId) ^DISTRIBUTOR_DEFAULT:(\d{4})$ Example: "DISTRIBUTOR_DEFAULT:0012" |
required | DEVICE_IDENTITY (string) or REGISTRATION_KEY (string) or SERIAL_NUMBER_HEX (string) or SERIAL_NUMBER_DEC (string) or SERIAL_NUMBER_FULL_DEC_NO_DASH (string) or SERIAL_NUMBER_DEC_NO_PREFIX_NO_DASH (string) or CU07 (string) (RegistrationDeviceIdentification) |
Any of string (DEVICE_IDENTITY) ^DEVICE_((JACLOUDSN:[A-F\d]{8})|(JASNV1:[\d]{... | |
| objectName required | string (ObjectOrServiceName) [ 1 .. 64 ] characters Example: "My House" Name of object or service |
| msisdn | string (PhoneNumber) ^\+[\d]{5,19}$ Example: "+420739259931" Internation phone number with + prefix |
| timeZone | string (TimeZone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" … 409 more Example: "Europe/Prague" IANA timezone definition |
| objectEntityId required | string (ObjectEntityId) ^OBJECT_(\w+):([\d]+)$ Example: "OBJECT_JA100F:242566" |
{- "distributorEntityId": "DISTRIBUTOR_DEFAULT:0012",
- "deviceIdentification": "DEVICE_JACLOUDSN:F9100013",
- "objectName": "My House",
- "msisdn": "+420739259931",
- "timeZone": "Europe/Prague"
}{- "objectEntityId": "OBJECT_JA100F:242566"
}| requestId required | string (REQUEST_ID) >= 5 characters Example: DCD-1254445521 Returns if an action was created in the device configuration manager (configuration download, reconfiguration ...) |
| requestId required | string (DeviceRequestId) >= 5 characters Example: "DCD-1254445521" Returns if an action was created in the device configuration manager (configuration download, reconfiguration ...) | ||||||||
| state required | string (ProcessState) Enum: "CREATED" "IN_PROGRESS" "COMPLETED" | ||||||||
| type required | string (ProcessType) Enum: "SETTING" "RESET" "CONFIGURATION" "CONFIGURATION_DOWNLOAD" "CONFIGURATION_UPLOAD" "ROAMING_ACTIVATE" "ROAMING_DEACTIVATE" "TRACKING_START" "GSM_RESTART" "SYNC_STATES" … 4 more CONFIGURATION is deprecated, use CONFIGURATION_DOWNLOAD instead | ||||||||
| createdAt required | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification | ||||||||
| scheduledAt | string <date-time> (DateTime) Only available for CREATED status | ||||||||
| completedAt | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification | ||||||||
| success | boolean Default: true Only available for completed status | ||||||||
object Only available for non-success status | |||||||||
| |||||||||
object non-empty | |||||||||
| |||||||||
{- "requestId": "DCD-1254445521",
- "state": "CREATED",
- "type": "SETTING",
- "createdAt": "2019-08-24T14:15:22Z",
- "scheduledAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "success": true,
- "error": {
- "code": "CANCELED_BY_OTHER_PROCESS",
- "debugMessage": "Cannot connect to device via YTUN"
}, - "meta": {
- "userName": "tomas.janda@jablotron.cz",
- "originUserName": "tomas.janda@jablotron.cz",
- "originRequestId": "DCD-1254445521",
- "remainingAttempts": 0
}
}| v1 required | string Value: "v1" Version 1 of API |
| allActors required | string (AllActorList) Enum: "system" "installer" "end-user" "arc" "distributor" List of allowed actors for manipulating with this resource |
| dateTime required | string <date-time> (DateTime) RFC 3339 Date and Time with TimeZone offset specification |
| id required | integer <int64> Example: "35562" |
string <email> Example: "tomas.janda@jablotron.cz" |
{- "dateTime": "2019-08-24T14:15:22Z",
- "id": 35562,
- "email": "tomas.janda@jablotron.cz"
}