GET api/Projects?search={search}&lifeCylce={lifeCylce}&withTasks={withTasks}&userDefinedCustomers={userDefinedCustomers}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
search

string

None.

lifeCylce

integer

Default value is 6

withTasks

boolean

Default value is True

userDefinedCustomers

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

Collection of ReportProjectDto
NameDescriptionTypeAdditional information
Customer

ReportCustomerDto

None.

ProjectCustomerId

globally unique identifier

None.

ReportingDate

date

None.

ProjectId

globally unique identifier

None.

ParentProjectId

globally unique identifier

None.

ProjectOwnerId

globally unique identifier

None.

ProjectOwner

string

None.

Currency

string

None.

ProjectPricePerHour

decimal number

None.

Vat

decimal number

None.

TextColor

integer

None.

BackgroundColor

integer

None.

ProjectName

string

None.

ProjectDescription

string

None.

ProjectLifeCycle

ProjectLifeCycle

None.

IsProjectTimeLimited

boolean

None.

StartDate

date

None.

EndDate

date

None.

TaskList

Collection of ReportTaskDto

None.

ProjectAvailability

ProjectAvailability

None.

UserRelations

Collection of ReportProjectUserDto

None.

ProjectMaxWorkingTime

decimal number

None.

IsProjectMaxWorkingTimeExceedable

boolean

None.

RoundPrecisionInMinutes

integer

None.

Rounding

Rounding

None.

YellowTrafficLight

decimal number

None.

RedTrafficLight

decimal number

None.

ProjectChargingJourneyTime

decimal number

None.

ManualProjectState

ProjectState

None.

ProjectStateDescription

string

None.

DontInheritCommonTasks

boolean

None.

IsOrderBased

boolean

None.

Account

string

None.

CostCenter

string

None.

OrderType

OrderType

None.

ContractId

string

None.

PlaceOfServiceProvision

string

None.

IsProjectTimeSet

boolean

None.

SharedPool

decimal number

None.

PrivatePool

decimal number

None.

ScheduledWork

decimal number

None.

HoursWorked

decimal number

None.

AvailableWork

decimal number

None.

FurtherAccountingDetails

string

None.

ProjectCode

string

None.

IsProjectInCoverage

boolean

None.

DefaultTask

ReportTaskDto

None.

IsDescriptionMandatory

boolean

None.

ShowAccountingDetails

boolean

None.

CreatedBy

globally unique identifier

None.

Created

date

None.

LastUpdateBy

globally unique identifier

None.

LastUpdate

date

None.

CreatedByUser

string

None.

LastUpdateByUser

string

None.

Id

globally unique identifier

None.

