API - How to create Service Request including the pre-defined tasks through API

API - How to create Service Request including the pre-defined tasks through API

You can get the highlighted Task Template ID's by editing a Task Template:


The Service Category ID and Template ID (as) can be known by going to Admin > Service Category > select and edit the template:


{
    "request": {
        "subject": "Unable to fetch mails andresss",
        "description": "I am unable to fetch mails from the mail server",
        "requester": {
            "id": "1807",
            "name": "Requester"
        },
        "request_template_task_ids": [
            {
                "id": "5"
            },
            {
                "id": "9"
            }
        ],
        "template": {
            "is_service_template": true,
            "service_category": {
                "id": "1"
            },
            "name": "Request account deletion from Active Directory",
            "id": "8"
        },
        "site": {
            "name": "MSP Custom Site",
            "id": "2"
        },
        "account": {
            "name": "My Org Inc",
            "id": "1"
        },
        "status": {
            "name": "Open"
        }
    }
}

                  New to ADSelfService Plus?