Get Request Components; Put Request Components; Restful Api List - Moxa Technologies ioThinx 4510 Series User Manual

Hide thumbs Also See for ioThinx 4510 Series:
Table of Contents

Advertisement

ioThinx 4510 Series

GET Request Components

Component
Request Method
URL
Headers

PUT Request Components

Component
Request Method
URL
Headers
Body

RESTful API List

Here lists the RESTful APIs supported by this device. The {ioName} is composed with three elements, including
Module_Name, @, and I/O_Channel_Name. For example, the {ioName} of the module name
"45MR-1600-0" and the DI channel name "DI-00" is 45MR-1600-0@DI-00.
RESTful API
/api/sysInfo
/api/sysInfo/device
/api/sysInfo/network
/api/sysInfo/network/LAN
/api/sysInfo/network/LAN/1
/api/io/ir/{ioName}
/api/io/ir/{ioname}/irvalue
/api/io/di/{ioName}/diMode
/api/io/di/{ioName}/diStatus
/api/io/di/{ioName}/diCounterValue
/api/io/di/{ioName}/diCounterOverflowFlag
/api/io/di/{ioName}/diCounterOverflowFlag
Clear
/api/io/di/{ioName}/diCounterStatus
/api/io/do/{ioName}/doMode
Content
GET
http://{IP address}/{RESTful API}
Accept: vdn.dac.v2
Content-Type: application/json
Content
PUT
http://{IP address}/{RESTful API}
Accept: vdn.dac.v2
Content-Type: application/json
{"value":1}
Description
All system information
Device name
Device local date and time
Device up time
Firmware version
Serial number
System error
All network information
All LAN information
MAC address
IP address
IR - value
IR - value
DI - mode (0: DI, 1:
Counter)
DI - DI mode - status (0:
OFF, 1: ON)
DI - Counter mode - value
DI - Counter mode -
overflow flag (0: Normal, 1:
Overflow)
DI - Counter mode - clear
overflow flag (1: Clear)
DI - Counter mode - status
(0: pause, 1: run)
DO - mode (0: DO, 1: Pulse) R
Description
Use GET request to retrieve information
Refer to RESTful API List
Headers are mandatory for all RESTful API
requests
Description
Use PUT request to replace current
representation
Refer to RESTful API List
Headers are mandatory for all RESTful API
requests
Uploaded content for replacing current
representation
A-9
Appendix
Access
Format
R
R
R
yyyy/mm/dd
hh:mm:ss
R
hh:mm:ss
R
R
R
R
R
R
xx:xx:xx:xx:xx:xx
R
xxx.xxx.xxx.xxx
R
By data type
RW
By data type
R
0 or 1
R
0 or 1
R/W
0 to 4294967295
R
0 or 1
R/W
0 or 1
R/W
0 or 1
0 or 1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ioThinx 4510 Series and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Iothinx 4510-t

Table of Contents