Maximo Open Forum

  • 1.  RESTAPI Call Not returning ALL PO Lines

    Posted 06-10-2024 17:49

    When I'm making a call using the MXPO Object Structure I'm not returning all PO line information.  For example, my PO has 9 lines and I am trying to GET the 

    ponum,totalbasecost,status,POLINE.POLINEID,poline.polinenum,poline.linecost,poline.pocost.percentage

    When my result is returned I am only getting the first PO Header information and 1st PO Line information.

    Any ideas on why the other line information is not being returned?


    #Administration

    ------------------------------
    Adam Olson
    Deriva Energy
    ------------------------------


  • 2.  RE: RESTAPI Call Not returning ALL PO Lines

    Posted 06-11-2024 11:10

    Adam,

    Try the following as your oslc.selectString parameter:

    ponum,totalbasecost,status,poline{polineid,polinenum,linecost,pocost{percentage}}

    You can also use the following syntax if the objects do not exist in the object structure and you just want to use standard relationships:

    ponum,totalbasecost,status,rel.poline{polineid,polinenum,linecost,rel.pocost{percentage}}

    Hope this helps,



    ------------------------------
    Alex Walter
    A3J Group LLC
    ------------------------------



  • 3.  RE: RESTAPI Call Not returning ALL PO Lines

    Posted 06-15-2024 12:01

    Thank you Alex! This worked for me



    ------------------------------
    Adam Olson
    Deriva Energy
    ------------------------------



Newest Episode
Ep. 10 | How Naviam DataStudio Makes Data Imports Easier with Lee Daley

Steven Shull and Lee Daley explore how Naviam DataStudio helps IBM Maximo teams simplify bulk data imports, validate information before loading, and improve data quality and management.

MORE by Naviam Episode 10: How Naviam DataStudio Makes Data Imports Easier with Lee Daley
Watch Episode 10
Also available: Ep. 9 | Best Maximo Resources to Stay Informed