POST api/tourplan/ApproveRejectTourPlan

Request Information

URI Parameters

None.

Body Parameters

TPMonthlySaveDTO
NameDescriptionTypeAdditional information
ForEmployeeId

integer

None.

TPMonth

integer

None.

TPYear

integer

None.

ApprovalStatus

integer

None.

Remark

string

None.

EmployeeId

integer

None.

SessionID

string

None.

DeviceID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ForEmployeeId": 1,
  "TPMonth": 2,
  "TPYear": 3,
  "ApprovalStatus": 4,
  "Remark": "sample string 5",
  "EmployeeId": 6,
  "SessionID": "sample string 7",
  "DeviceID": "sample string 8"
}

application/xml, text/xml

Sample:
<TPMonthlySaveDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/application.knh.webapi.BE">
  <DeviceID>sample string 8</DeviceID>
  <EmployeeId>6</EmployeeId>
  <SessionID>sample string 7</SessionID>
  <ApprovalStatus>4</ApprovalStatus>
  <ForEmployeeId>1</ForEmployeeId>
  <Remark>sample string 5</Remark>
  <TPMonth>2</TPMonth>
  <TPYear>3</TPYear>
</TPMonthlySaveDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.