REST API - Article field CC

Moderator: crythias

Post Reply
SSpt
Znuny newbie
Posts: 17
Joined: 12 Oct 2019, 09:22
Znuny Version: 6.0.18
Real Name: Sergio Silva

REST API - Article field CC

Post by SSpt »

Hi there,

I have mounted an OTRS platform that receives the tickets from a Web page throught GenericInterface REST
Everything it's OK but now someone ask me to put a CC field in the ticket

I'm trying to use the Cc field of the article but it doesn't work, it doesn't save the data in table article_data_mime / a_cc colum
Can anybody help?

Here is the fist part of the article example

"Article":
{
"CommunicationChannel" : "Email",
"SenderType" : "customer",
"From" : "customer.user@email.com",
"Cc" : "cc.user@email.com",
"Subject" : "TESTES CC Criação de utilizador HRLink",
"Body" : "Criação de utilizador HRLink mais alguma coisa",
"ContentType": "text/plain; charset=utf8",
"TimeUnit" : "0"
},
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: REST API - Article field CC

Post by jojo »

CC will only work if you send an email via webservice which would require an update to OTRS 7 as this function is not available in the ((OTRS)) community edition
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
root
Administrator
Posts: 3963
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: REST API - Article field CC

Post by root »

jojo wrote: 23 Jan 2020, 09:53 CC will only work if you send an email via webservice which would require an update to OTRS 7 as this function is not available in the ((OTRS)) community edition
Hi Sergio,

No need for. Use the free open source add-on Znuny4OTRS-GIArticleSend and it works with version 6 of the Community Edition. You can install it via the package manager. For details see https://www.znuny.com/add-ons/znuny4otrs-repository

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Post Reply