Staff

Staff have access to the API calls listed below, but only for their own staff_id.

staff.current

Return the current user’s details.

Request



Response



  
    1
    John
    John
    Smith
    John@example.org
    
    
    0
    2010-07-12 13:55:58
    700
    2010-07-07 10:38:57
    
    
    
    
    
    
  

staff.get

Return the complete staff details associated with the given staff_id.

Request



  2

Response



  
    2
    staff1
    test
    test2
    jsmith@abcorp.com
    (123) 456-7890
    (123) 456-7890
    0
    2008-11-20 13:26:00
    13
    2008-10-22 13:57:00
    123 ABC Street
    
    Toronto
    Ontario
    Canada
    M1M 1A1
  

staff.list

Returns a list of staff.

Note: This method uses pagination.

Request




Response



  
    
      1
      admin
      
      abcorp
      abc@abcorp.com
      
      
      
      2011-04-01 12:00:00
      50
      2011-04-01 12:00:00
      
      
      
      
      
      
    

    
      2
      staff1
      John
      Smith
      jsmith@abcorp.com
      
      
      
      2011-04-01 12:00:00
      25
      2011-04-01 12:00:00
      
      
      
      
      
      
    
    ...
  

Search