generate guest password through rest api

  • 1
  • Question
  • Updated 11 months ago
  • Answered
  • (Edited)
I'm trying to figure out what API should I use to generate a guest password, but none seems like what I need. I'm looking at this documentation: http://docs.ruckuswireless.com/vscg-carrier/vszh-public-api-reference-guide-3-2.html which is where my IT department sent me.

The controller is Ruckus Virtual SmartZone.

thanks
Photo of Tsahi Asher

Tsahi Asher

  • 4 Posts
  • 0 Reply Likes

Posted 12 months ago

  • 1
Photo of Michael Brado

Michael Brado, Official Rep

  • 2183 Posts
  • 300 Reply Likes
Hello Tsahi,

   The API to generate Guest Pass is not supported in 3.2.x, but is supported in 3.4.x and later releases.


·         {
·             "guestName" : "guest name",
·             "wlan" : {
·                 "name" : "wlan name"
·             },
·             "zone" : {
·                 "name" : "zone name"
·             },
·             "numberOfPasses" : 1,
·             "passValidFor" : {
·                 "expirationValue" : 15,
·                 "expirationUnit" : "HOUR"
·             },
·             "autoGeneratedPassword" : true,
·             "passEffectSince" : "CREATION_TIME",
·             "passUseDays" : 7,
·             "maxDevices" : {
·                 "maxDevicesAllowed" : "LIMITED",
·                 "maxDevicesNumber" : 3
·             },
·             "sessionDuration" : {
·                 "requireLoginAgain" : true,
·                 "sessionValue" : 3,
·                 "sessionUnit" : "DAY"
·             },
·             "remarks" : "comment"
·         }
Photo of Tsahi Asher

Tsahi Asher

  • 4 Posts
  • 0 Reply Likes
you mean
         {

"guestName" : "guest name",

"wlan" : {

"name" : "wlan name"

},

"zone" : {

"name" : "zone name"

},

"numberOfPasses" : 1,

"passValidFor" : {

"expirationValue" : 15,

"expirationUnit" : "HOUR"

},

"autoGeneratedPassword" : true,

"passEffectSince" : "CREATION_TIME",

"passUseDays" : 7,

"maxDevices" : {

"maxDevicesAllowed" : "LIMITED",

"maxDevicesNumber" : 3

},

"sessionDuration" : {

"requireLoginAgain" : true,

"sessionValue" : 3,

"sessionUnit" : "DAY"

},

"remarks" : "comment"

}
Photo of Tsahi Asher

Tsahi Asher

  • 4 Posts
  • 0 Reply Likes
Where do I post this JSON to? What URL?
Photo of Tsahi Asher

Tsahi Asher

  • 4 Posts
  • 0 Reply Likes
Our IT was told by a support representative named Naresh Kumar (at Case ID : 00514006) that this functionality is not available in the current version, and will be available in version 3.5, which is yet to be released. Which is right?
(Edited)