GET V3/odata/Task({key})

Gets Task entity by key

Request Information

URI Parameters

NameDescriptionTypeAdditional information
key

TaskId from Task entity

integer

Required

Body Parameters

None.

Response Information

Resource Description

QicsUnity.Api.Areas.V3.Models.Task
NameDescriptionTypeAdditional information
TaskId

Gets or sets task id

integer

Required

64-bit signed integer

CustomerCompanyId

Gets or sets customer company id

integer

64-bit signed integer

Nullable

Description

Gets or sets description

string

ItemCompanyId

Gets or sets item company id

integer

64-bit signed integer

Nullable

Name

Gets or sets task name

string

TaskType

Gets or sets task type

QicsUnity.Api.Areas.V3.Models.TaskType

Required

BudgetId

Gets or sets budget id

integer

64-bit signed integer

Nullable

State

Gets or sets task state

QicsUnity.Api.Areas.V3.Models.TaskState

Nullable

ProjectId

Gets or sets project id

integer

Required

64-bit signed integer

FromDateTaskMaxHoursPerDay

Gets or sets max hours per day for from date task

decimal number

Nullable

FromDateTaskMaxHoursPerWeek

Gets or sets max hours per week for from date task

decimal number

Nullable

FromDateOrRecurringTaskFromDate

Gets or sets from date on from date or recurring task

date

date and time of day

Nullable

FromDateTaskHours

Gets or sets hours on from date task

decimal number

Nullable

Priority

Gets or sets task priority

QicsUnity.Api.Areas.V3.Models.TaskPriority

Nullable

EndDate

Gets or sets end date

date

date and time of day

Nullable

EstimatedHours

Gets or sets estimated hours

decimal number

Nullable

ExtraHours

Gets or sets extra hours

decimal number

Nullable

Deliverables

Gets or sets deliverables

decimal number

Completed

Gets or sets completed

decimal number

DependsOnTaskId

Gets or sets dependent task ID

integer

64-bit signed integer

Nullable

DependsOnTaskName

Gets or sets dependent task name

string

RecurringTaskType

Gets or sets recurring task type

QicsUnity.Api.Areas.V3.Models.RecurringTaskType

Nullable

RecurringTaskEndCondition

Gets or sets recurring task end condition

QicsUnity.Api.Areas.V3.Models.RecurringTaskEndCondition

Nullable

RecurringTaskEndDate

Gets or sets recurring task end date

date

date and time of day

Nullable

RecurringTaskRepeatScheduleEvery

Gets or sets recurring task repeat schedule every interval

integer

Nullable

RecurringTaskNumberOfRecurrences

Gets or sets number of recurrences

integer

Nullable

RecurringTaskWeekMondayHours

Gets or sets Monday hours for recurring week task

decimal number

Nullable

RecurringTaskWeekTuesdayHours

Gets or sets Tuesday hours for recurring week task

decimal number

Nullable

RecurringTaskWeekWednesdayHours

Gets or sets Wednesday hours for recurring week task

decimal number

Nullable

RecurringTaskWeekThursdayHours

Gets or sets Thursday hours for recurring week task

decimal number

Nullable

RecurringTaskWeekFridayHours

Gets or sets Friday hours for recurring week task

decimal number

Nullable

RecurringTaskWeekSaturdayHours

Gets or sets Saturday hours for recurring week task

decimal number

Nullable

RecurringTaskWeekSundayHours

Gets or sets Sunday hours for recurring week task

decimal number

Nullable

RecurringTaskYearJanuaryHours

Gets or sets January hours for recurring year task

decimal number

Nullable

RecurringTaskYearFebruaryHours

Gets or sets February hours for recurring year task

decimal number

Nullable

RecurringTaskYearMarchHours

Gets or sets March hours for recurring year task

decimal number

Nullable

RecurringTaskYearAprilHours

Gets or sets April hours for recurring year task

decimal number

Nullable

RecurringTaskYearMayHours

Gets or sets May hours for recurring year task

decimal number

Nullable

RecurringTaskYearJuneHours

Gets or sets June hours for recurring year task

decimal number

Nullable

RecurringTaskYearJulyHours

Gets or sets July hours for recurring year task

