Method: /token/import
Import hardware tokens into token repository
Example:
Parameters
{
"attrs":
{
"product.id": "productId",
"repository.id": "repoId",
"data":"text of import file"
}
"return":["id","serial"]
}
Response
{
"error":0,
"result":
{
"total":3,
"rows":
[
{"id":"xxx","serial":"1001"},
{"id":"yyy","serial":"1002"},
{"id":"zzz","serial":"1003"}
]
}
}