MxLoader

 View Only

API REST creating attachment on ASSET+ printthrulink

  • 1.  API REST creating attachment on ASSET+ printthrulink

    Posted 06-10-2024 06:47

    Hi everyone ,

    I made a script that POST attachments on ASSET using the native MXASSETAPI object structure.

    The document is created , i get the location id ... But do you know how to set "printthrulink" to "false"  in the same time ?

    I tried to update the doclinks after it's created , but i get a 500 error message because Update is not supported yet.

    Here is the json part of the body:

    jsonBody = "{
            ""documentdata"":""" & base64Body & """,
            ""PRINTTHRULINK"":""" & "false" &"""
        }",

    Thank you.



    ------------------------------
    Auzillaud Antoine
    RATP
    ------------------------------


Featured Podcast
Episode 1 is live: IBM Maximo Application Suite 9.2

Watch or listen to Steven Shull and Phil Runion discuss the practical MAS 9.2 updates Maximo teams should know.

Watch the Podcast
MORE by Naviam Episode 1 cover
Watch the latest episode