Api Home > WorkItem > GetWatchListByUserId

GET api/V3/WorkItem/GetWatchListByUserId?userId={userId} Returns all user's watched items

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

User id to search on.

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Collection of GridWorkItem
NameDescriptionTypeAdditional information
Title

string

None.

BaseId

globally unique identifier

None.

Id

string

None.

TopParentType

string

None.

Icon

string

None.

Status

string

None.

StatusId

globally unique identifier

None.

Priority

string

None.

AssignedUser

string

None.

AffectedUser

string

None.

CreatedByUser

string

None.

Category

string

None.

Tier

string

None.

LastModified

date

None.

Created

date

None.

ScheduledStartDate

date

None.

ScheduledEndDate

date

None.

WorkItemType

string

None.

IsParent

boolean

None.

ParentWorkItemId

string

None.

ParentWorkItemType

string

None.

Index

integer

None.

SLOInstance

SLOModel

None.

SLOStatus

string

None.

NumericId

integer

None.

LastModifiedAsString

string

None.

LastModifiedAsDatePart

date

None.

CreatedAsString

string

None.

CreatedAsDatePart

date

None.

ScheduledStartDateAsString

string

None.

ScheduledStartDateAsDatePart

date

None.

ScheduledEndDateAsString

string

None.

ScheduledEndDateAsDatePart

date

None.

Decision

string

None.

ReviewId

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Title": "sample string 2",
    "BaseId": "1d5f44c0-6a42-4e36-929d-0d25b0adc9da",
    "Id": "sample string 4",
    "TopParentType": "sample string 5",
    "Icon": "sample string 6",
    "Status": "sample string 7",
    "StatusId": "85425869-5c68-4201-9659-3ac4bc99c879",
    "Priority": "sample string 9",
    "AssignedUser": "sample string 10",
    "AffectedUser": "sample string 11",
    "CreatedByUser": "sample string 12",
    "Category": "sample string 13",
    "Tier": "sample string 14",
    "LastModified": "2019-12-08T01:37:44.684Z",
    "Created": "2019-12-08T01:37:44.684Z",
    "ScheduledStartDate": "2019-12-08T01:37:44.684Z",
    "ScheduledEndDate": "2019-12-08T01:37:44.684Z",
    "WorkItemType": "sample string 17",
    "IsParent": true,
    "ParentWorkItemId": "sample string 19",
    "ParentWorkItemType": "sample string 20",
    "Index": 21,
    "SLOInstance": {
      "Status": "sample string 1",
      "DisplayName": "sample string 2",
      "Time": {
        "Hours": 1,
        "Minutes": 2,
        "Seconds": 3
      },
      "WarningDate": "sample string 3",
      "ServerDatetimeNow": "sample string 4"
    },
    "SLOStatus": "sample string 22",
    "NumericId": 4,
    "LastModifiedAsString": "2019-12-08T01:37:44.684Z",
    "LastModifiedAsDatePart": "2019-12-08T00:00:00.000Z",
    "CreatedAsString": "2019-12-08T01:37:44.684Z",
    "CreatedAsDatePart": "2019-12-08T00:00:00.000Z",
    "ScheduledStartDateAsString": "2019-12-08T01:37:44.684Z",
    "ScheduledStartDateAsDatePart": "2019-12-08T00:00:00.000Z",
    "ScheduledEndDateAsString": "2019-12-08T01:37:44.684Z",
    "ScheduledEndDateAsDatePart": "2019-12-08T00:00:00.000Z",
    "Decision": "sample string 30",
    "ReviewId": "sample string 31"
  },
  {
    "Title": "sample string 2",
    "BaseId": "1d5f44c0-6a42-4e36-929d-0d25b0adc9da",
    "Id": "sample string 4",
    "TopParentType": "sample string 5",
    "Icon": "sample string 6",
    "Status": "sample string 7",
    "StatusId": "85425869-5c68-4201-9659-3ac4bc99c879",
    "Priority": "sample string 9",
    "AssignedUser": "sample string 10",
    "AffectedUser": "sample string 11",
    "CreatedByUser": "sample string 12",
    "Category": "sample string 13",
    "Tier": "sample string 14",
    "LastModified": "2019-12-08T01:37:44.684Z",
    "Created": "2019-12-08T01:37:44.684Z",
    "ScheduledStartDate": "2019-12-08T01:37:44.684Z",
    "ScheduledEndDate": "2019-12-08T01:37:44.684Z",
    "WorkItemType": "sample string 17",
    "IsParent": true,
    "ParentWorkItemId": "sample string 19",
    "ParentWorkItemType": "sample string 20",
    "Index": 21,
    "SLOInstance": {
      "Status": "sample string 1",
      "DisplayName": "sample string 2",
      "Time": {
        "Hours": 1,
        "Minutes": 2,
        "Seconds": 3
      },
      "WarningDate": "sample string 3",
      "ServerDatetimeNow": "sample string 4"
    },
    "SLOStatus": "sample string 22",
    "NumericId": 4,
    "LastModifiedAsString": "2019-12-08T01:37:44.684Z",
    "LastModifiedAsDatePart": "2019-12-08T00:00:00.000Z",
    "CreatedAsString": "2019-12-08T01:37:44.684Z",
    "CreatedAsDatePart": "2019-12-08T00:00:00.000Z",
    "ScheduledStartDateAsString": "2019-12-08T01:37:44.684Z",
    "ScheduledStartDateAsDatePart": "2019-12-08T00:00:00.000Z",
    "ScheduledEndDateAsString": "2019-12-08T01:37:44.684Z",
    "ScheduledEndDateAsDatePart": "2019-12-08T00:00:00.000Z",
    "Decision": "sample string 30",
    "ReviewId": "sample string 31"
  }
]

