Why is it not possible to retrieve a custom property value using Get an Activity Rest API method?
Environment
Oracle Field Service
Issue
Custom property value cannot be retrieved using Get an activity Rest API method.
Resolution
The Ge an activity /rest/ofscCore/v1/activities/{activityId} REST API method returns the properties available in OFS only if the property meets the following conditions:
1. Property Value is not empty
2. The property should belong to the activity entity
This can be verified by looking under Configuration > Properties > [Property name] > Entity column
3. The property, access level (Read Only or Read Write) related conditions have been specified on the API access for the suitable Application.
• This can be verified by looking at Configuration > Applications > Select the Application you will use to authenticate the request
• Under API access > Core API > make sure Activity entity is not set to hidden.