device_opcode_mgr_add_error_handler
Back to SOAP Architecture Method Reference
Description
The device_opcode_mgr_add_error_handler method adds an error handler resource to your domain. The next step is to use the device_opcode_mgr_update operation, and add this new error_handler ID# to the on_error_device_opcode_id field. For more information, see Error Handling.
Parameters
Parameter | Description | Type | Required (R) or Optional (O) |
---|---|---|---|
device_opcode_type_id | The unique ID# of the device operation code type associated to this device opcode. | bstypes:ResourceId | R |
device_type | The device type:
|
bstypes:DeviceType | R |
domain_id | The unique ID# of the domain. | bstypes:ResourceId | R |
name | The name of this device opcode. | string | R |
parent_id | The unique ID# of the parent opcode. | bstypes:ResourceId | R |
value | The value for this device opcode. | string | R |
com_port_id | The unique ID# of the COM port used for this device opcode. | bstypes:ResourceId | O |
tcp_host | The TCP host for this device opcode. | string | O |
tcp_port | The TCP port for this device opcode. | int | O |
Return Values
Value | Description | Type | Required (R) or Optional (O) |
---|---|---|---|
id | The unique ID# of the device opcode. | bstypes:ResourceId | R |