CA Service Management

 View Only

get_attr_information 

Dec 09, 2015 04:48 PM

SPEL API methods

get_attr_information

 

This method will get object attribute information

 

Definition:

get_attr_information( uuid, string, string ) ;

uuid - contact handle

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

string - attribute name

 

 

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_information", who, "cr", "status");
   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]);
      }
     }

//DataType - msg[0]: '2005'
//Size - msg[1]: '1'
//Required - msg[2]: '0'
//Factory msg[3]: 'crs'

//DataTypes:
//Integer 2001
//String 2002
//Duration 2003
//Date 2004
//SREL 2005
//float or double 2006
//List (QREL/BREL) 2007
//Lrel (many-to-many) 2008
//UUID 2009
         

Statistics
0 Favorited
10 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.