Hello,
I am working on a project in which we are using Python Panda DataFrames,
I am doing a simple HTTP Get using location object structure e.g.
<host>
maximo/api/os/lbl_ds_locations?lean=1&oslc.select=location,lo1,parent,description,disabled,lo4,lo5,lo6,lo14,lbl_structure_type,lbl_structure_detail,lbl_changedate&oslc.where=gisparam1="B"
The json payload contains the desired results. However it does not display the data in the same order as I specified in "oslc.select". For example it shows something like :
"member": [
{
"lo4": "H",
"parent": "H",
"_rowstamp": "1861359227",
"lbl_structure_type": "O",
"lo6": "4",
"lo5": "H",
"lochierarchy_collectionref": "https://maximofac.dev.lbl.gov/maximo/api/os/lbl_ds_locations/_MDYyRi9GQUM-/lochierloconly",
"description": "Storage container",
"disabled": false,
"location": "062F",
"href": "https://maximofac.dev.lbl.gov/maximo/api/os/lbl_ds_locations/_XXXXXXX",
"lo1": "062F"
},
1) Is there any argument that will render the results in the same order as I specified in "oslc.select" For example, location,lo1,parent,description,... and so on
2) Is it possible to suppress "lochierarchy_collectionref" element?
------------------------------
Pankaj Bhide
Computer Systems Engineer
Berkeley National Laboratory
Berkeley CA
------------------------------
#MaximoIntegrationandScripting#AssetandFacilitiesManagement#Maximo