IsNew

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  null,
  {
    "$id": "1",
    "Customer": null,
    "ProjectCustomerId": "79050e1a-8d35-41e4-b827-6047a0212192",
    "ReportingDate": "2025-04-27T23:28:30.3957823+02:00",
    "ProjectId": "65408461-d7cf-4054-a08e-d3c6eac5f9f6",
    "ParentProjectId": "c04831e5-d2d9-4b1e-ac1c-dac574cef609",
    "ProjectOwnerId": "6bb9bdf2-b9a1-4c2d-a50b-9b6cb015a564",
    "Currency": "sample string 5",
    "ProjectPricePerHour": 6.1,
    "Vat": 7.1,
    "TextColor": 8,
    "BackgroundColor": 9,
    "ProjectName": "sample string 10",
    "ProjectDescription": "sample string 11",
    "ProjectLifeCycle": 0,
    "IsProjectTimeLimited": true,
    "StartDate": "2025-04-27T23:28:30.3957823+02:00",
    "EndDate": "2025-04-27T23:28:30.3957823+02:00",
    "TaskList": [
      null,
      {
        "$id": "2",
        "ProjectId": "2bb03f93-d0d7-4cac-8b28-38c17e518d92",
        "TaskId": "c5c33722-a0e7-4596-a108-dc7bb4d3b55a",
        "TaskNameId": "sample string 3",
        "TaskDescription": "sample string 4",
        "Usage": 0,
        "CostFactor": 5.1,
        "TaskCode": "sample string 6",
        "CreatedBy": "845ba4c6-33b9-4f16-8364-4925555c8bc9",
        "Created": "2025-04-27T23:28:30.3957823+02:00",
        "LastUpdateBy": "d901cf6a-02d0-4807-a209-f9cd053811fb",
        "LastUpdate": "2025-04-27T23:28:30.3957823+02:00",
        "CreatedByUser": "sample string 15",
        "LastUpdateByUser": "sample string 16",
        "Id": "2b88b8dc-27a1-45ad-a245-281991274586",
        "IsNew": true,
        "WorktimeFactor": 7.1,
        "WorkTypeNo": "sample string 8",
        "OtherTypeNo": "sample string 9",
        "WorkTimeRestriction": 0,
        "MaxTaskWorkingTimePerDay": 1.1,
        "TaskLifeCycle": 0,
        "TaskBackgroundColor": 10
      }
    ],
    "ProjectAvailability": 0,
    "UserRelations": [
      null,
      {
        "$id": "3",
        "UserProjectId": "1166cd5f-4389-4305-87a2-b60b387c6777",
        "ProjectUserId": "4bc670ad-6fa9-4afb-acfa-5594163896ad",
        "IsAllowedToUseProject": true,
        "UserPricePerHour": 1.1,
        "UserMaxWorkingTime": 1.1,
        "UserCustomerId": "d0923108-d6bb-46a5-afc7-5ca975297568",
        "UserChargingJourneyTime": 1.1,
        "CreatedBy": "0acdac6e-3228-469f-a23c-5a3778806066",
        "Created": "2025-04-27T23:28:30.3957823+02:00",
        "LastUpdateBy": "f56f11c3-e2ec-4290-8d55-600181626091",
        "LastUpdate": "2025-04-27T23:28:30.3957823+02:00",
        "CreatedByUser": "sample string 7",
        "LastUpdateByUser": "sample string 8",
        "Id": "14de908e-62a8-4434-bf70-2e2677076d8a",
        "IsNew": true
      }
    ],
    "ProjectMaxWorkingTime": 1.1,
    "IsProjectMaxWorkingTimeExceedable": true,
    "RoundPrecisionInMinutes": 14,
    "Rounding": 0,
    "YellowTrafficLight": 15.1,
    "RedTrafficLight": 16.1,
    "ProjectChargingJourneyTime": 1.1,
    "ManualProjectState": 0,
    "ProjectStateDescription": "sample string 17",
    "DontInheritCommonTasks": true,
    "IsOrderBased": true,
    "Account": "sample string 20",
    "CostCenter": "sample string 21",
    "OrderType": 0,
    "ContractId": "sample string 22",
    "PlaceOfServiceProvision": "sample string 23",
    "IsProjectTimeSet": true,
    "SharedPool": 25.1,
    "PrivatePool": 26.1,
    "ScheduledWork": 27.1,
    "HoursWorked": 28.1,
    "AvailableWork": 29.1,
    "FurtherAccountingDetails": "sample string 30",
    "ProjectCode": "sample string 31",
    "IsProjectInCoverage": true,
    "CreatedBy": "55f13057-4512-42b1-b267-ba78689a0ef6",
    "Created": "2025-04-27T23:28:30.3957823+02:00",
    "LastUpdateBy": "24229215-fd47-43a1-ab91-7ee608666edc",
    "LastUpdate": "2025-04-27T23:28:30.3957823+02:00",
    "CreatedByUser": "sample string 39",
    "LastUpdateByUser": "sample string 40",
    "Id": "228dc520-ff52-4b86-a526-dc2204e13c50",
    "IsNew": true,
    "ProjectOwner": "sample string 4",
    "DefaultTask": {
      "$ref": "2"
    },
    "IsDescriptionMandatory": true,
    "ShowAccountingDetails": true
  }
]

text/html

Sample:
[null,{"$id":"1","Customer":null,"ProjectCustomerId":"79050e1a-8d35-41e4-b827-6047a0212192","ReportingDate":"2025-04-27T23:28:30.3957823+02:00","ProjectId":"65408461-d7cf-4054-a08e-d3c6eac5f9f6","ParentProjectId":"c04831e5-d2d9-4b1e-ac1c-dac574cef609","ProjectOwnerId":"6bb9bdf2-b9a1-4c2d-a50b-9b6cb015a564","Currency":"sample string 5","ProjectPricePerHour":6.1,"Vat":7.1,"TextColor":8,"BackgroundColor":9,"ProjectName":"sample string 10","ProjectDescription":"sample string 11","ProjectLifeCycle":0,"IsProjectTimeLimited":true,"StartDate":"2025-04-27T23:28:30.3957823+02:00","EndDate":"2025-04-27T23:28:30.3957823+02:00","TaskList":[null,{"$id":"2","ProjectId":"2bb03f93-d0d7-4cac-8b28-38c17e518d92","TaskId":"c5c33722-a0e7-4596-a108-dc7bb4d3b55a","TaskNameId":"sample string 3","TaskDescription":"sample string 4","Usage":0,"CostFactor":5.1,"TaskCode":"sample string 6","CreatedBy":"845ba4c6-33b9-4f16-8364-4925555c8bc9","Created":"2025-04-27T23:28:30.3957823+02:00","LastUpdateBy":"d901cf6a-02d0-4807-a209-f9cd053811fb","LastUpdate":"2025-04-27T23:28:30.3957823+02:00","CreatedByUser":"sample string 15","LastUpdateByUser":"sample string 16","Id":"2b88b8dc-27a1-45ad-a245-281991274586","IsNew":true,"WorktimeFactor":7.1,"WorkTypeNo":"sample string 8","OtherTypeNo":"sample string 9","WorkTimeRestriction":0,"MaxTaskWorkingTimePerDay":1.1,"TaskLifeCycle":0,"TaskBackgroundColor":10}],"ProjectAvailability":0,"UserRelations":[null,{"$id":"3","UserProjectId":"1166cd5f-4389-4305-87a2-b60b387c6777","ProjectUserId":"4bc670ad-6fa9-4afb-acfa-5594163896ad","IsAllowedToUseProject":true,"UserPricePerHour":1.1,"UserMaxWorkingTime":1.1,"UserCustomerId":"d0923108-d6bb-46a5-afc7-5ca975297568","UserChargingJourneyTime":1.1,"CreatedBy":"0acdac6e-3228-469f-a23c-5a3778806066","Created":"2025-04-27T23:28:30.3957823+02:00","LastUpdateBy":"f56f11c3-e2ec-4290-8d55-600181626091","LastUpdate":"2025-04-27T23:28:30.3957823+02:00","CreatedByUser":"sample string 7","LastUpdateByUser":"sample string 8","Id":"14de908e-62a8-4434-bf70-2e2677076d8a","IsNew":true}],"ProjectMaxWorkingTime":1.1,"IsProjectMaxWorkingTimeExceedable":true,"RoundPrecisionInMinutes":14,"Rounding":0,"YellowTrafficLight":15.1,"RedTrafficLight":16.1,"ProjectChargingJourneyTime":1.1,"ManualProjectState":0,"ProjectStateDescription":"sample string 17","DontInheritCommonTasks":true,"IsOrderBased":true,"Account":"sample string 20","CostCenter":"sample string 21","OrderType":0,"ContractId":"sample string 22","PlaceOfServiceProvision":"sample string 23","IsProjectTimeSet":true,"SharedPool":25.1,"PrivatePool":26.1,"ScheduledWork":27.1,"HoursWorked":28.1,"AvailableWork":29.1,"FurtherAccountingDetails":"sample string 30","ProjectCode":"sample string 31","IsProjectInCoverage":true,"CreatedBy":"55f13057-4512-42b1-b267-ba78689a0ef6","Created":"2025-04-27T23:28:30.3957823+02:00","LastUpdateBy":"24229215-fd47-43a1-ab91-7ee608666edc","LastUpdate":"2025-04-27T23:28:30.3957823+02:00","CreatedByUser":"sample string 39","LastUpdateByUser":"sample string 40","Id":"228dc520-ff52-4b86-a526-dc2204e13c50","IsNew":true,"ProjectOwner":"sample string 4","DefaultTask":{"$ref":"2"},"IsDescriptionMandatory":true,"ShowAccountingDetails":true}]

application/xml, text/xml

Sample:
<ArrayOfReportProjectDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TimePunch.Core.Services.ReportingService.Dto">
  <ReportProjectDto i:nil="true" />
  <ReportProjectDto z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
    <Id>228dc520-ff52-4b86-a526-dc2204e13c50</Id>
    <IsNew>true</IsNew>
    <Created>2025-04-27T23:28:30.3957823+02:00</Created>
    <CreatedBy>55f13057-4512-42b1-b267-ba78689a0ef6</CreatedBy>
    <CreatedByUser>sample string 39</CreatedByUser>
    <LastUpdate>2025-04-27T23:28:30.3957823+02:00</LastUpdate>
    <LastUpdateBy>24229215-fd47-43a1-ab91-7ee608666edc</LastUpdateBy>
    <LastUpdateByUser>sample string 40</LastUpdateByUser>
    <Account>sample string 20</Account>
    <AvailableWork>29.1</AvailableWork>
    <BackgroundColor>9</BackgroundColor>
    <ContractId>sample string 22</ContractId>
    <CostCenter>sample string 21</CostCenter>
    <Currency>sample string 5</Currency>
    <Customer i:nil="true" />
    <DontInheritCommonTasks>true</DontInheritCommonTasks>
    <EndDate>2025-04-27T23:28:30.3957823+02:00</EndDate>
    <FurtherAccountingDetails>sample string 30</FurtherAccountingDetails>
    <HoursWorked>28.1</HoursWorked>
    <IsOrderBased>true</IsOrderBased>
    <IsProjectInCoverage>true</IsProjectInCoverage>
    <IsProjectMaxWorkingTimeExceedable>true</IsProjectMaxWorkingTimeExceedable>
    <IsProjectTimeLimited>true</IsProjectTimeLimited>
    <IsProjectTimeSet>true</IsProjectTimeSet>
    <ManualProjectState>Calculated</ManualProjectState>
    <OrderType>Undefined</OrderType>
    <ParentProjectId>c04831e5-d2d9-4b1e-ac1c-dac574cef609</ParentProjectId>
    <PlaceOfServiceProvision>sample string 23</PlaceOfServiceProvision>
    <PrivatePool>26.1</PrivatePool>
    <ProjectAvailability>AvailableForAll</ProjectAvailability>
    <ProjectChargingJourneyTime>1.1</ProjectChargingJourneyTime>
    <ProjectCode>sample string 31</ProjectCode>
    <ProjectCustomerId>79050e1a-8d35-41e4-b827-6047a0212192</ProjectCustomerId>
    <ProjectDescription>sample string 11</ProjectDescription>
    <ProjectId>65408461-d7cf-4054-a08e-d3c6eac5f9f6</ProjectId>
    <ProjectLifeCycle>Undefined</ProjectLifeCycle>
    <ProjectMaxWorkingTime>1.1</ProjectMaxWorkingTime>
    <ProjectName>sample string 10</ProjectName>
    <ProjectOwnerId>6bb9bdf2-b9a1-4c2d-a50b-9b6cb015a564</ProjectOwnerId>
    <ProjectPricePerHour>6.1</ProjectPricePerHour>
    <ProjectStateDescription>sample string 17</ProjectStateDescription>
    <RedTrafficLight>16.1</RedTrafficLight>
    <ReportingDate>2025-04-27T23:28:30.3957823+02:00</ReportingDate>
    <RoundPrecisionInMinutes>14</RoundPrecisionInMinutes>
    <Rounding>NotRounded</Rounding>
    <ScheduledWork>27.1</ScheduledWork>
    <SharedPool>25.1</SharedPool>
    <StartDate>2025-04-27T23:28:30.3957823+02:00</StartDate>
    <TaskList>
      <ReportTaskDto i:nil="true" />
      <ReportTaskDto z:Id="i2">
        <Id>2b88b8dc-27a1-45ad-a245-281991274586</Id>
        <IsNew>true</IsNew>
        <Created>2025-04-27T23:28:30.3957823+02:00</Created>
        <CreatedBy>845ba4c6-33b9-4f16-8364-4925555c8bc9</CreatedBy>
        <CreatedByUser>sample string 15</CreatedByUser>
        <LastUpdate>2025-04-27T23:28:30.3957823+02:00</LastUpdate>
        <LastUpdateBy>d901cf6a-02d0-4807-a209-f9cd053811fb</LastUpdateBy>
        <LastUpdateByUser>sample string 16</LastUpdateByUser>
        <CostFactor>5.1</CostFactor>
        <ProjectId>2bb03f93-d0d7-4cac-8b28-38c17e518d92</ProjectId>
        <TaskCode>sample string 6</TaskCode>
        <TaskDescription>sample string 4</TaskDescription>
        <TaskId>c5c33722-a0e7-4596-a108-dc7bb4d3b55a</TaskId>
        <TaskNameId>sample string 3</TaskNameId>
        <Usage>WorkTime</Usage>
        <OtherTypeNo>sample string 9</OtherTypeNo>
        <WorkTypeNo>sample string 8</WorkTypeNo>
        <WorktimeFactor>7.1</WorktimeFactor>
        <MaxTaskWorkingTimePerDay>1.1</MaxTaskWorkingTimePerDay>
        <WorkTimeRestriction>NoRestriction</WorkTimeRestriction>
        <TaskLifeCycle>Undefined</TaskLifeCycle>
        <TaskBackgroundColor>10</TaskBackgroundColor>
      </ReportTaskDto>
    </TaskList>
    <TextColor>8</TextColor>
    <UserRelations>
      <ReportProjectUserDto i:nil="true" />
      <ReportProjectUserDto z:Id="i3">
        <Id>14de908e-62a8-4434-bf70-2e2677076d8a</Id>
        <IsNew>true</IsNew>
        <Created>2025-04-27T23:28:30.3957823+02:00</Created>
        <CreatedBy>0acdac6e-3228-469f-a23c-5a3778806066</CreatedBy>
        <CreatedByUser>sample string 7</CreatedByUser>
        <LastUpdate>2025-04-27T23:28:30.3957823+02:00</LastUpdate>
        <LastUpdateBy>f56f11c3-e2ec-4290-8d55-600181626091</LastUpdateBy>
        <LastUpdateByUser>sample string 8</LastUpdateByUser>
        <IsAllowedToUseProject>true</IsAllowedToUseProject>
        <ProjectUserId>4bc670ad-6fa9-4afb-acfa-5594163896ad</ProjectUserId>
        <UserChargingJourneyTime>1.1</UserChargingJourneyTime>
        <UserCustomerId>d0923108-d6bb-46a5-afc7-5ca975297568</UserCustomerId>
        <UserMaxWorkingTime>1.1</UserMaxWorkingTime>
        <UserPricePerHour>1.1</UserPricePerHour>
        <UserProjectId>1166cd5f-4389-4305-87a2-b60b387c6777</UserProjectId>
      </ReportProjectUserDto>
    </UserRelations>
    <Vat>7.1</Vat>
    <YellowTrafficLight>15.1</YellowTrafficLight>
    <ProjectOwner>sample string 4</ProjectOwner>
    <DefaultTask z:Ref="i2" />
    <IsDescriptionMandatory>true</IsDescriptionMandatory>
    <ShowAccountingDetails>true</ShowAccountingDetails>
  </ReportProjectDto>
</ArrayOfReportProjectDto>