Add value to dynamic field via SOAP / PHP

Moderator: crythias

Locked
StClaus
Znuny newbie
Posts: 9
Joined: 06 Feb 2013, 18:10
Znuny Version: 3.1.2

Add value to dynamic field via SOAP / PHP

Post by StClaus »

Hello,

i try to adding a value to a dynamic field via SOAP (PHP).

My code: http://pastebin.com/ehTqX8us

Code: Select all

                new SoapParam(array(
                    "Name" => "WebsiteUserId",
                    "Value" => $userid
                ), "DynamicField")
But it is not working. The dynamic filed has the key "WebsiteUserId". Adding the value manually via AgentTicketEmail is working.

Anybody has a idea? Thanks a lot!
StClaus
Znuny newbie
Posts: 9
Joined: 06 Feb 2013, 18:10
Znuny Version: 3.1.2

Re: Add value to dynamic field via SOAP / PHP

Post by StClaus »

*push* :)

Is somewhere a current documentation of the API for OTRS 3.3.x available?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Add value to dynamic field via SOAP / PHP

Post by jojo »

perldoc, github, doc.otrs.org
"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
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Add value to dynamic field via SOAP / PHP

Post by reneeb »

Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Locked