I have created a workflow which uses the IFS Service API GET ifsservice/usermgt/v2/admin/users which gets IFS user data. I want to ingest some of this data into the Datalake however whilst I have managed to do this, it only ingests a single record and not the entire 220.
Response from API
{
"response": {
"startIndex": 1,
"count": 1000,
"totalResults": 220,
"userlist": [
{
"id": "12345-67890-98765-43210",
"userName": "dummy.user@infor .com",
"name": {
"familyName": "User",
"givenName": "Dummy"
},
"emails": [
{
"value": "dummy.user@infor.com",
"type": "work",
"primary": true
}
],
"upn": "dummy.user@infor .com",
"lastLogon": "2022-12-07T08:30:08.1570000Z",
"status": "disabled",
"isServiceUser": false
},
{
"id": "12345-67890-98765-43211",
"userName": "john.doe@infor .com",
"name": {
"familyName": "John",
"givenName": "Doe"
},
"emails": [
{
"value": "john.doe@infor .com",
"type": "work",
"primary": true
}
],
etc etc
Manual Mapping
{
"id": {"IonApiRef": "$..id"},
"userName": {"IonApiRef": "$..userName"},
"upn": {"IonApiRef":"$..upn"},
"status":{"IonApiRef": "$..status"}
}
Output
{
"id": "12345-67890-98765-43210",
"userName": "dummy.user@infor .com",
"upn": "dummy.user@infor .com",
"status": "disabled"
}
How do I get the output to utilise all of the users and not just the first returned record?
Any help very much appreciated
Thanks
Jon