I am trying to find out how to have OTRS send a ticket to the customer after it has been created through a web service.
Ticket creation and assigning to the customer works fine, only sending the mail is an issue.
The reason for this, is if we have an incident multiple customers (up to a 100) can be affected simultaneously and therefor we receive our information from an external program and create all the tickets via a script but we are not able to send them automatically to inform the customer.
The parameters sent to the web service are the following:
Code: Select all
"SessionID": sessionId,
"Ticket": {
"Title": "TEST Ticket",
"QueueID": 5,
"State": "open",
"Priority": "3 normal",
"CustomerUser": customerId,
"Owner": userName
},
"Article": {
"SenderType": "agent",
"ArticleType": "email-external",
"ContentType": "text/html; charset=utf8",
"Subject": "TEST",
"Body": "TEST TEST",
"From": "some mail that used already used by OTRS to send mails"
}
}
Best regards,
MFO