† user_action_list ( )
Definitively removed in API Version 2.8.1
DEPRECATED IN API VERSION 2.7.8 (replaced by action_list_user ())
Function prototype | user_action_list(session, id, action {, path}{, parameter} |
---|---|
API Version | ALL |
This function returns the possible actions available for the active user In the TASKS and EVENTS page. This function returns a list of possible choices related with a TASK or EVENT insertion (currently only EVENT actions are available). | |
Input parameters: |
|
Output parameters: |
|
Request sample: | action_list_user ( “LCAAAAAAAAAAAA”, 13232, “EVENT” ); |
Response sample: |
<result>
<?xml version="1.0" encoding="utf-8"?>
<actions>
<description>Select the type of message</description>
<action>
<ref>ACTION=MESSAGE&issuer=POSTER&event_multi=1&event_type=2</ref>
<name>CARE ISSUE</name>
<description/>
<class>ACTION</class>
<type>MESSAGE</type>
</action>
<action>
<ref>ACTION=MESSAGE&issuer=POSTER&event_multi=1&event_type=1</ref>
<name>SOCIAL ISSUE</name>
<description/>
<class>ACTION</class>
<type>MESSAGE</type>
</action>
</actions>
</result>
<ErrorMsg></ErrorMsg>
<ErrorCode></ErrorCode>
|
Notes: |
|
Return Error codes
ERROR CODE |
|
---|---|
INVALID_TOKEN | The session token provided is not valid |
INSUFFICIENT_PRIVILEGES | The session user does not have the necessary privileges to create request the 'action' indicated |
USER.NOT_FOUND | The USER reference provided does not correspond to an existing USER |