POST api/WorkPlan/GetWorkPlanReportByMonth

Request Information

URI Parameters

None.

Body Parameters

WorkPlanReport
NameDescriptionTypeAdditional information
emp_code

integer

None.

year

integer

None.

startMonth

integer

None.

endMonth

integer

None.

employees

Collection of integer

None.

isManager

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "emp_code": 1,
  "year": 2,
  "startMonth": 3,
  "endMonth": 4,
  "employees": [
    1,
    2
  ],
  "isManager": true
}

application/xml, text/xml

Sample:
<WorkPlanReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.WorkPlanManage">
  <emp_code>1</emp_code>
  <employees xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </employees>
  <endMonth>4</endMonth>
  <isManager>true</isManager>
  <startMonth>3</startMonth>
  <year>2</year>
</WorkPlanReport>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'WorkPlanReport'.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

Dictionary of string [key] and Collection of EmployeeWorkPlan [value]

Response Formats

application/json, text/json

Sample:
{
  "sample string 1": null,
  "sample string 2": null
}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfstringArrayOfEmployeeWorkPlanY2XTV44d xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfstringArrayOfEmployeeWorkPlanY2XTV44d>
    <Key>sample string 1</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/BLMedical.WorkPlanManage" i:nil="true" />
  </KeyValueOfstringArrayOfEmployeeWorkPlanY2XTV44d>
  <KeyValueOfstringArrayOfEmployeeWorkPlanY2XTV44d>
    <Key>sample string 2</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/BLMedical.WorkPlanManage" i:nil="true" />
  </KeyValueOfstringArrayOfEmployeeWorkPlanY2XTV44d>
</ArrayOfKeyValueOfstringArrayOfEmployeeWorkPlanY2XTV44d>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.