Unable to Retrieve Fields Associated with a Specific Service Template

Unable to Retrieve Fields Associated with a Specific Service Template

Dear All,

I am trying to retrieve all the fields associated with a specific Service Template, but I’m unable to get the expected response using the below API input data.

Kindly review and let me know if I’m missing any parameters or if there’s an alternate method to achieve this.

{
    "list_info": {
        "row_count": 100,
        "start_index": 1,
        "sort_field": "subject",
        "sort_order": "asc",
        "get_total_count": true,
        "search_criteria": [
            {
                "field": "requester.email_id",
                "condition": "is",
                "value": "c.wfarooq@xxxx.xxx.xxx",
                "logical_operator": "and"
            },
            {
                "field": "template.name",
                "condition": "is",
                "value": "Demand Request",
                "logical_operator": "and"
            },
            {
                "field": "status.name",
                "condition": "is not",
                "value": "Closed",
                "logical_operator": "and"
            },
            {
                "field": "status.name",
                "condition": "is not",
                "value": "Resolved",
                "logical_operator": "and"
            },
            {
                "field": "status.name",
                "condition": "is not",
                "value": "Cancelled",
                "logical_operator": "and"
            }
        ]
    }
}

Regards,
Wajahath Farooq

                  New to ADSelfService Plus?