Question

REST API Search SR's

  • 2 December 2022
  • 2 replies
  • 144 views

Ok the API documentation is really bad for this.

Lets say I have an SR with a key of this:

        {
            "key": "CustomColumn52sr",
            "value": "d12f7702-2c0a-4f2e-b5c1-33100d2183f2",
            "valueClass": "",
            "mandatory": false,
            "editable": true,
            "type": "text",
            "defaultValue": null,
            "customColumnType": "string",
            "valueCaption": "d12f7702-2c0a-4f2e-b5c1-33100d2183f2",
            "keyCaption": "~Transaction ID"
        },

 

I need to be able to search for the value d12f7702-2c0a-4f2e-b5c1-33100d2183f2. I have tried to put a search string together but I can’t figure it out.

 

Anyone have done this before?

 

Thanks!


2 replies

Userlevel 5
Badge

Hi @Matt Uguccioni 

Please reac hout to our Customer Care team via live chat or open a ticket on our Customer Portal to investigate if this is a bug.

Let us know how it goes!

 

This should work:
 

https://[your_account_name].sysaidit.com/api/v1/sr/search?query=*&CustomColumn52sr=d12f7702-2c0a-4f2e-b5c1-33100d2183f

Reply