application/xml, text/xml

Sample:
<ArrayOfGridWorkItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cireson.ServiceManager.WebConsole.ViewModels">
  <GridWorkItem>
    <AffectedUser>sample string 11</AffectedUser>
    <AssignedUser>sample string 10</AssignedUser>
    <BaseId>1d5f44c0-6a42-4e36-929d-0d25b0adc9da</BaseId>
    <Category>sample string 13</Category>
    <Created>2019-12-08T01:37:44.6843929+00:00</Created>
    <CreatedAsDatePart>2019-12-08T00:00:00+00:00</CreatedAsDatePart>
    <CreatedAsString>2019-12-08T01:37:44.684</CreatedAsString>
    <CreatedByUser>sample string 12</CreatedByUser>
    <Decision>sample string 30</Decision>
    <Icon>sample string 6</Icon>
    <Id>sample string 4</Id>
    <Identity>1</Identity>
    <Index>21</Index>
    <IsParent>true</IsParent>
    <LastModified>2019-12-08T01:37:44.6843929+00:00</LastModified>
    <LastModifiedAsDatePart>2019-12-08T00:00:00+00:00</LastModifiedAsDatePart>
    <LastModifiedAsString>2019-12-08T01:37:44.684</LastModifiedAsString>
    <NumericId>4</NumericId>
    <ParentWorkItemId>sample string 19</ParentWorkItemId>
    <ParentWorkItemType>sample string 20</ParentWorkItemType>
    <Priority>sample string 9</Priority>
    <ReviewId>sample string 31</ReviewId>
    <SLOInstance xmlns:d3p1="http://schemas.datacontract.org/2004/07/Cireson.ServiceManager.Domain.Objects">
      <d3p1:DisplayName>sample string 2</d3p1:DisplayName>
      <d3p1:ServerDatetimeNow>sample string 4</d3p1:ServerDatetimeNow>
      <d3p1:Status>sample string 1</d3p1:Status>
      <d3p1:Time>
        <d3p1:Hours>1</d3p1:Hours>
        <d3p1:Minutes>2</d3p1:Minutes>
        <d3p1:Seconds>3</d3p1:Seconds>
      </d3p1:Time>
      <d3p1:WarningDate>sample string 3</d3p1:WarningDate>
    </SLOInstance>
    <SLOStatus>sample string 22</SLOStatus>
    <ScheduledEndDate>2019-12-08T01:37:44.6843929+00:00</ScheduledEndDate>
    <ScheduledEndDateAsDatePart>2019-12-08T00:00:00+00:00</ScheduledEndDateAsDatePart>
    <ScheduledEndDateAsString>2019-12-08T01:37:44.684</ScheduledEndDateAsString>
    <ScheduledStartDate>2019-12-08T01:37:44.6843929+00:00</ScheduledStartDate>
    <ScheduledStartDateAsDatePart>2019-12-08T00:00:00+00:00</ScheduledStartDateAsDatePart>
    <ScheduledStartDateAsString>2019-12-08T01:37:44.684</ScheduledStartDateAsString>
    <Status>sample string 7</Status>
    <StatusId>85425869-5c68-4201-9659-3ac4bc99c879</StatusId>
    <Tier>sample string 14</Tier>
    <Title>sample string 2</Title>
    <TopParentType>sample string 5</TopParentType>
    <WorkItemType>sample string 17</WorkItemType>
  </GridWorkItem>
  <GridWorkItem>
    <AffectedUser>sample string 11</AffectedUser>
    <AssignedUser>sample string 10</AssignedUser>
    <BaseId>1d5f44c0-6a42-4e36-929d-0d25b0adc9da</BaseId>
    <Category>sample string 13</Category>
    <Created>2019-12-08T01:37:44.6843929+00:00</Created>
    <CreatedAsDatePart>2019-12-08T00:00:00+00:00</CreatedAsDatePart>
    <CreatedAsString>2019-12-08T01:37:44.684</CreatedAsString>
    <CreatedByUser>sample string 12</CreatedByUser>
    <Decision>sample string 30</Decision>
    <Icon>sample string 6</Icon>
    <Id>sample string 4</Id>
    <Identity>1</Identity>
    <Index>21</Index>
    <IsParent>true</IsParent>
    <LastModified>2019-12-08T01:37:44.6843929+00:00</LastModified>
    <LastModifiedAsDatePart>2019-12-08T00:00:00+00:00</LastModifiedAsDatePart>
    <LastModifiedAsString>2019-12-08T01:37:44.684</LastModifiedAsString>
    <NumericId>4</NumericId>
    <ParentWorkItemId>sample string 19</ParentWorkItemId>
    <ParentWorkItemType>sample string 20</ParentWorkItemType>
    <Priority>sample string 9</Priority>
    <ReviewId>sample string 31</ReviewId>
    <SLOInstance xmlns:d3p1="http://schemas.datacontract.org/2004/07/Cireson.ServiceManager.Domain.Objects">
      <d3p1:DisplayName>sample string 2</d3p1:DisplayName>
      <d3p1:ServerDatetimeNow>sample string 4</d3p1:ServerDatetimeNow>
      <d3p1:Status>sample string 1</d3p1:Status>
      <d3p1:Time>
        <d3p1:Hours>1</d3p1:Hours>
        <d3p1:Minutes>2</d3p1:Minutes>
        <d3p1:Seconds>3</d3p1:Seconds>
      </d3p1:Time>
      <d3p1:WarningDate>sample string 3</d3p1:WarningDate>
    </SLOInstance>
    <SLOStatus>sample string 22</SLOStatus>
    <ScheduledEndDate>2019-12-08T01:37:44.6843929+00:00</ScheduledEndDate>
    <ScheduledEndDateAsDatePart>2019-12-08T00:00:00+00:00</ScheduledEndDateAsDatePart>
    <ScheduledEndDateAsString>2019-12-08T01:37:44.684</ScheduledEndDateAsString>
    <ScheduledStartDate>2019-12-08T01:37:44.6843929+00:00</ScheduledStartDate>
    <ScheduledStartDateAsDatePart>2019-12-08T00:00:00+00:00</ScheduledStartDateAsDatePart>
    <ScheduledStartDateAsString>2019-12-08T01:37:44.684</ScheduledStartDateAsString>
    <Status>sample string 7</Status>
    <StatusId>85425869-5c68-4201-9659-3ac4bc99c879</StatusId>
    <Tier>sample string 14</Tier>
    <Title>sample string 2</Title>
    <TopParentType>sample string 5</TopParentType>
    <WorkItemType>sample string 17</WorkItemType>
  </GridWorkItem>
</ArrayOfGridWorkItem>