Download RightNow February `08

Transcript
38
XML Integration
then send them to any World Mobile customer, upload them to
your online photo album at World Mobile, or send them to an
email address. To send to another World Mobile member, dial
their number and select the Send Picture option on
your phone.</pair>
<pair name="status" type="pair">
<pair name="id" type="integer">4</pair>
<pair name="type" type="integer">4</pair>
</pair>
</parameter>
</function>
</connector>
This example creates an answer associated with meta-answer ID 25, sets the access mask,
description, summary, solution, language, and status fields for the answer, and assigns it to the
staff member with the account ID of 4. The function will return the a_id number.
ans_destroy
The ans_destroy function is used to delete an existing answer in the RightNow database. The
function has two components: an args parameter and an array of pair data. Refer to Table 4
on page 22 for a list of required pairs.
Example:
<connector>
<function name="ans_destroy">
<parameter name="args" type="pair">
<pair name="a_id" type="integer">33</pair>
<pair name="wf_flag" type="integer">1</pair>
<pair name="ee_flag" type="integer">1</pair>
</parameter>
</function>
</connector>
This example deletes answer ID number 33, applies business rules, and executes an external
event if one is specified in the EE_ANS_DELETE_HANDLER configuration setting.
ans_get
The ans_get function is used to retrieve the contents of an answer from the answers table. The
function has two components: an args parameter and an array of pair data. Refer to Table 4
on page 22 for a list of required pairs.
Chapter 3