GET v1/Tasks/{id}

Retrieve Task

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Task id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Retrieve Task

TaskOutboundDTO
NameDescriptionTypeAdditional information
Id

Task Id

integer

None.

ModifiedUserId

Modified User Id

integer

None.

ModifiedDate

Modified Date

date

None.

FromUserId

From User Id

integer

None.

CreationDate

Creation Date

date

None.

AssignedUserId

Assigned User Id

integer

None.

ReferenceType

Reference Type

TaskReferenceTypeEnum

None.

ReferenceKey

Reference Key

string

String length: inclusive between 0 and 254

Subject

Subject

string

String length: inclusive between 0 and 254

DueDate

Due Date

date

None.

CompletionDate

Completion Date

date

None.

Status

Status

TaskStatusEnum

None.

Priority

Priority

TaskPriorityEnum

None.

Annotation

Annotation

string

String length: inclusive between 0 and 500

WarningMessages

List of warning messages encountered while servicing request

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ModifiedUserId": 1,
  "ModifiedDate": "2024-12-21T07:53:46.7986558-10:00",
  "FromUserId": 2,
  "CreationDate": "2024-12-21T07:53:46.7986558-10:00",
  "AssignedUserId": 3,
  "ReferenceType": "Unknown",
  "ReferenceKey": "sample string 4",
  "Subject": "sample string 5",
  "DueDate": "2024-12-21T07:53:46.7986558-10:00",
  "CompletionDate": "2024-12-21T07:53:46.7986558-10:00",
  "Status": "Unknown",
  "Priority": "Unknown",
  "Annotation": "sample string 7"
}

application/xml, text/xml

Sample:
<TaskOutboundDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GCApi.Models.Outbound">
  <Id>1</Id>
  <Annotation>sample string 7</Annotation>
  <AssignedUserId>3</AssignedUserId>
  <CompletionDate>2024-12-21T07:53:46.7986558-10:00</CompletionDate>
  <CreationDate>2024-12-21T07:53:46.7986558-10:00</CreationDate>
  <DueDate>2024-12-21T07:53:46.7986558-10:00</DueDate>
  <FromUserId>2</FromUserId>
  <ModifiedDate>2024-12-21T07:53:46.7986558-10:00</ModifiedDate>
  <ModifiedUserId>1</ModifiedUserId>
  <Priority>Unknown</Priority>
  <ReferenceKey>sample string 4</ReferenceKey>
  <ReferenceType>Unknown</ReferenceType>
  <Status>Unknown</Status>
  <Subject>sample string 5</Subject>
</TaskOutboundDTO>