GET V2/odata/ProjectTask

Gets ProjectTask entities

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of QicsUnity.Api.Areas.V2.Models.ProjectTask
NameDescriptionTypeAdditional information
ProjectTaskId

Gets or sets ProjectTaskId

integer

None.

ProjectId

Gets or sets ProjectId

integer

None.

ProjectName

Gets or sets Project.Name

string

None.

Name

Gets or sets Name

string

None.

Description

Gets or sets Description

string

None.

ItemCompanyId

Gets or sets ItemCompanyId

integer

None.

ItemName

Gets or sets Item.Name

string

None.

ItemCode

Gets or sets Item.Code

string

None.

ItemType

Gets or sets Item.ItemType

QicsUnity.Api.Areas.V2.Models.ItemType

None.

ItemWillBeInvoiced

Gets or sets a value indicating whether Project.ProjectItems.WillBeInvoiced or Item.WillBeInvoiced is true

boolean

None.

IsLeafTask

Gets or sets a value indicating whether IsLeafTask is true

boolean

None.

Priority

Gets or sets task priority

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ProjectTaskId": 1,
    "ProjectId": 2,
    "ProjectName": "sample 3",
    "Name": "sample 4",
    "Description": "sample 5",
    "ItemCompanyId": 1,
    "ItemName": "sample 6",
    "ItemCode": "sample 7",
    "ItemType": 0,
    "ItemWillBeInvoiced": true,
    "IsLeafTask": true,
    "Priority": 1
  },
  {
    "ProjectTaskId": 1,
    "ProjectId": 2,
    "ProjectName": "sample 3",
    "Name": "sample 4",
    "Description": "sample 5",
    "ItemCompanyId": 1,
    "ItemName": "sample 6",
    "ItemCode": "sample 7",
    "ItemType": 0,
    "ItemWillBeInvoiced": true,
    "IsLeafTask": true,
    "Priority": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfProjectTask xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V2.Models">
  <ProjectTask>
    <Description>sample 5</Description>
    <IsLeafTask>true</IsLeafTask>
    <ItemCode>sample 7</ItemCode>
    <ItemCompanyId>1</ItemCompanyId>
    <ItemName>sample 6</ItemName>
    <ItemType>Hours</ItemType>
    <ItemWillBeInvoiced>true</ItemWillBeInvoiced>
    <Name>sample 4</Name>
    <Priority>1</Priority>
    <ProjectId>2</ProjectId>
    <ProjectName>sample 3</ProjectName>
    <ProjectTaskId>1</ProjectTaskId>
  </ProjectTask>
  <ProjectTask>
    <Description>sample 5</Description>
    <IsLeafTask>true</IsLeafTask>
    <ItemCode>sample 7</ItemCode>
    <ItemCompanyId>1</ItemCompanyId>
    <ItemName>sample 6</ItemName>
    <ItemType>Hours</ItemType>
    <ItemWillBeInvoiced>true</ItemWillBeInvoiced>
    <Name>sample 4</Name>
    <Priority>1</Priority>
    <ProjectId>2</ProjectId>
    <ProjectName>sample 3</ProjectName>
    <ProjectTaskId>1</ProjectTaskId>
  </ProjectTask>
</ArrayOfProjectTask>