GET api/DashBoard/GetAllPendingTasksOfLoggedInUser_FromAPI?userId={userId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of TaskAPIView
NameDescriptionTypeAdditional information
ProjectImage

string

None.

ProjectName

string

None.

LoggedInUserTaskCount

integer

None.

ProjectId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ProjectImage": "sample string 1",
    "ProjectName": "sample string 2",
    "LoggedInUserTaskCount": 3,
    "ProjectId": 4
  },
  {
    "ProjectImage": "sample string 1",
    "ProjectName": "sample string 2",
    "LoggedInUserTaskCount": 3,
    "ProjectId": 4
  }
]

application/xml, text/xml

Sample:
<ArrayOfTaskAPIView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpmNew.Model.ViewModel">
  <TaskAPIView>
    <LoggedInUserTaskCount>3</LoggedInUserTaskCount>
    <ProjectId>4</ProjectId>
    <ProjectImage>sample string 1</ProjectImage>
    <ProjectName>sample string 2</ProjectName>
  </TaskAPIView>
  <TaskAPIView>
    <LoggedInUserTaskCount>3</LoggedInUserTaskCount>
    <ProjectId>4</ProjectId>
    <ProjectImage>sample string 1</ProjectImage>
    <ProjectName>sample string 2</ProjectName>
  </TaskAPIView>
</ArrayOfTaskAPIView>