12-05-2017 03:40 PM
Hi,
Is it possible to make the following ISE fields not mandatory for creating ISE guest portal accounts through the REST API (https://x.x.x.x:9060/ers/config/guestuser). If so how?
The ISE 2.3 ERS SDK API Documentation shows that they are not required, however my testing indicates that they are.
Error from POSTMAN with json
"title": "Validation Error - Mandatory fields missing: [portalId, guestType, location]",
Reference: https://x.x.x.x:9060/ers/sdk#Create
Solved! Go to Solution.
12-05-2017 04:39 PM
I can’t see how the portalid can be made optional as it’s required to associate settings notifications and other info, the same goes for the guest type
My thoughts are that The location shouldn’t be required if you’re using from first login as location is used for time zones but this might not be how its currently designed
I see some defects possible here and will research it
12-05-2017 04:39 PM
I can’t see how the portalid can be made optional as it’s required to associate settings notifications and other info, the same goes for the guest type
My thoughts are that The location shouldn’t be required if you’re using from first login as location is used for time zones but this might not be how its currently designed
I see some defects possible here and will research it
12-05-2017 05:02 PM
Thanks Jason
Do you know if it is possible to pass some of the fields (eg. portalId) in the api url instead of in the post body? That could be another way around this.
Also, would you happen to know if these new mandatory fields since 2.0, as the third-party vendor (PassagePoint) says this was previously working without those three fields in 2.0. My testing is with ISE 2.3.
Thanks
Chris
. :|: . :|: . Chris Hobbs | Systems Engineer | Cisco Systems, Inc. | Phone: 703-484-7217<tel:703-484-7217> | Video & Email: chrhobbs@cisco.com<mailto:chrhobbs@cisco.com>
12-07-2017 05:25 AM
I Spoke to our sme and he said it’s a documentation bug as these are required, please have one opened
i can see where the location might not be critical for from first login and this could be another defect
the other question is still outstanding
12-14-2017 07:59 AM
I just asked our SME radmedur on the API to respond. He is going to have the SDK for the mandatory fields corrected.
Can you please explain further your issues.
12-14-2017 08:03 AM
Thanks Jason
12-14-2017 08:05 AM
Jason – did you confirm that all three fields are mandatory (portalId, location, guestType)?
12-14-2017 08:10 AM
Yes they are required. If you’re using fromfirstlogin guest type however I can see where a location shouldn’t be required. Please open a defect with the TAC on that one. They can also open a defect for the SDK docs being wrong
12-14-2017 08:42 AM
Thanks, will do.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide