Maximo Open Forum

 View Only
  • 1.  MAS Manage v9.0 - JSON Mapping inbound errors

    Posted 07-15-2025 12:42

    Hi All, I am trying to leverage JSON mapping application for Maximo inbound integration. The purpose to use JSON mapping is to do transformation as the incoming fields don't match with Maximo object and I want to keep transformation logic light weight and on maximo side. I have duplicated OS for MXASSET and configured Json mapping using below data and mapped the source and target in Properties tab.

    {
      "name": "TAG001",
      "short_description": "Air Handler Unit",
      "model_name": "Model-123",
      "serial_number": "SN-456789",
      "asset_location": "Room 204",
      "install_date": "2025-07-01 12:00:00",
      "siteid": "TEXAS",
      "orgid": "EAGLENA"
    }

    When I hit the POST Message with URL -  https://hostname/maximo/api/os/osname , I am getting Site Id not found error. The Site ID is active and part of the organization in Manage.

    {"oslc:Error":{"oslc:statusCode":"400","errorattrname":"siteid","spi:reasonCode":"BMXAA4153E","errorobjpath":"asset","correlationid":null,"oslc:message":"BMXAA4153E - null is not a valid site. Enter a valid Site value as defined in the Organization Application."

    The same error appears even if I replace the JSON data with actual Maximo attributes.

    Any pointers on why this is occurring? 

    Thanks


    #Integrations

    ------------------------------
    SA
    Accenture
    ------------------------------


  • 2.  RE: MAS Manage v9.0 - JSON Mapping inbound errors
    Best Answer

    Posted 07-15-2025 13:44

    This has nothing to do with the JSON mapping application. You are missing the ?lean=1 query parameter on the initial POST request. Without fail, you almost always want that. Otherwise the Maximo API falls back to the OSLC standard which requires prefixes on attribute names (that's what the spi:, oslc:, etc. is above)



    ------------------------------
    Steven Shull
    Naviam
    ------------------------------



  • 3.  RE: MAS Manage v9.0 - JSON Mapping inbound errors

    Posted 07-16-2025 08:51
    Edited by Sankar Ganesh V S 07-16-2025 08:51

    Hi Aakash,

    As suggested by Steven, you can either,

    Use 'lean=1' as parameter

    Or 

    Prefix 'spi:' in all payload fields 

    Thanks!
    ------------------------------
    Sankar Ganesh V S
    DXC Technology
    ------------------------------



  • 4.  RE: MAS Manage v9.0 - JSON Mapping inbound errors

    Posted 07-16-2025 12:39

    Thank you Steve and Sankar, you are correct. It needs lean parameter or prefixes on attribute name.



    ------------------------------
    SA
    Accenture
    ------------------------------