TaskResponsibilityTypes: GetTaskResponsibilityTypes

Returns a list of responsibility types that you can assign to users when you add them to a task.

Note: You do not specify an accountId with this method.

Permissions

Any user with a valid access token can call this method.

Request

HTTP request

GET /v2/task_responsibility_types

Parameters

Parameter NameValueDescription

Responses

CodeDescriptionReference
200

Request was successful.

GlobalTaskResponsibilityTypes
400

Bad request. See ErrorCode and Message for details

ApiError
401

Not authorized to make this request.

ApiError

SDK Method

GlobalResources::GetTaskResponsibilityTypes

Definitions

ApiError

This object describes errors that occur. It is valid only for responses and ignored in requests.

errorCodestring

The code associated with the error condition.

messagestring

A brief message describing the error condition.

GlobalTaskResponsibilityTypes

Contains a list of task responsibility types.

taskResponsibilityTypes[TaskResponsibilityType]

A list of task responsibility types.

TaskResponsibilityType

Contains information about a task responsibility type.

taskResponsibilityTypeIdstring

The id of the task responsibility type.

namestring

The name of the task responsibility type. The possible values are:

  • Assignee
  • Watcher
  • Reviewer

}} />