you can refer the Enable the sharing OCR Table items,if you don’t how to set.
Get the all items by Submachinestatus of RESTFUL API.
- The items auto upload once based on your design OCR amount when executing this instruciton.
There are 5 ROI case.
There are 9 ROI case
You can see the relationship in the below image.
The RESTFUL’s Get function can get one data once for you select OCR table items and without parsing anything metadata.
The RESTFUL’s Set function can set one data to OCR table for handshaking with other app.
1.Set the data to OCR table by anytime.
2.Get the current data from OCR table after executing this command.
3.It wait more time by more you select OCR items.
They support two format both XML and Json. Doc
The port is 5555 for RESTFUL. (Exapmle for local : 127.0.0.1:5555)
The 0 in the OCR table cannot be obtained
Postman Application
For Command content: http://x.x.x.x:5555/submachinestatus (exchange the ip by yourself)
For Body content: {“DES”:{“MachineStatus”: {“SubDataType”: “RAW_DATA”}}}
For Command content: http://x.x.x.x:5555/setocrdata (exchange the ip by yourself )
For Body content : OCRID : 22 (OCR Table 22),OCRValue : 7878
For Command content: http://x.x.x.x:5555/getocrdata/3 (exchange the ip and 3 ,it is ocr table address, by yourself )
For Command content: http://x.x.x.x:5555/executescript/1 (exchange the ip and 1 ,MSMQ cmd number, by yourself )
For Command content: http://x.x.x.x:5555/stopscript (exchange the ip by yourself )