04-27-2016 06:14 AM
Hi everybody,
i have a problem with CUPI and Unity Connection 10.5.1.11901-1. I cannot change the status of any greeting (Alternate, Busy,...) to "Greeting Enabled with No End Date and Time".
API says:
<xs:element name="TimeExpires" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>
The date and time when the greeting rule expires. The greeting rule is considered not expired (enabled), if the value is NULL or a future date. The greeting rule is considered expired (disabled), the value is in the past.
</xs:documentation>
</xs:annotation>
</xs:element>
But sending:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Greeting><TimeExpires/><AfterGreetingAction>4</AfterGreetingAction></Greeting>
has no effect on status but changes AfterGreetingAction. Has anybody a solution or can anybody reproduce the error?
Thanks for your help in advance!
Solved! Go to Solution.
04-27-2016 07:47 AM
when working on this in the CUPI .NET SDK a while back I know I used this convention and tested it and it worked:
<Greeting><TimeExpires></TimeExpires><Enabled>1</Enabled></Greeting>
but that was a while ago (back in the 9.x days) so I can't vouch for it against modern releases...
04-27-2016 07:47 AM
when working on this in the CUPI .NET SDK a while back I know I used this convention and tested it and it worked:
<Greeting><TimeExpires></TimeExpires><Enabled>1</Enabled></Greeting>
but that was a while ago (back in the 9.x days) so I can't vouch for it against modern releases...
04-27-2016 08:02 AM
Perfect! Thanks a lot!
Now it works. There was only the enabled tag missing. Funny that api documentation for cupi 10 does not mention that...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide