GET api/consumer/v1/customers/{customerId}/tasks

Get all Task by Customer

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerId

Id of the Customer

integer

Required

Body Parameters

None

Response Information

Resource Description

Customer Task

Collection of TaskDto
NameDescriptionTypeAdditional information
TaskType

Type of task

TaskTypeMinDto

None

Commercial

Commercial of the task

UserMinDto

None

Pm

Pm of the task

UserMinDto

None

OrganizationalUnit

User organizational unit

OrganizationalUnitMinDto

None

PlannedStartDate

Planned start date of task

date

None

PlannedEndDate

Planned end date of the task

date

None

ActualStartDate

Actual start date of the task

date

None

ActualEndDate

Actual end date of the task

date

None

Amount

Amount of the task

decimal number

None

Notes

Notes of the task

string

None

UseSubTasks

Use sub task or not

boolean

None

IsLight

Yes if task is light

boolean

None

IsClosed

Yes if task is closed

boolean

None

Attachements

Attachements of the task

integer

None

IsAutoManpower

Yes if is auto manpower

boolean

None

Code

The short code of the element

string

None

Description

The description of the element

string

None

IsActive

True if the element is active, false otherwise

boolean

None

Permissions

Permissions

PermissionDto

None

CreationDate

Creation

date

None

CreatedBy

The user who has made the insert

UserMinDto

None

LastUpdateDate

Date of the last update

date

None

LastUpdatedBy

The user who has made the last update

UserMinDto

None

Id

Unique ID

integer

None

Response Formats

application/json, text/json

Sample:
[
  {
    "TaskType": {
      "Code": "sample string 1",
      "Description": "sample string 2",
      "Id": 3
    },
    "Commercial": {
      "Login": "sample string 1",
      "FullName": "sample string 2",
      "Avatar": "sample string 3",
      "Id": 4
    },
    "Pm": {
      "Login": "sample string 1",
      "FullName": "sample string 2",
      "Avatar": "sample string 3",
      "Id": 4
    },
    "OrganizationalUnit": {
      "Code": "sample string 1",
      "Description": "sample string 2",
      "Id": 3
    },
    "PlannedStartDate": "2024-12-30T18:22:32.2409974+01:00",
    "PlannedEndDate": "2024-12-30T18:22:32.2409974+01:00",
    "ActualStartDate": "2024-12-30T18:22:32.2409974+01:00",
    "ActualEndDate": "2024-12-30T18:22:32.2409974+01:00",
    "Amount": 1.0,
    "Notes": "sample string 2",
    "UseSubTasks": true,
    "IsLight": true,
    "IsClosed": true,
    "Attachements": 6,
    "IsAutoManpower": true,
    "Code": "sample string 8",
    "Description": "sample string 9",
    "IsActive": true,
    "Permissions": {
      "CanModify": true,
      "CanDelete": true
    },
    "CreationDate": "2024-12-30T18:22:32.2409974+01:00",
    "CreatedBy": {
      "Login": "sample string 1",
      "FullName": "sample string 2",
      "Avatar": "sample string 3",
      "Id": 4
    },
    "LastUpdateDate": "2024-12-30T18:22:32.2409974+01:00",
    "LastUpdatedBy": {
      "Login": "sample string 1",
      "FullName": "sample string 2",
      "Avatar": "sample string 3",
      "Id": 4
    },
    "Id": 11
  },
  {
    "TaskType": {
      "Code": "sample string 1",
      "Description": "sample string 2",
      "Id": 3
    },
    "Commercial": {
      "Login": "sample string 1",
      "FullName": "sample string 2",
      "Avatar": "sample string 3",
      "Id": 4
    },
    "Pm": {
      "Login": "sample string 1",
      "FullName": "sample string 2",
      "Avatar": "sample string 3",
      "Id": 4
    },
    "OrganizationalUnit": {
      "Code": "sample string 1",
      "Description": "sample string 2",
      "Id": 3
    },
    "PlannedStartDate": "2024-12-30T18:22:32.2409974+01:00",
    "PlannedEndDate": "2024-12-30T18:22:32.2409974+01:00",
    "ActualStartDate": "2024-12-30T18:22:32.2409974+01:00",
    "ActualEndDate": "2024-12-30T18:22:32.2409974+01:00",
    "Amount": 1.0,
    "Notes": "sample string 2",
    "UseSubTasks": true,
    "IsLight": true,
    "IsClosed": true,
    "Attachements": 6,
    "IsAutoManpower": true,
    "Code": "sample string 8",
    "Description": "sample string 9",
    "IsActive": true,
    "Permissions": {
      "CanModify": true,
      "CanDelete": true
    },
    "CreationDate": "2024-12-30T18:22:32.2409974+01:00",
    "CreatedBy": {
      "Login": "sample string 1",
      "FullName": "sample string 2",
      "Avatar": "sample string 3",
      "Id": 4
    },
    "LastUpdateDate": "2024-12-30T18:22:32.2409974+01:00",
    "LastUpdatedBy": {
      "Login": "sample string 1",
      "FullName": "sample string 2",
      "Avatar": "sample string 3",
      "Id": 4
    },
    "Id": 11
  }
]

