I can provide a complete solution addressing all three key areas:
API Version Compatibility:
The 23D upgrade introduced breaking changes to the demand planning mobile APIs. Your mobile app is likely calling the deprecated API version. Update your mobile app configuration:
Mobile App Config > API Endpoints
Base URL: /fscmRestApi/resources/11.13.19.02/
Deprecated: /fscmRestApi/resources/11.13.18.05/
The new API version uses a different response structure. Verify your mobile app is requesting the correct version by checking the request headers for the REST-Framework-Version parameter.
User Data Access Permissions:
Even though desktop access works, mobile API calls use a different security context. Verify these permissions:
- Ensure mobile users have both ‘Demand Planner’ and ‘Demand Planning Mobile User’ roles
- Check the data security policies - mobile API calls don’t inherit the same session-based securities
- Verify the OAuth scope includes ‘urn:opc:resource:consumer::all’ for full data access
You can test permissions by making a direct REST call with the mobile user’s credentials:
curl -X GET "https://your-instance/fscmRestApi/resources/11.13.19.02/demandPlanning/forecasts" \
-H "Authorization: Bearer {mobile_token}" \
-H "REST-Framework-Version: 7"
If this returns empty results while the desktop session returns data, it’s definitely a permission scope issue.
JSON Payload Structure:
The 23D update changed how forecast data is structured in the mobile API response. The old format used flat arrays; the new format uses nested objects with metadata. Update your mobile app’s data parser to handle the new structure:
Old format (23C):
{"items": [{"forecastId": "F001", "quantity": 100}]}
New format (23D):
{"data": {"forecasts": [{"id": "F001", "metrics": {"quantity": 100}}]}}
Your mobile app’s chart rendering code needs to be updated to parse the new nested structure. If you’re using a custom mobile app, update the data transformation layer. If you’re using Oracle’s standard mobile framework, ensure you’ve applied the latest mobile app patch (Patch 35892441 for 23D mobile dashboard compatibility).
Additionally, check your mobile app’s API response caching. The app might be caching the old empty response. Clear the cache by:
- Uninstalling and reinstalling the mobile app
- Or programmatically clearing cache: Settings > Application > Clear Data
After applying these fixes, your mobile dashboard should display charts correctly. The key is ensuring API version alignment, proper OAuth scopes, and updated JSON parsing logic to handle the 23D payload structure.