GET api/EmployeeResultTotal?empId={empId}&language={language}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
empId

integer

Required

language

string

Default value is en

Body Parameters

None.

Response Information

Resource Description

EmployeeResultModel
NameDescriptionTypeAdditional information
emp_id

integer

None.

full_name

string

None.

total_performance

decimal number

None.

total_attitude

decimal number

None.

performances

Collection of QestionResultTotalModel

None.

attitudes

Collection of QestionResultTotalModel

None.

Response Formats

application/json, text/json

Sample:
{
  "emp_id": 1,
  "full_name": "sample string 2",
  "total_performance": 3.1,
  "total_attitude": 4.1,
  "performances": [
    {
      "question_id": 1,
      "question": "sample string 2",
      "question_type": 3,
      "score": 4.1,
      "warning": true
    },
    {
      "question_id": 1,
      "question": "sample string 2",
      "question_type": 3,
      "score": 4.1,
      "warning": true
    }
  ],
  "attitudes": [
    {
      "question_id": 1,
      "question": "sample string 2",
      "question_type": 3,
      "score": 4.1,
      "warning": true
    },
    {
      "question_id": 1,
      "question": "sample string 2",
      "question_type": 3,
      "score": 4.1,
      "warning": true
    }
  ]
}

application/xml, text/xml

Sample:
<EmployeeResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">
  <attitudes>
    <QestionResultTotalModel>
      <question>sample string 2</question>
      <question_id>1</question_id>
      <question_type>3</question_type>
      <score>4.1</score>
      <warning>true</warning>
    </QestionResultTotalModel>
    <QestionResultTotalModel>
      <question>sample string 2</question>
      <question_id>1</question_id>
      <question_type>3</question_type>
      <score>4.1</score>
      <warning>true</warning>
    </QestionResultTotalModel>
  </attitudes>
  <emp_id>1</emp_id>
  <full_name>sample string 2</full_name>
  <performances>
    <QestionResultTotalModel>
      <question>sample string 2</question>
      <question_id>1</question_id>
      <question_type>3</question_type>
      <score>4.1</score>
      <warning>true</warning>
    </QestionResultTotalModel>
    <QestionResultTotalModel>
      <question>sample string 2</question>
      <question_id>1</question_id>
      <question_type>3</question_type>
      <score>4.1</score>
      <warning>true</warning>
    </QestionResultTotalModel>
  </performances>
  <total_attitude>4.1</total_attitude>
  <total_performance>3.1</total_performance>
</EmployeeResultModel>