fluid-ws-java-client/src/main/java/com/fluidbpm/ws/client/v1/form/FormFieldClient.java
public FormFieldListing getFieldsByFormTypeIdAndLoggedInUser(
            Long formTypeIdParam,
            boolean editOnlyFieldsParam)
    {
        Form form = new Form();
        form.setFormTypeId(formTypeIdParam);
        
        if(this.serviceTicket != null)
        {
            form.setServiceTicket(this.serviceTicket);
        }

        return new FormFieldListing(this.postJson(
                form, WS.Path.FormField.Version1.getByFormDefinitionAndLoggedInUser(
                        editOnlyFieldsParam)));
    }
public FormFieldListing getFieldsByFormTypeIdAndLoggedInUser(
            Long formTypeIdParam,
            boolean editOnlyFieldsParam)
    {
        Form form = new Form();
        form.setFormTypeId(formTypeIdParam);
        
        if(this.serviceTicket != null)
        {
            form.setServiceTicket(this.serviceTicket);
        }

        return new FormFieldListing(this.postJson(
                form, WS.Path.FormField.Version1.getByFormDefinitionAndLoggedInUser(
                        editOnlyFieldsParam)));
    }
Retrieve the Form Fields via Form Definition id.

@param formTypeIdParam The form definition id.
@param editOnlyFieldsParam Only return the fields that are editable.

@return Form Fields for {@code formIdParam}