Rest/Api v9.14/v3: "/api/admin/users" missing "_links" section per item
Defect Fixed
Hi,
new version, new bugs, unfortunately.
In the API v3 you have adjusted the response payload and forgotten the “_links” area per item. It is specified in the documentation and all previous API versions also have this entry per item
A serious mistake for us, because our HR integration needs this link to be able to maintain user data. Please make improvements very quickly and provide a HF
DOKU https://developers.yellowfinbi.com/dev/api-docs/v3.0/#operation/getUsersAdmin
;) Stefan

The same problem
Hi Stefan,
And a very good morning to you!
Let me just have a look into this and verify in 9.14. If it's the case here too, we can get a bug report written and a fix in place.
Kind regards,
Chris
Hi Stefan,
And a very good morning to you!
Let me just have a look into this and verify in 9.14. If it's the case here too, we can get a bug report written and a fix in place.
Kind regards,
Chris
Hi Stefan,
Just to confirm, I received the following response in the API v2 on 9.13:
{ "items": [ { "ipId": 5, "lastName": "Administrator", "firstName": "System", "initial": "", "userId": "admin@yellowfin.com.au", "roleCode": "YFADMIN", "status": "ACTIVE", "_links": { "self": { "href": "/api/admin/users/5", "options": [ "GET", "PATCH" ] }, "password": { "href": "/api/admin/users/5/password", "options": [ "PUT" ] }, "resetPassword": { "href": "/api/rpc/admin/users/5/reset-password", "options": [ "POST" ] }, "userSessions": { "href": "/api/admin/users/5/sessions", "options": [ "DELETE" ] }, "orgAccess": { "href": "/api/admin/users/5/org-access", "options": [ "GET", "POST" ] } } }And the response below in 9.14 with the v3 API call:{ "items": [ { "userPreferences": { "draftContentItemCount": 5, "retainContentTypeFilterOnBrowsePage": false }, "userId": 5, "lastName": "Administrator", "firstName": "System", "preferredLanguageCode": "EN", "email": "admin@yellowfin.com.au", "userName": "admin@yellowfin.com.au", "roleCode": "YFADMIN", "timeZoneCode": "AUSTRALIA/SYDNEY", "status": "ACTIVE" } ], "_links": { "menu": { "href": "/api/menus/mobile-menu", "options": [ "GET" ] }, "api": { "href": "/api", "options": [ "GET" ] }, "self": { "href": "/api/admin/users", "options": [ "GET", "POST" ] } } }Which is clearly missing the _links items. I'll get a bug report written up for the developers and request a high priority.Do you have any further questions on this topic?
Kind regards,
Chris
Hi Stefan,
Just to confirm, I received the following response in the API v2 on 9.13:
{ "items": [ { "ipId": 5, "lastName": "Administrator", "firstName": "System", "initial": "", "userId": "admin@yellowfin.com.au", "roleCode": "YFADMIN", "status": "ACTIVE", "_links": { "self": { "href": "/api/admin/users/5", "options": [ "GET", "PATCH" ] }, "password": { "href": "/api/admin/users/5/password", "options": [ "PUT" ] }, "resetPassword": { "href": "/api/rpc/admin/users/5/reset-password", "options": [ "POST" ] }, "userSessions": { "href": "/api/admin/users/5/sessions", "options": [ "DELETE" ] }, "orgAccess": { "href": "/api/admin/users/5/org-access", "options": [ "GET", "POST" ] } } }And the response below in 9.14 with the v3 API call:{ "items": [ { "userPreferences": { "draftContentItemCount": 5, "retainContentTypeFilterOnBrowsePage": false }, "userId": 5, "lastName": "Administrator", "firstName": "System", "preferredLanguageCode": "EN", "email": "admin@yellowfin.com.au", "userName": "admin@yellowfin.com.au", "roleCode": "YFADMIN", "timeZoneCode": "AUSTRALIA/SYDNEY", "status": "ACTIVE" } ], "_links": { "menu": { "href": "/api/menus/mobile-menu", "options": [ "GET" ] }, "api": { "href": "/api", "options": [ "GET" ] }, "self": { "href": "/api/admin/users", "options": [ "GET", "POST" ] } } }Which is clearly missing the _links items. I'll get a bug report written up for the developers and request a high priority.Do you have any further questions on this topic?
Kind regards,
Chris
Replies have been locked on this page!