Security

last person joined: 5 hours ago 

Forum to discuss Enterprise security using HPE Aruba Networking NAC solutions (ClearPass), Introspect, VIA, 360 Security Exchange, Extensions, and Policy Enforcement Firewall (PEF).
Expand all | Collapse all

No Recipt for guest created with API

This thread has been viewed 0 times
  • 1.  No Recipt for guest created with API

    Posted Jan 11, 2019 05:26 PM

    Can anyone confirm if the auto_send_smtp receipt feature is working when creating a guest through the API?  It works when I create the guest through the portal, but not when creating using the API.  The account actually gets created fine.  I'm just not getting the email receipt when using the API.  I am sending "auto_send_smtp": 1, as part of the body response.  That field is present in the form and set with initial value of 1 (although I have it as a hidden field).  Any thoughts?



  • 2.  RE: No Recipt for guest created with API

    EMPLOYEE
    Posted Jan 11, 2019 05:47 PM

    The API does not use the form configuration.

     

    I just did a quick test with the payload below and received the email receipt.

     

    {
      "email": "justatest@test.com",
      "enabled": true,
      "expire_time": "0",
      "password": "aruba123",
      "role_id": 2,
      "username": "justatest@test.com",
      "visitor_company": "The Empire",
      "visitor_name": "Darth Vader",
      "auto_send_smtp": 1
    }