tonhat
tonhat

Reputation: 21

Maximo REST query parameter _uw

Can anyone provide me with an example of a REST call using the query parameter _uw? What is the syntax?

Upvotes: 0

Views: 1164

Answers (1)

Andy Weaver
Andy Weaver

Reputation: 147

Not sure as to which version of Maximo you may be running, but if you are on 7.6.0.2 or higher, I would very much recommend using the newer JSON API, as you can create saved queries and execute them or use the updated oslc.where parameter. You can find that documentation here.

However, if that is not an option the _uw parameter is fairly similar to a where clause in the Maximo UI. There are a few caveats simply because of the fact that it needs to be entered in the URL and therefore should be URL safe.

Example

<your maximo server>/maxrest/rest/os/mxwo?_uw=wonum IN ('1000','1001')

Keep in mind URL encoding will likely be necessary if you are making this request outside of the browser.

Upvotes: 1

Related Questions