We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to retrieve a FORM FIELD (attribute) value using API

Accepted answer
1
Views
1
Comments

Summary:

How to get a FORM field/attribute data/value through API call!

Content (required):

We are looking for a way to retrieve a Form Field/Attribute data (example-date entered); using below API Call:

REST API for Oracle Field Service

https://docs.oracle.com/en/cloud/saas/field-service/20a/cxfsc/op-rest-ofscmetadata-v1-forms-label-get.html

Last Updated February 2020 You can use Oracle REST APIs to view and manage data stored in Oracle Field Service.


However, we are getting only below response only, which does not contains the required attribute value:

{

    "label": "DatetimePicker",

    "name": "DatetimePicker",

    "content": "{\"formatVersion\":\"1.1\",\"submit\":{\"visibility\":{\"readWrite\":true},\"defaultVisibility\":\"ReadWrite\"},\"items\":[{\"type\":\"section\",\"defaultVisibility\":\"readWrite\",\"items\":[{\"type\":\"field\",\"dataBinding\":\"formField\",\"label\":\"form_element#1\",\"gui\":\"datetimepicker\",\"name\":{\"en\":\"DateTime\"},\"defaultVisibility\":\"readWrite\"}]}]}",

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!