GET api/consumer/v1/workspaces/{workspaceId}/jobs/{jobId}/lists

Get lists by job

Request Information

URI Parameters

NameDescriptionTypeAdditional information
workspaceId

Workspace ID

integer

Required

jobId

Job ID

integer

Required

Body Parameters

None

Response Information

Resource Description

List of found jobs

Collection of WorkspaceJobListDto
NameDescriptionTypeAdditional information
Job

Job information

WorkspaceJobMinDto

None

Position

Sort order

integer

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:
[
  {
    "Job": {
      "JobType": {
        "Code": "sample string 1",
        "Description": "sample string 2",
        "Id": 3
      },
      "IsArchived": true,
      "Code": "sample string 2",
      "Description": "sample string 3",
      "Id": 4
    },
    "Position": 1,
    "Code": "sample string 2",
    "Description": "sample string 3",
    "IsActive": true,
    "Permissions": {
      "CanModify": true,
      "CanDelete": true
    },
    "CreationDate": "2024-12-21T16:53:23.9565316+01:00",
    "CreatedBy": {
      "Login": "sample string 1",
      "FullName": "sample string 2",
      "Avatar": "sample string 3",
      "Id": 4
    },
    "LastUpdateDate": "2024-12-21T16:53:23.9565316+01:00",
    "LastUpdatedBy": {
      "Login": "sample string 1",
      "FullName": "sample string 2",
      "Avatar": "sample string 3",
      "Id": 4
    },
    "Id": 5
  },
  {
    "Job": {
      "JobType": {
        "Code": "sample string 1",
        "Description": "sample string 2",
        "Id": 3
      },
      "IsArchived": true,
      "Code": "sample string 2",
      "Description": "sample string 3",
      "Id": 4
    },
    "Position": 1,
    "Code": "sample string 2",
    "Description": "sample string 3",
    "IsActive": true,
    "Permissions": {
      "CanModify": true,
      "CanDelete": true
    },
    "CreationDate": "2024-12-21T16:53:23.9565316+01:00",
    "CreatedBy": {
      "Login": "sample string 1",
      "FullName": "sample string 2",
      "Avatar": "sample string 3",
      "Id": 4
    },
    "LastUpdateDate": "2024-12-21T16:53:23.9565316+01:00",
    "LastUpdatedBy": {
      "Login": "sample string 1",
      "FullName": "sample string 2",
      "Avatar": "sample string 3",
      "Id": 4
    },
    "Id": 5
  }
]

application/xml, text/xml

Sample:
<ArrayOfWorkspaceJobListDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oryx.Web.Api.Models">
  <WorkspaceJobListDto>
    <Id>5</Id>
    <CreatedBy>
      <Id>4</Id>
      <Avatar>sample string 3</Avatar>
      <FullName>sample string 2</FullName>
      <Login>sample string 1</Login>
    </CreatedBy>
    <CreationDate>2024-12-21T16:53:23.9565316+01:00</CreationDate>
    <LastUpdateDate>2024-12-21T16:53:23.9565316+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 2</Code>
    <Description>sample string 3</Description>
    <IsActive>true</IsActive>
    <Permissions>
      <CanDelete>true</CanDelete>
      <CanModify>true</CanModify>
    </Permissions>
    <Job>
      <Id>4</Id>
      <Code>sample string 2</Code>
      <Description>sample string 3</Description>
      <IsArchived>true</IsArchived>
      <JobType>
        <Id>3</Id>
        <Code>sample string 1</Code>
        <Description>sample string 2</Description>
      </JobType>
    </Job>
    <Position>1</Position>
  </WorkspaceJobListDto>
  <WorkspaceJobListDto>
    <Id>5</Id>
    <CreatedBy>
      <Id>4</Id>
      <Avatar>sample string 3</Avatar>
      <FullName>sample string 2</FullName>
      <Login>sample string 1</Login>
    </CreatedBy>
    <CreationDate>2024-12-21T16:53:23.9565316+01:00</CreationDate>
    <LastUpdateDate>2024-12-21T16:53:23.9565316+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 2</Code>
    <Description>sample string 3</Description>
    <IsActive>true</IsActive>
    <Permissions>
      <CanDelete>true</CanDelete>
      <CanModify>true</CanModify>
    </Permissions>
    <Job>
      <Id>4</Id>
      <Code>sample string 2</Code>
      <Description>sample string 3</Description>
      <IsArchived>true</IsArchived>
      <JobType>
        <Id>3</Id>
        <Code>sample string 1</Code>
        <Description>sample string 2</Description>
      </JobType>
    </Job>
    <Position>1</Position>
  </WorkspaceJobListDto>
</ArrayOfWorkspaceJobListDto>