Use API to create ticket with replies?

I have an export from Spiceworks that includes replies.  Is it possible to import/create the tickets with the embedded replies with one (or more) API calls?


Here is a sample of what the data looks like for a ticket


{

   "assigned_to": "Scott",

   "Summary":"This is a ticket from Spiceworks",

   "Comments": {

      {

         "body": "This is the first reply",

         "created_at":"2016-01-01 08:00:00"

      },{

         "body": "This is the first reply",

         "created_at":"2016-01-01 08:00:00"

      }

   ]

}

1 Comment

I see an `attachments` property on the ticket object which is an array of objects.  It would be nice if there was a similar object for replies.

Login or Signup to post a comment