I imported the .yml file and I'm looking at the debug page, but can't figure out what's wrong. I can get the sample ticket created upon install, but can't form a valid request to create a ticket. I'm posting my request. Auth is beeing sent in params, request is going in body as raw. Also tryed it as form-data but with no sucess either. I'm using postman. And yes, I've been reading the doc's, that's where I started. Also looked for a post with an example, but that got me nowhere... This was the most usefull post, but still got me a few steps in the direction, but not to results. Here is my request and pic's. Sorry to bother, I've been trying this since yesterday and getting no results. And yes, I'm not a JSON expert, yet!
Request:
Code: Select all
{"Ticket":[{
"Title":"REST Create Test",
"Queue":"Raw",
"State":"new",
"Priority":"3 normal"
}],
"Article":[{
"CommunicationChannel":"Email",
"Subject":"Rest Create Test",
"Body":"This is only a test",
"ContentType":"text/plain"
}]
}