In Perl, I set up the xml ad below. This is based on otrs SOAP from https://github.com/OTRS/otrs/blob/maste ... Request.pl
Code: Select all
<UserLogin>some user login</UserLogin>
<Password>some password</Password>
<Ticket>
<Title>some title</Title>
<CustomerUser>some customer user login</CustomerUser>
<Queue>some queue</Queue>
<State>some state</State>
<Priority>some priority</Priority>
</Ticket>
<Article>
<Subject>some subject</Subject>
<Body>some body</Body>
<ContentType>text/plain; charset=utf8</ContentType>
</Article>
<DynamicField>
<Name>item1</Name>
<Value>value1</Value>
<Name>item2</Name>
<Value>value2</Value>
</DynamicField>
';
$VAR1 = {
'Error' => {
'ErrorCode' => 'TicketCreate.MissingParameter',
'ErrorMessage' => 'TicketCreate: DynamicField->Name parameter is missing!'
}
};
In what format should I put the dynamic fields then?
Thank you so much for your help.