Query from ticketFields table
Table Specific Information
Note: Users whose credentials (identified by the API key) are used to access the Table should be authorised to either view the ticket fields or create a new ticket.
The component will use the FreshDesk API to process WHERE clause conditions built with the following columns and operators. Most of the columns support client side filtering with the following operators: = > < <= >= AND OR. The rest of the filter is executed server side within the component.
For example, the following query is processed server side:
SELECT * FROM TicketFields WHERE Type = 'default_requester'
The FreshDesk API allows only the following column(s) to be used as filter criteria in the WHERE clause:
Label, LabelForCustomers and Type are mandatory columns for Inserting into TicketFields table.
INSERT INTO TicketFields (Label, LabelForCustomers, Type) VALUES ('labelA', 'labelA', custom_text)
Following is an example to update TicketFields:
UPDATE TicketFields SET Label = 'updated label' WHERE Id = 100
Following is an example to delete a TicketFields:
DELETE FROM TicketFields WHERE Id = 100
ID of the ticket field.
List of values supported by the field.
Ticket field creation timestamp.
Set to true if the field can be updated by customers.
Set to true if the field is not a custom field.
Description of the ticket field
Set to true if the field is displayed in the customer portal.
Display name for the field (as seen by agents).
Display name for the field (as seen in the customer portal).
Name of the ticket field.
Applicable only for dependent fields, this contain details of nested fields.
Applicable only for the requester field. Set to true if customer can add additional requesters to a ticket.
Applicable only if portal_cc is set to true. Value will be 'all' when a customer can add any requester to the CC list and 'company' when a customer can add only company contacts to the CC list.
Position in which the ticket field is displayed in the form.
Set to true if the field is mandatory for Agents.
Set to true if the field is mandatory for closing the ticket.
Set to true if the field is mandatory in the customer portal.
For custom ticket fields, type of value associated with the field will be given (Available values are: custom_text, custom_paragraph, custom_checkbox, custom_number, custom_date, custom_decimal, nested_field, custom_dropdown, encrypted_text, secure_text)
Ticket field updated timestamp.