User's Manual
method: POST
header: Basic Authorization
body parameters:
– agentid: string
– templatename: string
– body(example) (Notes: you must provide "agentid" or "did" in body, and for
other parameters as follows, you only need to give at least one: "tid or tem-
platename", "iid or itemcode", "mid")
{ "agentid": "00000001-0000-0000-0012-4b001557a500", "templatename":
"Abnormal-English" }
response(example)
{ "result": true }
8. Set EPD Tags Binding
path: /esl/v1/tags/setBindings
method: POST
header: Basic Authorization
body parameters:
– agentid: string
– templatename: string
– body(example) (Notes: you must provide "agentid" or "did" in body, and for
other parameters as follows, you only need to give at least one: "tid or tem-
platename", "iid or itemcode", "mid")
{ "bindings": [ { "did": 32, "itemcode": "Stop0002", "templatename": "Bus Stop
Demo Init" }, { "agentid": "00000001-0000-0000-0012-4b001557a682", "item-
code": "Stop0002", } ] }
response(example)
{ "result": true }
9. Transmit Image
path: /esl/v1/tags/setImage
method: POST
header: Basic Authorization
body parameters:
– agentid: string
– refresh(optional, default: 1): number [available values: 1: Refresh after trans-
mit, 0: Just store image to ESL tag memory]
– page(optional, default: 0): number [available values: 0 ~ maxpagesize-1]
body(example)
{ "agentid": "00000001-0000-0000-0012-4b001557aa72", "refresh": 1, "page": 0 }
response(example)
{ "status": "setting image" }
10. Transmit Image with Item Data
path: /esl/v1/tags/setImageWithData
method: POST
header: Basic Authorization
body parameters:
– agentid: string
– item: JSON
– code: string
– name (optional): string
95 EPD-132 Board User Manual
Chapter
4
EPD
-132
in ePaper
Manager