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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Using SpotlightSearch via Rest Call

drieder
15-Moonstone

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
PaiChung
22-Sapphire I
(To:drieder)

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}

View solution in original post

1 REPLY 1
PaiChung
22-Sapphire I
(To:drieder)

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}

Top Tags