Skip to main content

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

Did this topic help you find an answer to your question?
This topic has been closed for comments

2 replies

  • Author
  • Apprentice
  • 1 reply
  • September 3, 2014

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



  • Community Debut
  • 27 replies
  • September 3, 2014

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