Hi all,
in the page JSM project > Customers , you can see the list of users with their Status: "Invited" for those having received an invit email butwho did not accepted it yet, and "Active" for the ones who accepted the invitation.
I need to get the list of the one who are only "Invited" using a rest API. (I want to automate a reminder to these guys).
To do this, I use the API /rest/servicedeskapi/organization/{organizationId}/user
This call returns something like this for each user of the company:
{ "name": "fred",
"key": "fred",
"emailAddress": "fred@example.com",
"displayName": "Fred F. User",
"active": true,
...
} I'm assuming that the field "active" is the one I'm looking for.
However the value of this "active" field is ALLWAYS true. Whatever the company, the user or it's actual status.
Am I using the wrong API? Anyone has an idea?
Thanks
Gwenaël