GET api/Dashboard/GetGoals?employeeId={employeeId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
employeeId

string

Required

Body Parameters

None.

Response Information

Resource Description

EmployeeGoal
NameDescriptionTypeAdditional information
EmployeeId

integer

None.

Goals

Collection of Goal

None.

Response Formats

application/json, text/json

Sample:
{
  "employeeId": 1,
  "goals": [
    {
      "percentage": 1,
      "description": "sample string 2"
    },
    {
      "percentage": 1,
      "description": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<EmployeeGoal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GTI.DW.PeopleProfile.Domain.Models">
  <EmployeeId>1</EmployeeId>
  <Goals>
    <Goal>
      <Description>sample string 2</Description>
      <Percentage>1</Percentage>
    </Goal>
    <Goal>
      <Description>sample string 2</Description>
      <Percentage>1</Percentage>
    </Goal>
  </Goals>
</EmployeeGoal>