decimal number

Nullable

RecurringTaskYearAugustHours

Gets or sets August hours for recurring year task

decimal number

Nullable

RecurringTaskYearSeptemberHours

Gets or sets September hours for recurring year task

decimal number

Nullable

RecurringTaskYearOctoberHours

Gets or sets October hours for recurring year task

decimal number

Nullable

RecurringTaskYearNovemberHours

Gets or sets November hours for recurring year task

decimal number

Nullable

RecurringTaskYearDecemberHours

Gets or sets December hours for recurring year task

decimal number

Nullable

RecurringTaskYearlyPeriod

Gets or sets yearly period for recurring year task

QicsUnity.Api.Areas.V3.Models.RecurringTaskYearlyPeriod

Nullable

RecurringTaskYearlyPeriodOrder

Gets or sets yearly period order for recurring year task

QicsUnity.Api.Areas.V3.Models.RecurringTaskYearlyPeriodOrder

Nullable

TaskEmployees

Gets or sets task employees collection

Collection of QicsUnity.Api.Areas.V3.Models.TaskEmployee

Response Formats

application/json, text/json

Sample:
{
  "TaskId": "1",
  "CustomerCompanyId": "1",
  "Description": "sample 2",
  "ItemCompanyId": "1",
  "Name": "sample 3",
  "TaskType": "Day",
  "BudgetId": "1",
  "State": "Definitive",
  "ProjectId": "4",
  "FromDateTaskMaxHoursPerDay": "1",
  "FromDateTaskMaxHoursPerWeek": "1",
  "FromDateOrRecurringTaskFromDate": "2024-12-22T17:40:37.8297829+00:00",
  "FromDateTaskHours": "1",
  "Priority": "None",
  "EndDate": "2024-12-22T17:40:37.8297829+00:00",
  "EstimatedHours": "1",
  "ExtraHours": "1",
  "Deliverables": "5",
  "Completed": "6",
  "DependsOnTaskId": "1",
  "DependsOnTaskName": "sample 7",
  "RecurringTaskType": "Weekly",
  "RecurringTaskEndCondition": "NumberOfRecurrences",
  "RecurringTaskEndDate": "2024-12-22T17:40:37.8297829+00:00",
  "RecurringTaskRepeatScheduleEvery": "1",
  "RecurringTaskNumberOfRecurrences": "1",
  "RecurringTaskWeekMondayHours": "1",
  "RecurringTaskWeekTuesdayHours": "1",
  "RecurringTaskWeekWednesdayHours": "1",
  "RecurringTaskWeekThursdayHours": "1",
  "RecurringTaskWeekFridayHours": "1",
  "RecurringTaskWeekSaturdayHours": "1",
  "RecurringTaskWeekSundayHours": "1",
  "RecurringTaskYearJanuaryHours": "1",
  "RecurringTaskYearFebruaryHours": "1",
  "RecurringTaskYearMarchHours": "1",
  "RecurringTaskYearAprilHours": "1",
  "RecurringTaskYearMayHours": "1",
  "RecurringTaskYearJuneHours": "1",
  "RecurringTaskYearJulyHours": "1",
  "RecurringTaskYearAugustHours": "1",
  "RecurringTaskYearSeptemberHours": "1",
  "RecurringTaskYearOctoberHours": "1",
  "RecurringTaskYearNovemberHours": "1",
  "RecurringTaskYearDecemberHours": "1",
  "RecurringTaskYearlyPeriod": "Sunday",
  "RecurringTaskYearlyPeriodOrder": "First",
  "TaskEmployees": [
    {
      "EmployeeId": "1",
      "EmployeeCompanyId": "1",
      "EmployeeName": "sample 1",
      "EmployeeNumber": "1"
    },
    {
      "EmployeeId": "1",
      "EmployeeCompanyId": "1",
      "EmployeeName": "sample 1",
      "EmployeeNumber": "1"
    }
  ]
}

application/xml, text/xml

