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