Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.

...

  • Method: Select the HTTP method to be used to consume the REST API.

  • URL/Endpoint: Specify the address to access the method of the REST API from which the options for the list will be queried.

  • Headers (Request Headers): Here you should write, in JSON format, the headers that need to be added to the request to consume the webservice (if required). For example, { "Authentication": "Bearer aej3fsh2fg4ds"}.

  • Body (Request Body): Write here, in JSON format, the body that the request must contain to obtain the options for the list (if required). For example, {"country":"Colombia"}.

  • Authentication: Check this box and specify the username and password required to authenticate the request to the REST API (if required).

  • Values: Here you must specify the structure that will be used to extract from the response of the REST API the values associated with each of the options of the list. These values are the ones that will be stored in the management when using the form to manage a caseticket. The structure must follow the JSONPath format. You can use tools like JSONPath Online Evaluator to define this structure accurately.

  • Labels: Here you must specify the structure that will be used to extract from the response of the REST API the labels associated with each of the options of the list. The labels are the texts that will be displayed in the field for users to select, while the values correspond to what will be stored in the management. In some casestickets, you can use the same information for both labels and values. For example, if you want to display a list of cities in the field and store the names, the label and the value could both be "Bogotá". However, if you need to store a code associated with a service, the label could be "Technical Professional Services" while the value could be "443452". The label will be what users see, while the value will be what is saved when generating a management.

...

Once a dynamic form is configured, you can associate it with one or more campaigns so that users can manage cases tickets using the new form. Go to the Campaigns module, search for the campaign to which you want to assign the form, and click on the "Edit" button. In the “Campaign” tab, look for the new form in the “Forms” field. Select it and click the "Save" button. From that moment on, all cases tickets in the campaign will be assigned the dynamic management form.

...