POST api/tourplan/CreateTourPlan

Request Information

URI Parameters

None.

Body Parameters

TourPlanCreateDTO
NameDescriptionTypeAdditional information
EmployeeId

integer

None.

TPDate

string

None.

TPName

string

None.

BeatId

integer

None.

OtherFieldWorkId

integer

None.

OtherFieldWorkRemark

string

None.

IsJointFieldWork

boolean

None.

BMTourPlanId

integer

None.

ExHQ

boolean

None.

SessionID

string

None.

DeviceID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EmployeeId": 1,
  "TPDate": "sample string 2",
  "TPName": "sample string 3",
  "BeatId": 4,
  "OtherFieldWorkId": 5,
  "OtherFieldWorkRemark": "sample string 6",
  "IsJointFieldWork": true,
  "BMTourPlanId": 8,
  "ExHQ": true,
  "SessionID": "sample string 9",
  "DeviceID": "sample string 10"
}

application/xml, text/xml

Sample:
<TourPlanCreateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/application.knh.webapi.BE">
  <DeviceID>sample string 10</DeviceID>
  <EmployeeId>0</EmployeeId>
  <SessionID>sample string 9</SessionID>
  <BMTourPlanId>8</BMTourPlanId>
  <BeatId>4</BeatId>
  <EmployeeId>1</EmployeeId>
  <ExHQ>true</ExHQ>
  <IsJointFieldWork>true</IsJointFieldWork>
  <OtherFieldWorkId>5</OtherFieldWorkId>
  <OtherFieldWorkRemark>sample string 6</OtherFieldWorkRemark>
  <TPDate>sample string 2</TPDate>
  <TPName>sample string 3</TPName>
</TourPlanCreateDTO>

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.