Step-by-Step Explanation
Purpose of the Query:
The task is to retrieve field options from a custom form field. This operation involves fetching data,
not creating or modifying it, which requires a GET method.
Correct API Structure:
The URL must follow Workfront's API structure:
ruby
Copy
https://{your-workfront-domain}/attask/api/{version}/{endpoint}
Option B follows this standard structure, where:
wfdomain.workfront.com is the placeholder for the Workfront instance.
/attask/api/v12.0 specifies the API version.
/PARAM/search is the endpoint to search for parameters or fields.
Why Not Other Options?
A: The use of POST is incorrect because it is meant for creating or updating resources, not retrieving
data. Additionally, the URL structure is incorrect and includes unnecessary query strings (username,
password) not relevant for this operation.
C: While the method GET is correct, the URL (PARAM/search) is incomplete and lacks the required
Workfront API structure, making it invalid.
Reference
Workfront API Documentation: Querying and Retrieving Custom Form Field Data
Experience League Community: Best Practices for Using GET Methods in Workfront API