Sample:
<Task xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V3.Models">
  <BudgetId>1</BudgetId>
  <Completed>6</Completed>
  <CustomerCompanyId>1</CustomerCompanyId>
  <Deliverables>5</Deliverables>
  <DependsOnTaskId>1</DependsOnTaskId>
  <DependsOnTaskName>sample 7</DependsOnTaskName>
  <Description>sample 2</Description>
  <EndDate>2024-12-22T17:40:37.8297829+00:00</EndDate>
  <EstimatedHours>1</EstimatedHours>
  <ExtraHours>1</ExtraHours>
  <FromDateOrRecurringTaskFromDate>2024-12-22T17:40:37.8297829+00:00</FromDateOrRecurringTaskFromDate>
  <FromDateTaskHours>1</FromDateTaskHours>
  <FromDateTaskMaxHoursPerDay>1</FromDateTaskMaxHoursPerDay>
  <FromDateTaskMaxHoursPerWeek>1</FromDateTaskMaxHoursPerWeek>
  <ItemCompanyId>1</ItemCompanyId>
  <Name>sample 3</Name>
  <Priority>None</Priority>
  <ProjectId>4</ProjectId>
  <RecurringTaskEndCondition>NumberOfRecurrences</RecurringTaskEndCondition>
  <RecurringTaskEndDate>2024-12-22T17:40:37.8297829+00:00</RecurringTaskEndDate>
  <RecurringTaskNumberOfRecurrences>1</RecurringTaskNumberOfRecurrences>
  <RecurringTaskRepeatScheduleEvery>1</RecurringTaskRepeatScheduleEvery>
  <RecurringTaskType>Weekly</RecurringTaskType>
  <RecurringTaskWeekFridayHours>1</RecurringTaskWeekFridayHours>
  <RecurringTaskWeekMondayHours>1</RecurringTaskWeekMondayHours>
  <RecurringTaskWeekSaturdayHours>1</RecurringTaskWeekSaturdayHours>
  <RecurringTaskWeekSundayHours>1</RecurringTaskWeekSundayHours>
  <RecurringTaskWeekThursdayHours>1</RecurringTaskWeekThursdayHours>
  <RecurringTaskWeekTuesdayHours>1</RecurringTaskWeekTuesdayHours>
  <RecurringTaskWeekWednesdayHours>1</RecurringTaskWeekWednesdayHours>
  <RecurringTaskYearAprilHours>1</RecurringTaskYearAprilHours>
  <RecurringTaskYearAugustHours>1</RecurringTaskYearAugustHours>
  <RecurringTaskYearDecemberHours>1</RecurringTaskYearDecemberHours>
  <RecurringTaskYearFebruaryHours>1</RecurringTaskYearFebruaryHours>
  <RecurringTaskYearJanuaryHours>1</RecurringTaskYearJanuaryHours>
  <RecurringTaskYearJulyHours>1</RecurringTaskYearJulyHours>
  <RecurringTaskYearJuneHours>1</RecurringTaskYearJuneHours>
  <RecurringTaskYearMarchHours>1</RecurringTaskYearMarchHours>
  <RecurringTaskYearMayHours>1</RecurringTaskYearMayHours>
  <RecurringTaskYearNovemberHours>1</RecurringTaskYearNovemberHours>
  <RecurringTaskYearOctoberHours>1</RecurringTaskYearOctoberHours>
  <RecurringTaskYearSeptemberHours>1</RecurringTaskYearSeptemberHours>
  <RecurringTaskYearlyPeriod>Sunday</RecurringTaskYearlyPeriod>
  <RecurringTaskYearlyPeriodOrder>First</RecurringTaskYearlyPeriodOrder>
  <State>Definitive</State>
  <TaskEmployees>
    <TaskEmployee>
      <EmployeeCompanyId>1</EmployeeCompanyId>
      <EmployeeId>1</EmployeeId>
      <EmployeeName>sample 1</EmployeeName>
      <EmployeeNumber>1</EmployeeNumber>
    </TaskEmployee>
    <TaskEmployee>
      <EmployeeCompanyId>1</EmployeeCompanyId>
      <EmployeeId>1</EmployeeId>
      <EmployeeName>sample 1</EmployeeName>
      <EmployeeNumber>1</EmployeeNumber>
    </TaskEmployee>
  </TaskEmployees>
  <TaskId>1</TaskId>
  <TaskType>Day</TaskType>
</Task>