Thank you so much Milton! The query you provided retrieved results for assets. In my case, I am looking for the meters associated to a location and I am not sure of the database relations, I don't have access to the backend. I am an end user with access to APIs. I will keep exploring this. --...
I am personally a fan of using the relationships to get back any data I need, wether it is in the object structures or not. All you need to know is the relationship name from the database config for the parent object. This one gets the asset, ,workorders, and collected meters for an asset: ...
Thanks a lot Steven for the detailed response. I needed this kind of background to understand this in depth. I am requesting duplication of these Object Structures for all the right reasons! Really appreciate your patiently answering all my questions in this thread. -- Alekhya Dadi ByteX --
There are quite a few reasons we recommend custom object structures. And to be clear, we DO recommend duplicating the out of the box one to ensure you maintain the java class references as those are important. The biggest for us is around security. MXASSET & MXOPERLOC for example have no...
Thanks again for the detailed response. I was of the opinion that any READ operations (GET) on out of the box object structures should be fine since we are not modifying any of those. Just curious why it is not safe to only read (and not modify anything) from the out of the box object structures...
In general, we don't recommend utilizing out of the box object structures for integrations. We recommend duplicating one (like MXASSET) and configuring it for your own purposes. That allows you to remove objects/attributes that aren't required and include any additional objects/attributes that...
Thanks for the quick response Steven. That's a good point, Dev Maximo did not have meters for the Assets I tested! The Locations do have a bunch of meters. I get a 400 on Location meter query. Looks like access related issue. I would like to use as much out of the box Maximo Object Structures ...
This is going to sound silly, but are you sure the asset you retrieved has a meter? By having the oslc.select include assetmeter(*), it should be returning the asset meters as a json array in your initial response (along with assetnum, description, & siteid from the asset object). I'd...
I would like to retrieve all the meters associated to an Asset or Location. I queried MXASSET OS as shown below. https://MAXIMOSITEIP/maximo/oslc/os/mxasset?lean=1&oslc.select=assetnum,description,siteid,assetmeter(*)&oslc.pageSize=20&oslc.where=assetnum=21 and siteid="PLANT" ( ...
Join CommunityInvite ColleaguesLearn More
About UsTerms of Use