Clarity Service Management

get_attr_list_for_object 

12-09-2015 04:35 PM

SPEL API methods

get_attr_list_for_object

 

This method will get all attributes for the object by object name

 

Definition:

get_attr_list_for_object( uuid, string ) ;

uuid - contact handle

string - object name (cr,nr,wf and etc.)

 

 

working example:

  uuid who;
  send_wait(0,top_object(), "call_attr", "cnt", "current_user_id");
  who=msg[0];
  send_wait(0, top_object(), "call_attr", "api", "get_attr_list_for_object", who, "cr");
   if (msg_error()) {
    logf(ERROR, "checkin failed %s",msg[0]);
     }else
     {
     int i;
      for (i=0;i<msg_length();i++) {
      logf(SIGNIFICANT, "msg[%d]: '%s'", i, msg[i]);
      }
     }
          

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.