application/xml, text/xml

Sample:
<ArrayOfTaskDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oryx.Web.Api.Models">
  <TaskDto>
    <Id>11</Id>
    <CreatedBy>
      <Id>4</Id>
      <Avatar>sample string 3</Avatar>
      <FullName>sample string 2</FullName>
      <Login>sample string 1</Login>
    </CreatedBy>
    <CreationDate>2024-12-30T18:22:32.2409974+01:00</CreationDate>
    <LastUpdateDate>2024-12-30T18:22:32.2409974+01:00</LastUpdateDate>
    <LastUpdatedBy>
      <Id>4</Id>
      <Avatar>sample string 3</Avatar>
      <FullName>sample string 2</FullName>
      <Login>sample string 1</Login>
    </LastUpdatedBy>
    <Code>sample string 8</Code>
    <Description>sample string 9</Description>
    <IsActive>true</IsActive>
    <Permissions>
      <CanDelete>true</CanDelete>
      <CanModify>true</CanModify>
    </Permissions>
    <ActualEndDate>2024-12-30T18:22:32.2409974+01:00</ActualEndDate>
    <ActualStartDate>2024-12-30T18:22:32.2409974+01:00</ActualStartDate>
    <Amount>1</Amount>
    <Attachements>6</Attachements>
    <Commercial>
      <Id>4</Id>
      <Avatar>sample string 3</Avatar>
      <FullName>sample string 2</FullName>
      <Login>sample string 1</Login>
    </Commercial>
    <IsAutoManpower>true</IsAutoManpower>
    <IsClosed>true</IsClosed>
    <IsLight>true</IsLight>
    <Notes>sample string 2</Notes>
    <OrganizationalUnit>
      <Id>3</Id>
      <Code>sample string 1</Code>
      <Description>sample string 2</Description>
    </OrganizationalUnit>
    <PlannedEndDate>2024-12-30T18:22:32.2409974+01:00</PlannedEndDate>
    <PlannedStartDate>2024-12-30T18:22:32.2409974+01:00</PlannedStartDate>
    <Pm>
      <Id>4</Id>
      <Avatar>sample string 3</Avatar>
      <FullName>sample string 2</FullName>
      <Login>sample string 1</Login>
    </Pm>
    <TaskType>
      <Id>3</Id>
      <Code>sample string 1</Code>
      <Description>sample string 2</Description>
    </TaskType>
    <UseSubTasks>true</UseSubTasks>
  </TaskDto>
  <TaskDto>
    <Id>11</Id>
    <CreatedBy>
      <Id>4</Id>
      <Avatar>sample string 3</Avatar>
      <FullName>sample string 2</FullName>
      <Login>sample string 1</Login>
    </CreatedBy>
    <CreationDate>2024-12-30T18:22:32.2409974+01:00</CreationDate>
    <LastUpdateDate>2024-12-30T18:22:32.2409974+01:00</LastUpdateDate>
    <LastUpdatedBy>
      <Id>4</Id>
      <Avatar>sample string 3</Avatar>
      <FullName>sample string 2</FullName>
      <Login>sample string 1</Login>
    </LastUpdatedBy>
    <Code>sample string 8</Code>
    <Description>sample string 9</Description>
    <IsActive>true</IsActive>
    <Permissions>
      <CanDelete>true</CanDelete>
      <CanModify>true</CanModify>
    </Permissions>
    <ActualEndDate>2024-12-30T18:22:32.2409974+01:00</ActualEndDate>
    <ActualStartDate>2024-12-30T18:22:32.2409974+01:00</ActualStartDate>
    <Amount>1</Amount>
    <Attachements>6</Attachements>
    <Commercial>
      <Id>4</Id>
      <Avatar>sample string 3</Avatar>
      <FullName>sample string 2</FullName>
      <Login>sample string 1</Login>
    </Commercial>
    <IsAutoManpower>true</IsAutoManpower>
    <IsClosed>true</IsClosed>
    <IsLight>true</IsLight>
    <Notes>sample string 2</Notes>
    <OrganizationalUnit>
      <Id>3</Id>
      <Code>sample string 1</Code>
      <Description>sample string 2</Description>
    </OrganizationalUnit>
    <PlannedEndDate>2024-12-30T18:22:32.2409974+01:00</PlannedEndDate>
    <PlannedStartDate>2024-12-30T18:22:32.2409974+01:00</PlannedStartDate>
    <Pm>
      <Id>4</Id>
      <Avatar>sample string 3</Avatar>
      <FullName>sample string 2</FullName>
      <Login>sample string 1</Login>
    </Pm>
    <TaskType>
      <Id>3</Id>
      <Code>sample string 1</Code>
      <Description>sample string 2</Description>
    </TaskType>
    <UseSubTasks>true</UseSubTasks>
  </TaskDto>
</ArrayOfTaskDto>