We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

How to do Scripted Rest Api for attachment for base64 with filename,filesize and DataBase64.

sangitaakum
Tera Contributor

How to do Scripted Rest Api for attachment for DataBase64 with filename, filesize and DataBase64. This is the JSON payload structure.

{

    "CallData": {

        "Calls": {

            "SysSpecField3": "${u_external_reference_number}",

            },

        },

        "Attachments1": {

            "FileName": "",

            "DataBase64": "",

            "FileSize": ""

        },

        "Attachments2": {

            "FileName": "",

            "DataBase64": "",

            "FileSize": ""

        },

        "Attachments3": {

            "FileName": "",

            "DataBase64": "",

            "FileSize": ""

        }

    }

} if anyone please let us know its very helpful to us.

0 REPLIES 0