Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only
  • 1.  Unable to Implement POST API for MXAPIRECEIPT in eMaximo

    Posted Fri May 23, 2025 11:26 PM

    Hi all,

    I'm struggling to implement the POST API for the MXAPIRECEIPT object structure in eMaximo to create a new receipt record. I initially tried a GET request to retrieve specific PO data, but not able to do proper call, now that I need a proper POST call to create a record. Below are the details of my setup and the issues I'm facing.

    My Current API Call

    Questions

    Is POST /maxrest/rest/os/mxapireceipt the correct endpoint for creating a new receipt in MXAPIRECEIPT?

    Any example to get EXTERNALREFID of specific PO Number?

    Any example of a working POST API call for MXAPIRECEIPT would be greatly appreciated!

    Please suggest me workaround for this.



    ------------------------------
    Rudra Uppe
    ------------------------------


  • 2.  RE: Unable to Implement POST API for MXAPIRECEIPT in eMaximo

    Posted Mon May 26, 2025 01:00 AM

    What version you are currently on, if it's MAS, you should change your URL from https://xyz-test.emaximo.com/maxrest/rest/os/MXAPIRECEIPT to https://xyz-test.emaximo.com/maximo/api/os/MXAPIRECEIPT, and update your authorization select no auth, include API key and key value in your request header.



    ------------------------------
    Ren Lin Wang
    ------------------------------



  • 3.  RE: Unable to Implement POST API for MXAPIRECEIPT in eMaximo

    Posted Tue May 27, 2025 10:22 AM

    Here is the payload that has worked for me in the past. Please note that this is using the OSLC or API context path, and not the REST context path.

    {
        "ponum": "1001",
        "porevisionnum": 0,
        "polinenum": 1,
        "positeid": "BEDFORD",
        "siteid": "BEDFORD",
        "issuetype": "RECEIPT",
        "receiptquantity": 1,
        "externalrefid": "12345",
        "sourcesysid": "API"
    }

    I haven't found where the EXTERNALREFID or the SOURCESYSID values matter.

    Hope this helps,



    ------------------------------
    Alex Walter
    CIO
    A3J Group
    Tampa FL
    ------------------------------