cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Using SpotlightSearch via Rest Call

SOLVED
Highlighted
Level 10

Using SpotlightSearch via Rest Call

Hello Everyone,

 

I would like to use the SpotlightSearch function from System/Resources/SearchFunctions.

When using Postman to execute this service with a Rest Call I get a "405 Method not allowed Status".

I use the following call:

POST https://IP-Address:Port/Thingworx/Resources/SearchFunctions/SpotlightSearch

The Authorization credentials are correct and the calls work for services of normal Things.

 

Am I missing something, or why is that not working?

 

Another Thing I would like to know is how to define the "Tags" parameter for the SpotlightSearch in the body.

 

Any help is appreciated very much.

 

Best Regards,

Dominik

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Using SpotlightSearch via Rest Call

Might be something in your call structure.

You could wrap the service into another that you are able to call properly?

 

the whole how to set up the filter parameters is rather painful and I think documentation on it isn't complete, I've seen some other threads that do answer some of them.

Generally tags would be {vocab:tagname}

1 REPLY 1

Re: Using SpotlightSearch via Rest Call

Might be something in your call structure.

You could wrap the service into another that you are able to call properly?

 

the whole how to set up the filter parameters is rather painful and I think documentation on it isn't complete, I've seen some other threads that do answer some of them.

Generally tags would be {vocab:tagname}