SAP Knowledge Base Article - Public

3347019 - The response of LinkURl is empty when queyringTodoEntryV2 - SuccessFactors OData API

Symptom

You are trying to fetch the data for TodoentityV2 for category ID 14, and the response "linkurl" is null.

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

  • SAP SuccessFactors HXM Suite
    • OData API

Reproducing the Issue

1. Try to fetch the data for TodoentityV2

2. Run the query https://api4preview.sapsf.com/odata/v2/TodoEntryV2?$format=json&paging=snapshot$skiptoken&$select=categoryId,todoEntryId,userId,lastModifiedDateTime,createdDate,linkUrl,todoEntryName,categoryLabel,wfRequestNav/url,wfRequestNav/createdBy,wfRequestNav/wfRequestUINav/deeplink,wfRequestNav/wfRequestUINav/todoSubjectLine,wfRequestNav/wfRequestUINav/todoSubjectLine&$expand=wfRequestNav/wfRequestUINav&$filter=todoEntryId eq 'XXXXX' 

3. linkurl is Null in the response.

Cause

The API user is lacking permissions.

Resolution

This is expected behavior, missing Permission for the API user.

API user should have permission of "Manage Workflow Request". Only Admin user who has "Manage Workflow Requests" permission can see this Linkurl under wfRequestNav.

Keywords

blank, null, Linkurl, URI, TodoentityV2, 14, categoryID, selected_user. , KBA , LOD-SF-INT-API , API & Adhoc API Framework , LOD-SF-INT-ODATA , OData API Framework , Problem

Product

SAP SuccessFactors HCM Suite all versions