cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
689
Views
5
Helpful
4
Replies

REST API Format for Sponser Guest User creation

Jinkle Jose
Cisco Employee
Cisco Employee

Hi Experts, 

 

 I am creating the REST API Call for creating Guest Users in the ISE 2.3. Below is the format I am using. 

I want to know if the format is correct. Also want to know how to add the sms provider in this format so a notification will be sent to the Guest User. I have chosen the Sponser Portal for Guest. Please help.

 

{
"GuestUser" : {
"description" : "gugug",
"guestType" : "Contractor (default)",
"reasonForVisit": "Business meeting",
"portalId" : "f10871e0-7159-11e7-a355-005056aba474",
"guestInfo" : {
"userName" : "99846788",
"emailAddress" : "jinkle2@ecyber.com",
"firstName" : "Valentiine",
"phoneNumber" : "919986487582",
"enabled" : true

},
"guestAccessInfo" : {
"validDays" : 1,
"fromDate" : "12/30/2018 19:20",
"toDate" : "12/30/2018 19:30",
"location" : "San Jose"
}
}}

1 Accepted Solution

Accepted Solutions

Hi Jinkle,

 

Please use the below format to send SMS using Rest API:

PUT https://<ISE-ADMIN-NODE>:9060/ers/config/guestuser/sms/444/portalId/
 ff2d99e0-2101-11e4-b5cf-005056bf2f0a

In this example, 444 is the guest user ID and the long string (ff2d99e0-2101-11e4-b5cf-005056bf2f0a) is the portal ID (sponsor portal).

 

More information can be found in the link below:

https://www.cisco.com/c/en/us/support/docs/security/identity-services-engine/119213-configure-ise-00.html#anc15

View solution in original post

4 Replies 4

Jason Kunst
Cisco Employee
Cisco Employee
Have you checked this posting?


https://community.cisco.com/t5/security-documents/ise-guest-sponsor-api-tips-amp-tricks/ta-p/3636773

When you create an account it should notify

Hi Jason, 

 

I am trying to send/resend the SMS to Guest users created in my ISE 2.3. 

I am able to create the Guest users using the REST API however the automatic SMS is not being sent.

 

Below is the API call I am using and it is giving me error that 404 : - ID is not found. I am using the User ID created automatically by ISE. 

 

PUT : https://10.3.140.6:9060/ers/config/guestuser/sms/f8def332-f55b-11e8-b36e-70708b91fa28

 

What ID should I use ??? Any pointers will be a great help.

 

 

Thank you

Regards

Jinkle Jose

Hi Jinkle,

 

Please use the below format to send SMS using Rest API:

PUT https://<ISE-ADMIN-NODE>:9060/ers/config/guestuser/sms/444/portalId/
 ff2d99e0-2101-11e4-b5cf-005056bf2f0a

In this example, 444 is the guest user ID and the long string (ff2d99e0-2101-11e4-b5cf-005056bf2f0a) is the portal ID (sponsor portal).

 

More information can be found in the link below:

https://www.cisco.com/c/en/us/support/docs/security/identity-services-engine/119213-configure-ise-00.html#anc15

Thanks a Lot Shubham, It worked.