I am researching the possibility of using an API to generate tickets in OsTicket for a travel related complaints management system. We will want the API to send in a series of custom fields e.g. booking reference number, booking dates, complaint code etc. The api documentation says: Custom Forms and Fields Fields added to both the common ticket and common client forms can accept data via the API as well. Can someone tell me what is meant by "common ticket" and "common client forms" please as they don't seem to relate to the "Built in Forms" under Admin Panel=>Manage=>Forms. Thanks NB - I didn't post the version etc of the system as I don't believe it relevant to this particular topic.
ChrisAnders
To use a custom field you would make sure you set the help topic that has the associated fields you want to fill out and in the payload send the key of the custom field variable name with your desired value.
Cheers.
Вопрос по этой же теме, если пользовательская форма состоит только из поля прикрепления файла, как в данному случае обращаться к ней через API запрос составляется следующим образом
ошибку не выдал, а в логах пишет следующее
wolker74
Is that a custom form? Is it attached to help topic or user?
KevinTheJedi
the user form is attached after the user has selected, after selecting the area
So you customized the code?
no, the code is not configured, how can I transfer attachments to a custom form I tried to output them in a separate array with the form id and file names that are stored in attachments
For files/attachments please look at the format listed here:
Instead of "attachments" as the name for the field you would use the variable name of the field. However this form needs to be attached to the help topic you are using.