[Control] Call Web Service by RESTful API
Posted: Wed Nov 16, 2022 8:14 am
Code: Select all
The restful api format:
header :
VW_Token : {security token}
GET :
http://{the VideoWall ip}:{port}/VW_SERVICE?VW_CMD={VW_CMD}
or
http://{the VideoWall ip}:{port}/VW_SERVICE?VW_CMD={VW_CMD}&VW_PARAM={VM_PARAM}
Sample : "To show page 1"
VideoWall ip : 10.15.1.85
port : 10000
security token : 12345678
The restful :
header = {"VW_Token" : "12345678"}
GET: http://10.15.1.85:10000/VW_SERVICE?VW_CMD=N_PAGE&VW_PARAM=0
|------------+--------------------+------------------------------------------|
| VW_CMD | VM_PARAM | Note |
|------------+--------------------+------------------------------------------|
| PLAY | none | |
| FIRST | none | |
| PREV | none | |
| NEXT | none | |
| LAST | none | |
| EXIT | none | |
| DEMO | none | |
| MEDIA_PLAY | none | |
| MEDIA_MUTE | none | |
| N_PAGE | the page number | from 0 start to (max number of page - 1) |
| NAME_PAGE | the page name | |
| RELOAD | none | |
| HTTP_CFG | the web CFG file | format http:// |
| FILE_CFG | the local CFG file | format file:// |
|------------+--------------------+------------------------------------------|