I am currently using the GenericTicketConnector to create a Ticket. However, the article will break into newline automatically. I am using Postman to create Ticket. The content as follows. Any idea?? I would appreciate your help. Thank you
"Article": {
"Subject": "First",
"Body": "I would like to suggest to add more units of stage platforms for Chancellor Room as its size is not the standard one and it's a bit difficult if we need to enlarge the stage platform a few days ago before the event day (the no. of onstage guests may increase in certain extend)",
"ContentType": "text/plain; charset=utf8"
}
In the Ticket Zoom view, there is plenty of room for the article to go
Solved: Line Break Issue on TicketCreate API
Moderator: crythias
-
- Znuny newbie
- Posts: 25
- Joined: 02 Jan 2020, 05:15
- Znuny Version: 6.0.4
- Real Name: Steve Chan
Solved: Line Break Issue on TicketCreate API
You do not have the required permissions to view the files attached to this post.
Last edited by stevechan on 30 Mar 2020, 05:12, edited 1 time in total.
-
- Znuny newbie
- Posts: 25
- Joined: 02 Jan 2020, 05:15
- Znuny Version: 6.0.4
- Real Name: Steve Chan
Re: Line Break Issue on TicketCreate API
It only happens in English character. I tried another language and it works fine. FYR
-
- Znuny newbie
- Posts: 25
- Joined: 02 Jan 2020, 05:15
- Znuny Version: 6.0.4
- Real Name: Steve Chan
Re: Solved: Line Break Issue on TicketCreate API
Updated:
I change the text/plain to text/html and now work fine.
I change the text/plain to text/html and now work fine.
-
- Znuny newbie
- Posts: 25
- Joined: 02 Jan 2020, 05:15
- Znuny Version: 6.0.4
- Real Name: Steve Chan
Re: Solved: Line Break Issue on TicketCreate API
I don't understand how it works because it is a random try. Anyone can explain the reason? Thank you?