Method:/token/create
Table of Contents |
---|
Example 1
...
:
Code Block | ||||
---|---|---|---|---|
| ||||
{ "attrs": [ "product.id": "pid", "user.id": "userid", "pin": "tokenpin" ] } |
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "error":0, "result": { "id": "token id" } } |
Example 2
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "attrs": [ "product": { "manufacturerCode":"DN", "productCode":"MT" }, "user": { "domain.name":"domain.com", "loginNam":"john.smith" } "pin": "tokenpin" ] } |
...