API -Listing requests based on Additional Field Values

API -Listing requests based on Additional Field Values

This can be met through V3 API. Go to Admin > Incident Additional Fields and make a note of the "API Field Name" as highlighted below:




Please follow the below mentioned to pull the requests based on the additional field values:

1. Use the Input as shown below:

{
"list_info": {
"row_count": 20,
"start_index": 1,
"sort_field": "subject",
"sort_order": "asc",
"get_total_count": true,
"search_fields": {
"udf_fields.udf_sline_6301": "Liverpool"
},
"filter_by": {
"name": "1501_MyView"
}}}

2. Replace the above highlighted in Red as per yours. Liverpool is the value of the additional field "Base Station".


4. Enter your encoded value after "input_data="  as shown below and execute the API call: 


                  New to ADSelfService Plus?

                    • Related Articles

                    • Additional field values

                      This report helps to find the picklist values in the additional fields. First you need to find the name of the table and the column holding the data, by executing the following SDP query report:  SELECT Tablename, Columnname FROM ColumnAliases WHERE ...
                    • Script to Update Date additional field (to 3 days) based on priority inside the request

                      In some cases the customer will need to update the date additional field based on priority set inside the request. (Applicable for builds 14300 & above) Please follow the below mentioned steps to configure: First Download and extract the attached zip ...
                    • Dynamic checklist based on field values

                      Requirement: Based on the answers provided for resource questions / request additional fields, dynamically a checklist has to be associated to the request UseCase: When an alarm is received indicating an issue with a server’s performance, with the ...
                    • How to automatically create multiple child requests from a parent request with a configurable JSON file (V3)

                      This is a sample Python script to automatically trigger the creation of multiple child requests from a parent request, based on the request template chosen. The request ID of the child requests will be added as a Note in the parent request. This is ...
                    • How to populate user names in a request additional field

                      This sample script is to populate both technician and requester names in a request additional field Use Case: Populate all user name in a request additional field. Execution Steps:  1.  Create a new 'Single Line' additional field and add them in the ...