Method:/token/create
Examples 1:
Parameters
{ "attrs": [ "product.id": "pid", "user.id": "userid", "pin": "tokenpin" ] }
Response
{ "error":0, "result": { "id": "token id" } }
Example 2:
Parameters
{ "attrs": [ "product": { "manufacturerCode":"DN", "productCode":"MT" }, "user": { "domain.name":"domain.com", "loginNam":"john.smith" } "pin": "tokenpin" ] }
Response
{ "error":0, "result": { "id": "token id" } }