1 Reply Latest reply on Jan 25, 2018 3:59 PM by LJ LongWing

    Is there an operation for 'create multiple entries' for the REST API?

    Chris Swetnam

      I don't see one here:

       

      Operations on entry objects - Documentation for BMC Remedy Action Request System 9.1 - BMC Documentation

       

      I tried formatting the raw json to include multiple entries, but it seems to ignore everything after the initial "values": collection.

      I've tried reading about including an array but haven't had any success there either. 

       

      I am sending to the form endpoint /api/arsys/v1/entry/FORM:Name

       

      Headers:

      Authorization: AR-JWT token

      Content-Type: application/json

       

      Body: raw json

       

      {

           "values":

           {

                "field1": "first record",

                "field2": "value2",

                "field3": "value3",

                "field4": "value4",

           }

      },

      {

           "values":

           {

                "field1": "second record",

                "field2": "value2",

                "field3": "value3",

                "field4": "value4",

           }

      }