GET api/Task/{id}

Fast method to get Task by id.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ApiTask
NameDescriptionTypeAdditional information
id

integer

None.

name

string

None.

description

string

None.

status

Read only

TaskStatus

None.

id_orgboard_position

integer

None.

id_person_creator

Person who created task (Default current api person if not specified)

integer

None.

id_company

Company from CRM

integer

None.

id_company_contact

Company contact from CRM

integer

None.

date_from

date

None.

date_to

date

None.

date_completed

Read only

date

None.

is_with_no_date

Used when date is not specified, used in "To do list"

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "description": "sample string 3",
  "status": 0,
  "id_orgboard_position": 1,
  "id_person_creator": 1,
  "id_company": 1,
  "id_company_contact": 1,
  "date_from": "2024-11-16T04:42:29.5223672+00:00",
  "date_to": "2024-11-16T04:42:29.5223672+00:00",
  "date_completed": "2024-11-16T04:42:29.5223672+00:00",
  "is_with_no_date": true
}

application/xml, text/xml

Sample:
<ApiTask xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <id>1</id>
  <name>sample string 2</name>
  <description>sample string 3</description>
  <status>Prepared</status>
  <id_orgboard_position>1</id_orgboard_position>
  <id_person_creator>1</id_person_creator>
  <id_company>1</id_company>
  <id_company_contact>1</id_company_contact>
  <date_from>2024-11-16T04:42:29.5223672+00:00</date_from>
  <date_to>2024-11-16T04:42:29.5223672+00:00</date_to>
  <date_completed>2024-11-16T04:42:29.5223672+00:00</date_completed>
  <is_with_no_date>true</is_with_no_date>
</ApiTask>