API - How to Add Service Request through API

API - How to Add Service Request through API

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"
        },
        "template": {
            "is_service_template": true,
            "service_category": {
                "id": "1"
            },
            "name": "Request account deletion from Active Directory",
            "id": "8"
        },
        "site": {
            "name": "MSP Site",
            "id": "2"
        },
        "account": {
            "name": "My Org Inc",
            "id": "1"
        },
        "status": {
            "name": "Open"
        }
    }
}

                  New to ADSelfService Plus?

                    • Related Articles

                    • Add request API Using Postman

                      You need to send the TECHNICIAN_KEY and format in Params and the data in Body. Also, you have to encode the body and send it. Please refer to the below for your reference which is sent using postman. Attached is the SAMPLE JSON file Example : ...
                    • Add attachments using API

                      Attachment cannot be added when a request is created, it can be only added after request creation URL : http://localhost:8080/api/v3/attachments?TECHNICIAN_KEY=XXXXXXXXX Body
                    • Request add attachment_Python script-API

                      Steps for adding attachment to the request through python script-API. Extract the attached  "Attachment_Python_Script.zip" >> Edit attachmentscript.py >>Mention product installed url in the base url ; update the api key; update the request id that ...
                    • 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: https://serverurl:postnumber/app#/admin/task-templates/5 The Service Category ID and Template ID (as) can be known by going to Admin > Service Category > select and edit the ...
                    • Script for adding a new request according to the option selected by requester and new request created will be added to notes

                      This is a script for adding new request from a older request according to the option selected by the requester. If requester selects option A request must be closed , if requester selects option B a new request will be created and the new request ID ...