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
    ------------------------------


Newest Episode
Ep. 4 | System Properties in IBM Maximo

Watch Steven Shull walk through practical IBM Maximo system properties that can improve usability, query behavior, attachment handling, and the overall Maximo user experience.

MORE by Naviam Episode 4 cover
Watch Episode 4
Also available: Ep. 3 | Work Order Role-Based Application