...
| Code Block |
|---|
|
{
"error":0,
"result":{"id":1}
}
|
| Anchor |
|---|
| _Toc341972487 |
|---|
| _Toc341972487 |
|---|
|
tokenAssignment/sendActivationCode
Examples:
Method:/tokenAssignment/sendActivationCode
| Code Block |
|---|
| language | js |
|---|
| title | Parameters |
|---|
|
...
...
...
...
...
...
"provisioningUrl":"http://xxxx:xxx", |
...
channel: SMS|SMTP|TWITTER|TELEPHONE |
...
...
...
...
...
| Anchor |
|---|
| _Toc341972488 |
|---|
| _Toc341972488 |
|---|
|
tokenAssignment/ sendDownloadUrlExamples:
Method:/tokenAssignment/sendDownloadUrl
Parameters:
| Code Block |
|---|
| language | js |
|---|
| title | Parameters |
|---|
|
{ |
...
...
...
...
...
"provisioningUrl":"http://xxxx:xxx", |
...
channel: SMS|SMTP|TWITTER|TELEPHONE |
...
...
...
...
...
| Anchor |
|---|
| _Toc341972489 |
|---|
| _Toc341972489 |
|---|
|
tokenAssignment/sort
| Code Block |
|---|
| language | js |
|---|
| title | Parameters |
|---|
|
{
|
| Wiki Markup |
|---|
+Examples:+
Method:/tokenAssignment/sort
Parameters:
\{
"ids":\["id1","id2","id3","id4\"]
\}
Response:
\{
} |
| Anchor |
|---|
| _Toc341972489 |
|---|
| _Toc341972489 |
|---|
|
tokenAssignment/getTokenQRCode| Code Block |
|---|
| language | js |
|---|
| title | Parameters |
|---|
|
{
"id":"token assignment id"
} |
| Code Block |
|---|
|
{
"error":0
\}
\\
\\ "message": "Succeeded",
"result": "base64 encoded png image"
} |
The returned images can be used in html tag directly:
| Code Block |
|---|
|
<img src="data:image/png;base64,the actual data"> |