Maximo Open Forum

 View Only

Using MXRECEIPT Object Structure via REST API

  • 1.  Using MXRECEIPT Object Structure via REST API

    Posted 3 hours ago

    Hi, 

    I need to push GRN/PO-Receiving of the inventory items. For this, according to the IBM documentation (https://www.ibm.com/docs/en/masv-and-l/maximo-manage/cd?topic=objects-receipts-object-materials-services) I prepared the json body but when I try to run Post via Postman, I always get the error :

            "reasonCode""BMXAA3247E",
            "message""BMXAA3247E - The specified purchase order does not exist.",
            "statusCode""400"

    I have given every object structure + receiving application authorization to the user via a security group but still the same result!!!

    URL : https://oauatcmms.ads/maximo/oslc/os/mxapireceipt?lean=1

    Headers:

    Body:

    {
        "issuetype""RECEIPT",
        "orgid""OAMC",
        "siteid""MCT",
        "positeid""MCT",
        "ponum""651155",
        "orderunit""EA",
        "porevisionnum"0,
        "polinenum"1,
        "itemnum""10012653",
        "itemsetid""ITEMSET1",
        "linetype""ITEM",
        "inspectionrequired"false,
        "rotating"false,
        "receiptquantity"5,
        "tobin""ELECTRICAL",
        "tostoreloc""MCT-CENTRAL",
        "externalrefid""GRN-1126-1",
        "sourcesysid""EBS"
    }
    I would like to know what I'm missing and the usual end to end process of REST APIs to post the receiving data in Maximo.
    Regards,

    #Integrations

    ------------------------------
    Shahid Saeed Khan
    Oman Airports Management Company
    ------------------------------