Forum Stats

  • 3,825,999 Users
  • 2,260,586 Discussions
  • 7,896,761 Comments

Discussions

departmentTreeNodesLOV returns COUNT=0

Martin...
Martin... Member Posts: 5 Green Ribbon

Hi,

I'm calling the Fusion HCM REST API:

/hcmRestApi/resources/11.13.18.05/departmentTreeNodesLOV

This is successfully responding with a 200-OK but the body has a zero count response:

{

"items": [

],

"count": 0,

"hasMore": false,

"limit": 499,

"offset": 0,

"links": [

{

"rel": "self",

"href": "https://<server>/hcmRestApi/resources/11.13.18.05/departmentTreeNodesLOV",

"name": "departmentTreeNodesLOV",

"kind": "collection"

}

]

}

I believe I have the right ROLES to access this function (hence the 200-OK).

QUESTION: What data access is required on the role? As it seems I may have functional access but not data access (which I can fix).

In security manager which data policy [Database Resource] needs to be included for this API to respond with values?

FYI - I can successfully call /hcmRestApi/resources/11.13.18.05/departmentsLov

Many thanks