1st Time User: Pull from Service Desk Plus

Hi,

I’m a first time user, looking to pull data from Service Desk Plus.
If the API documentation gives me the example below, where would I place the -d parameter?

$ curl http://{SDP_BASE_URL}/api/v3/requests \
      -H "authtoken: FC645540-6424-4A07-8A05-A865F4B8168A" \
      -d 'input_data= {
    "list_info": {
        "row_count": 20,
        "start_index": 1,
        "sort_field": "subject",
        "sort_order": "asc",
        "get_total_count": true,
        "search_fields": {
            "subject": "New hire",
            "priority.name": "high"
        },
        "filter_by": {
            "name": "Open_System"
        }
    }
}'

TIA!

Hi @Alderik_Manuputty :wave:

Welcome to the Parabola community!

Sending data as a JSON body requires you to send a POST request in Parabola. Taking a look at their documentation, this does appear as a GET request which is certainly uncommon.

There are few options worth trying out:

  1. Send the data as URL parameters. Since there is nested data, we may be able to query for it using this endpoint:

    Feel free to copy and paste this flow snippet directly into your flow to duplicate the API configuration settings shown in the image above: parabola:cb:9c8849f03bb44dfc8bca95340cfefc4e

  2. Enter the base endpoint URL listed in the documentation and filter/sort the data in Parabola: http://{SDP_BASE_URL}/api/v3/requests

  3. Send a POST request and insert the data as part of your Request Body. Just be sure to change your Request Type to POST near the top of your API step and a JSON field will appear.

Let me know if any of those options work!