Search

directory_1.jpg
1 to 9 of 9
Sort by

Discussion Reply
RE: How to retrieve all the meters associated to an Asset or Location using REST or OSLC API?

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: ...


Discussion Reply
RE: How to retrieve all the meters associated to an Asset or Location using REST or OSLC API?

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 --


Discussion Reply
RE: How to retrieve all the meters associated to an Asset or Location using REST or OSLC API?

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...


Discussion Reply
RE: How to retrieve all the meters associated to an Asset or Location using REST or OSLC API?

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...


Discussion Reply
RE: How to retrieve all the meters associated to an Asset or Location using REST or OSLC API?

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...


Discussion Reply
RE: How to retrieve all the meters associated to an Asset or Location using REST or OSLC API?

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 ...


Discussion Reply
RE: How to retrieve all the meters associated to an Asset or Location using REST or OSLC API?

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...



Discussion Post
How to retrieve all the meters associated to an Asset or Location using REST or OSLC API?

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"‚Äč ( ...