Auth

<<

- NAME
- FUNCTIONS
- AUTHOR
- COPYRIGHT

# NAME

Auth

# FUNCTIONS

new($api)

  Create a new object for accessing Auth API

  Parameters

  $api

          API object

get_list

          List all oTask/Activity records within a team

  Parameters

  $company

          Company ID

  $team

          Team ID

  Return value

          JSON response as a string

get_specific_list

          List all oTask/Activity records within a Company by specified code(s)

  Parameters

  $company

          Company ID

  $team

          Team ID

  $code

          Code(s)

  Return value

          JSON response as a string

add_activity

          Create an oTask/Activity record within a team

  Parameters

  $company

          Company ID

  $team

          Team ID

  $params

          Hash of params

  Return value

          JSON response as a string

update_activities

          Update specific oTask/Activity record within a team

  Parameters

  $company

          Company ID

  $team

          Team ID

  $code

          Code

  $params

          Hash of params

  Return value

          JSON response as a string

archive_activities

          Archive specific oTask/Activity record within a team

  Parameters

  $company

          Company ID

  $team

          Team ID

  $code

          Code

  Return value

          JSON response as a string

unarchive_activities

          Unarchive specific oTask/Activity record within a team

  Parameters

  $company

          Company ID

  $team

          Team ID

  $code

          Code

  Return value

          JSON response as a string

update_batch

          Update a group of oTask/Activity records within a company

  Parameters

  $company

          Company ID

  $params

          Hash of params

  Return value

          JSON response as a string

get_by_type

          Get by type

  Parameters

  $company

          Company ID

  $team

          Team ID

  $code

          Optional, code.

  Return value

          String

# AUTHOR

Maksym Novozhylov `<mnovozhilov@upwork.com>`

# COPYRIGHT

Copyright © Upwork Global Corp., 2015

<<