Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
titleResponse
{
	"error":0,
	"result":
	{
		"id": "token id" 
	}
}


Example 2: Create a token and assign the token to a user

Code Block
languagejs
titleRequest
{
	"attrs":
	[
		"product":
		{
			"manufacturerCode":"DN",
			"productCode":"MT"
		},
		"user":
		{
			"domain.name":"domain.com",
			"loginNam":"john.smith"
		}
		"pin": "tokenpin"
	]
}

...