This repository has been archived by the owner on Nov 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsrtemplate.txt
204 lines (129 loc) · 15.2 KB
/
srtemplate.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
netcomm_1.1.2
10,300,GET,/identity/externalIds/c8y_Serial/%%,,application/vnd.com.nsn.cumulocity.externalId+json,%%,STRING,
# Device Capability
10,301,POST,/inventory/managedObjects,application/json,application/json,%%,STRING UNSIGNED,"{""name"":""%%"",""type"":""NTC-220 Agent"",""c8y_IsDevice"":{},""com_cumulocity_model_Agent"":{},""c8y_RequiredAvailability"":{""responseInterval"":%%}}"
10,302,POST,/identity/globalIds/%%/externalIds,application/json,,%%,UNSIGNED STRING,"{""externalId"":""%%"",""type"":""c8y_Serial""}"
10,303,PUT,/devicecontrol/operations/%%,application/json,,%%,UNSIGNED STRING,"{""status"":""%%""}"
10,304,PUT,/devicecontrol/operations/%%,application/json,,%%,UNSIGNED STRING,"{""status"":""FAILED"",""failureReason"":""%%""}"
10,305,PUT,/inventory/managedObjects/%%,application/json,,%%,UNSIGNED STRING STRING STRING STRING STRING STRING STRING STRING STRING STRING INTEGER STRING STRING STRING STRING STRING INTEGER,"{""c8y_Network"":{""c8y_WAN"":{""simStatus"":""%%"",""apn"":""%%"",""username"":""%%"",""password"":""%%"",""authType"":""%%"",""ip"":""%%""},""c8y_LAN"":{""name"":""%%"",""mac"":""%%"",""ip"":""%%"",""netmask"":""%%"",""enabled"":%%},""c8y_DHCP"":{""addressRange"":{""start"":""%%"",""end"":""%%""},""dns1"":""%%"",""dns2"":""%%"",""domainName"":""%%"",""enabled"":%%}}}"
10,306,PUT,/inventory/managedObjects/%%,application/json,,%%,UNSIGNED STRING STRING STRING STRING STRING STRING STRING STRING STRING STRING STRING NUMBER NUMBER,"{""c8y_Mobile"":{""cellId"":""%%"",""mcc"":""%%"",""imei"":""%%"",""iccid"":""%%"",""mnc"":""%%"",""imsi"":""%%"",""lac"":""%%"",""msisdn"":""%%"",""connType"":""%%"",""currentOperator"":""%%"",""currentBand"":""%%"",""rsrp"":""%%"",""rsrq"":""%%""}}"
10,307,POST,/measurement/measurements,application/vnd.com.nsn.cumulocity.measurement+json,,%%,DATE UNSIGNED STRING NUMBER STRING STRING NUMBER STRING,"{""time"":""%%"",""source"":{""id"":""%%""},""c8y_SignalStrength"":{""%%"":{""value"":%%,""unit"":""%%""},""%%"":{""value"":%%,""unit"":""%%""}},""type"":""c8y_SignalMeasurement""}"
10,308,POST,/measurement/measurements,application/vnd.com.nsn.cumulocity.measurement+json,,%%,DATE UNSIGNED STRING NUMBER STRING,"{""time"":""%%"",""source"":{""id"":""%%""},""c8y_SignalStrength"":{""%%"":{""value"":%%,""unit"":""%%""}},""type"":""c8y_SignalMeasurement""}"
10,309,GET,/inventory/managedObjects/%%,,application/json,%%,UNSIGNED,
10,310,PUT,/devicecontrol/operations/%%,application/json,,%%,UNSIGNED STRING STRING STRING,"{""status"":""%%"",""c8y_Command"":{""text"":""%%"", ""result"":""%%""}}"
10,311,GET,/alarm/alarms?source=%%&status=%%&pageSize=100,,,%%,UNSIGNED STRING,
10,312,POST,/alarm/alarms,application/json,,%%,NOW UNSIGNED STRING STRING STRING,"{""time"":""%%"",""source"":{""id"":""%%""},""type"":""%%"",""status"":""ACTIVE"",""severity"":""%%"",""text"":""%%""}"
10,313,PUT,/alarm/alarms/%%,application/json,,%%,UNSIGNED,"{""status"":""CLEARED""}"
10,314,GET,/devicecontrol/operations?deviceId=%%&status=%%&pageSize=100,,application/vnd.com.nsn.cumulocity.operationCollection+json,%%,UNSIGNED STRING,
10,315,GET,/devicecontrol/operations/%%,,application/vnd.com.nsn.cumulocity.operation+json,%%,UNSIGNED,
10,316,PUT,/inventory/managedObjects/%%,application/json,,%%,UNSIGNED STRING,"{""c8y_Configuration"":{""config"":""%%""}}"
10,317,PUT,/inventory/managedObjects/%%,application/json,,%%,,"{""c8y_SupportedLogs"":[%%]}"
10,318,PUT,/devicecontrol/operations/%%,application/json,,%%,UNSIGNED STRING STRING STRING INTEGER STRING STRING,"{""status"":""SUCCESSFUL"",""c8y_LogfileRequest"":{""logFile"":""%%"",""dateFrom"":""%%"",""dateTo"":""%%"",""maximumLines"":%%,""searchText"":""%%"",""file"":""%%""}}"
10,319,PUT,/inventory/managedObjects/%%,application/json,,%%,,"{""c8y_SoftwareList"":[%%]}"
10,320,PUT,/inventory/managedObjects/%%,application/json,,%%,UNSIGNED STRING STRING STRING,"{""c8y_Hardware"":{""model"":""%%"",""serialNumber"":""%%"",""revision"":""%%""}}"
10,321,PUT,/inventory/managedObjects/%%,application/json,,%%,UNSIGNED UNSIGNED UNSIGNED UNSIGNED,"{""c8y_ModbusConfiguration"":{""pollingRate"":%%,""transmitRate"":%%,""protocol"":""TCP"",""maxFieldbusVersion"":%%}}"
10,322,POST,/measurement/measurements,application/json,,%%,DATE UNSIGNED STRING NUMBER,"{""time"":""%%"",""source"":{""id"":""%%""},""type"":""c8y_AnalogInput"",""c8y_AnalogInput"":{""%%"":{""value"":%%,""unit"":""V""}}}"
10,323,GET,/inventory/managedObjects/%%/childDevices?pageSize=100,,application/json,%%,UNSIGNED,
10,324,PUT,/inventory/managedObjects/%%,application/json,,%%,UNSIGNED STRING STRING STRING,"{""c8y_RelayArray"":[""%%"",""%%"",""%%""]}"
10,325,POST,/measurement/measurements,application/json,,%%,DATE UNSIGNED NUMBER NUMBER,"{""time"":""%%"",""source"":{""id"":""%%""},""type"":""c8y_MemoryMeasurement"",""c8y_MemoryMeasurement"":{""Used"":{""value"":%%,""unit"":""MB""},""Total"":{""value"":%%,""unit"":""MB""}}}"
10,326,POST,/measurement/measurements,application/json,,%%,DATE UNSIGNED NUMBER,"{""time"":""%%"",""source"":{""id"":""%%""},""type"":""c8y_CPUMeasurement"",""c8y_CPUMeasurement"":{""Workload"":{""value"":%%,""unit"":""%""}}}"
10,327,PUT,/inventory/managedObjects/%%,application/json,,%%,UNSIGNED STRING,"{""c8y_SupportedOperations"":[%%]}"
10,328,PUT,/inventory/managedObjects/%%,application/json,,%%,UNSIGNED NUMBER NUMBER NUMBER,"{""c8y_Position"":{""alt"":%%,""lat"":%%,""lng"":%%},""c8y_MotionTracking"":{""active"":true}}"
10,329,POST,/event/events,application/json,,%%,DATE UNSIGNED NUMBER NUMBER NUMBER NUMBER STRING,"{""time"":""%%"",""source"":{""id"":""%%""},""type"":""c8y_LocationUpdate"",""text"":""Location update"",""c8y_Position"":{""alt"":%%,""lat"":%%,""lng"":%%,""velocity"":%%,""timestamp"":""%%""}}"
10,330,POST,/measurement/measurements,application/json,,%%,DATE UNSIGNED NUMBER NUMBER,"{""time"":""%%"",""source"":{""id"":""%%""},""type"":""c8y_NetworkStatistics"",""c8y_NetworkStatistics"":{""Download"":{""value"":%%,""unit"":""KB/s""},""Upload"":{""value"":%%,""unit"":""KB/s""}}}"
10,331,POST,/inventory/managedObjects,application/json,application/json,%%,STRING STRING STRING,"{""name"":""%%"",""description"":""%%"",""url"":""%%"",""type"":""c8y_ConfigurationDump""}"
10,332,PUT,/inventory/managedObjects/%%,application/json,,%%,UNSIGNED UNSIGNED,"{""c8y_ConfigurationDump"":{""id"":""%%""}}"
10,333,PUT,/inventory/managedObjects/%%,application/json,,%%,UNSIGNED STRING STRING STRING,"{""c8y_Firmware"":{""name"":""%%"",""version"":""%%"",""url"":""%%""}}"
10,334,POST,/alarm/alarms,application/json,,%%,DATE UNSIGNED STRING STRING STRING,"{""time"":""%%"",""source"":{""id"":""%%""},""type"":""%%"",""status"":""ACTIVE"",""severity"":""%%"",""text"":""%%""}"
10,335,PUT,/inventory/managedObjects/%%,application/json,,%%,UNSIGNED UNSIGNED UNSIGNED STRING UNSIGNED,"{""c8y_SerialConfiguration"":{""baudRate"":%%,""dataBits"":%%,""parity"":""%%"",""stopBits"":%%}}"
10,336,PUT,/inventory/managedObjects/%%,application/json,,%%,UNSIGNED STRING STRING STRING,"{""c8y_RDBDump"":{""name"":""%%"",""description"":""%%"",""url"":""%%""}}"
10,337,PUT,/inventory/managedObjects/%%,application/json,,%%,UNSIGNED STRING STRING STRING STRING STRING STRING STRING STRING STRING STRING STRING NUMBER,"{""c8y_Mobile"":{""cellId"":""%%"",""mcc"":""%%"",""imei"":""%%"",""iccid"":""%%"",""mnc"":""%%"",""imsi"":""%%"",""lac"":""%%"",""msisdn"":""%%"",""connType"":""%%"",""currentOperator"":""%%"",""currentBand"":""%%"",""rscp"":""%%""}}"
10,338,PUT,/inventory/managedObjects/%%,application/json,,%%,UNSIGNED STRING STRING STRING STRING STRING STRING STRING STRING STRING STRING STRING NUMBER,"{""c8y_Mobile"":{""cellId"":""%%"",""mcc"":""%%"",""imei"":""%%"",""iccid"":""%%"",""mnc"":""%%"",""imsi"":""%%"",""lac"":""%%"",""msisdn"":""%%"",""connType"":""%%"",""currentOperator"":""%%"",""currentBand"":""%%"",""rssi"":""%%""}}"
10,339,PUT,/inventory/managedObjects/%%,application/json,,%%,UNSIGNED,"{""type"":""NTC-220 Agent""}"
11,800,$.managedObject,,$.id
11,801,,$.c8y_IsDevice,$.id
11,802,,$.deviceId,$.id,$.status
11,803,,$.c8y_Relay,$.id,$.c8y_Relay.relayState,$.deviceId
11,804,,$.c8y_Restart,$.id,$.deviceId
11,805,,$.c8y_Configuration,$.id,$.c8y_Configuration.config,$.deviceId
11,806,$.c8y_Mobile,,$.msisdn
11,807,,$.c8y_Command,$.id,$.c8y_Command.text
11,808,$.alarms,,$.id,$.type
11,809,,$.c8y_MeasurementRequestOperation,$.id
11,810,,$.c8y_CommunicationMode,$.id,$.c8y_CommunicationMode.mode
11,811,$.operations,,$.id,$.status
11,812,,$.c8y_IsDevice,$.id
11,813,,$.c8y_LogfileRequest,$.id,$.c8y_LogfileRequest.logFile,$.c8y_LogfileRequest.dateFrom,$.c8y_LogfileRequest.dateTo,$.c8y_LogfileRequest.maximumLines,$.c8y_LogfileRequest.searchText
11,837,,$.c8y_SoftwareList,$.id
11,814,$.c8y_SoftwareList,,$.name,$.version,$.url
11,815,,$.c8y_SoftwareList,$.id,$.status,$.deviceId
11,816,,$.c8y_ModbusDevice,$.c8y_ModbusDevice.ipAddress,$.c8y_ModbusDevice.address,$.c8y_ModbusDevice.id,$.c8y_ModbusDevice.type,$.id
11,817,,$.c8y_ModbusConfiguration,$.id,$.c8y_ModbusConfiguration.pollingRate,$.c8y_ModbusConfiguration.transmitRate,$.deviceId
11,852,,$.c8y_Network,$.deliveryType,$.deviceId
11,818,,$.deviceId,$.id,$.c8y_Network.c8y_WAN.apn,$.c8y_Network.c8y_WAN.username,$.c8y_Network.c8y_WAN.password,$.c8y_Network.c8y_WAN.authType
11,819,,$.deviceId,$.id,$.c8y_Network.c8y_LAN.ip,$.c8y_Network.c8y_LAN.netmask,$.c8y_Network.c8y_LAN.enabled
11,820,,$.deviceId,$.id,$.c8y_Network.c8y_DHCP.addressRange.start,$.c8y_Network.c8y_DHCP.addressRange.end,$.c8y_Network.c8y_DHCP.dns1,$.c8y_Network.c8y_DHCP.dns2,$.c8y_Network.c8y_DHCP.domainName,$.c8y_Network.c8y_DHCP.enabled
11,839,,$.c8y_Coils,$.id
11,821,$.c8y_Coils,,$.number,$.input
11,822,$.c8y_Coils,$.alarmMapping,$.number,$.alarmMapping.raiseAlarmTemplate,$.input
11,823,$.c8y_Coils,$.measurementMapping,$.number,$.measurementMapping.sendMeasurementTemplate,$.input
11,824,$.c8y_Coils,$.eventMapping,$.number,$.eventMapping.eventTemplate,$.input
11,840,,$.c8y_Registers,$.id
11,825,$.c8y_Registers,,$.number,$.startBit,$.noBits,$.multiplier,$.divisor,$.decimalPlaces,$.input,$.signed
11,879,$.c8y_Registers,,$.number,$.startBit,$.littleEndian,$.input
11,826,$.c8y_Registers,$.alarmMapping,$.number,$.startBit,$.alarmMapping.raiseAlarmTemplate,$.input
11,827,$.c8y_Registers,$.measurementMapping,$.number,$.startBit,$.measurementMapping.sendMeasurementTemplate,$.input
11,828,$.c8y_Registers,$.eventMapping,$.number,$.startBit,$.eventMapping.eventTemplate,$.input
11,829,,$.c8y_useServerTime,$.c8y_useServerTime
11,830,$.c8y_Coils,$.statusMapping,$.number,$.statusMapping.status,$.input
11,831,$.c8y_Registers,$.statusMapping,$.number,$.startBit,$.statusMapping.status,$.input
11,832,$.references,,$.managedObject.c8y_ModbusDevice.ipAddress,$.managedObject.c8y_ModbusDevice.address,$.managedObject.id,$.managedObject.c8y_ModbusDevice.type
11,833,,$.c8y_SetCoil,$.id,$.deviceId,$.c8y_SetCoil.coil,$.c8y_SetCoil.value
11,834,,$.c8y_SetRegister,$.id,$.deviceId,$.c8y_SetRegister.register,$.c8y_SetRegister.startBit,$.c8y_SetRegister.noBits,$.c8y_SetRegister.value
11,835,alarms,$.c8y_ModbusSource,$.id,$.source.id,$.c8y_ModbusSource.coil.number,$.c8y_ModbusSource.coil.input
11,836,alarms,$.c8y_ModbusSource,$.id,$.source.id,$.c8y_ModbusSource.register.number,$.c8y_ModbusSource.register.startBit,$.c8y_ModbusSource.register.noBits,$.c8y_ModbusSource.register.input
# 837 out of order
11,838,,$.deviceId,$.id,$.c8y_RelayArray[0],$.c8y_RelayArray[1],$.c8y_RelayArray[2]
# 839 out of order
# 840 out of order
11,841,,$.c8y_SendConfiguration,$.id,$.deviceId
11,842,,$.c8y_UploadConfigFile,$.id,$.deviceId
11,843,,$.c8y_DownloadConfigFile,$.id,$.c8y_DownloadConfigFile.url,$.c8y_DownloadConfigFile.c8y_ConfigurationDump.id,$.deviceId
11,844,,$.url,$.id,$.type
11,845,,$.c8y_Firmware,$.id,$.c8y_Firmware.version,$.c8y_Firmware.url,$.c8y_Firmware.name,$.deviceId
11,846,,$.c8y_MeasurementPollFrequencyOperation,$.id,$.c8y_MeasurementPollFrequencyOperation.duration,$.c8y_MeasurementPollFrequencyOperation.frequency,$.deviceId
11,847,,$.c8y_ModbusDevice,$.c8y_ModbusDevice.protocol,$.c8y_ModbusDevice.address,$.c8y_ModbusDevice.id,$.c8y_ModbusDevice.type,$.id
11,848,$.references,,$.managedObject.c8y_ModbusDevice.protocol,$.managedObject.c8y_ModbusDevice.address,$.managedObject.id,$.managedObject.c8y_ModbusDevice.type
11,849,,$.c8y_SerialConfiguration,$.id,$.c8y_SerialConfiguration.baudRate,$.c8y_SerialConfiguration.dataBits,$.c8y_SerialConfiguration.parity,$.c8y_SerialConfiguration.stopBits,$.deviceId
11,850,,$.c8y_UploadRDB,$.id,$.deviceId
11,851,$.alarms,,$.id,$.type,$.source.id
# 852 out of order
11,853,$.operations,$.c8y_Restart,$.id,$.deviceId
11,854,$.operations,$.c8y_Configuration,$.id,$.c8y_Configuration.config,$.deviceId
11,855,$.operations,$.c8y_Command,$.id,$.c8y_Command.text
11,856,$.operations,$.c8y_MeasurementRequestOperation,$.id
11,857,$.operations,$.c8y_CommunicationMode,$.id,$.c8y_CommunicationMode.mode
11,858,$.operations,$.c8y_LogfileRequest,$.id,$.c8y_LogfileRequest.logFile,$.c8y_LogfileRequest.dateFrom,$.c8y_LogfileRequest.dateTo,$.c8y_LogfileRequest.maximumLines,$.c8y_LogfileRequest.searchText
11,859,$.operations,$.c8y_SoftwareList,$.id,$.deviceId
# 860 unused
# 861 unused
11,862,$.operations,$.c8y_ModbusDevice,$.c8y_ModbusDevice.ipAddress,$.c8y_ModbusDevice.address,$.c8y_ModbusDevice.id,$.c8y_ModbusDevice.type,$.id
11,863,$.operations,$.c8y_ModbusConfiguration,$.id,$.c8y_ModbusConfiguration.pollingRate,$.c8y_ModbusConfiguration.transmitRate,$.deviceId
11,864,$.operations,$.c8y_Network,$.deliveryType,$.deviceId
11,865,$.operations,$.deviceId,$.id,$.c8y_Network.c8y_WAN.apn,$.c8y_Network.c8y_WAN.username,$.c8y_Network.c8y_WAN.password,$.c8y_Network.c8y_WAN.authType
11,866,$.operations,$.deviceId,$.id,$.c8y_Network.c8y_LAN.ip,$.c8y_Network.c8y_LAN.netmask,$.c8y_Network.c8y_LAN.enabled
11,867,$.operations,$.deviceId,$.id,$.c8y_Network.c8y_DHCP.addressRange.start,$.c8y_Network.c8y_DHCP.addressRange.end,$.c8y_Network.c8y_DHCP.dns1,$.c8y_Network.c8y_DHCP.dns2,$.c8y_Network.c8y_DHCP.domainName,$.c8y_Network.c8y_DHCP.enabled
11,868,$.operations,$.c8y_SetCoil,$.id,$.deviceId,$.c8y_SetCoil.coil,$.c8y_SetCoil.value
11,869,$.operations,$.c8y_SetRegister,$.id,$.deviceId,$.c8y_SetRegister.register,$.c8y_SetRegister.startBit,$.c8y_SetRegister.noBits,$.c8y_SetRegister.value
11,870,$.operations,$.deviceId,$.id,$.c8y_RelayArray[0],$.c8y_RelayArray[1],$.c8y_RelayArray[2]
11,871,$.operations,$.c8y_SendConfiguration,$.id,$.deviceId
11,872,$.operations,$.c8y_UploadConfigFile,$.id,$.deviceId
11,873,$.operations,$.c8y_DownloadConfigFile,$.id,$.c8y_DownloadConfigFile.url,$.c8y_DownloadConfigFile.c8y_ConfigurationDump.id,$.deviceId
11,874,$.operations,$.c8y_Firmware,$.id,$.c8y_Firmware.version,$.c8y_Firmware.url,$.c8y_Firmware.name,$.deviceId
11,875,$.operations,$.c8y_MeasurementPollFrequencyOperation,$.id,$.c8y_MeasurementPollFrequencyOperation.duration,$.c8y_MeasurementPollFrequencyOperation.frequency,$.deviceId
11,876,$.operations,$.c8y_ModbusDevice,$.c8y_ModbusDevice.protocol,$.c8y_ModbusDevice.address,$.c8y_ModbusDevice.id,$.c8y_ModbusDevice.type,$.id
11,877,$.operations,$.c8y_UploadRDB,$.id,$.deviceId
11,878,$.operations,$.c8y_SerialConfiguration,$.id,$.c8y_SerialConfiguration.baudRate,$.c8y_SerialConfiguration.dataBits,$.c8y_SerialConfiguration.parity,$.c8y_SerialConfiguration.stopBits,$.deviceId
# 879 out of order
# VNC operation
11,886,,$.c8y_RemoteAccessConnect,$.id,$.c8y_RemoteAccessConnect.hostname,$.c8y_RemoteAccessConnect.port,$.c8y_RemoteAccessConnect.connectionKey,$.deviceId