Creating new tickets

Dear all,


how do you create a ticket via API? I carefully read the docs, and I am also able to retrieve ticket information via API, but had no luck creating a ticket so far.


Posting the following request results in a status 200 response, but does neither return a JSON string nor create a ticket:

    

Accept: */*
Accept-Encoding: gzip, deflate
Content-Type: application/json
Authorization: Basic [hash removed]
Accept-Language: de-de

{
   "helpdesk_ticket": {
      "description": "My problem is this...",
      "email": "sample@somewhere.org",
      "priority": 1,
      "status": 2,
      "subject": "Creating a test ticket"
    }
  }

Any pointers welcome :)


rgds

Lutz


1 person has this question

Finally figured it out: You have to use an SSL connection (which is a good thing by itself of course). 


You might want to update your examples ;)


Thanks for sharing. We will update the documentation shortly to mention the SSL requirement more explicitly.

Login or Signup to post a comment