POST api/tourplan/CreateTourPlan

Request Information

URI Parameters

None.

Body Parameters

CreateTPDTO
NameDescriptionTypeAdditional information
TPDate

string

None.

TPName

string

None.

BeatId

integer

None.

OtherFieldWorkId

integer

None.

IsJointFieldWork

boolean

None.

TourPlanId

integer

None.

Remark

string

None.

EmployeeId

integer

None.

SessionID

string

None.

DeviceID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TPDate": "sample string 1",
  "TPName": "sample string 2",
  "BeatId": 3,
  "OtherFieldWorkId": 4,
  "IsJointFieldWork": true,
  "TourPlanId": 6,
  "Remark": "sample string 7",
  "EmployeeId": 8,
  "SessionID": "sample string 9",
  "DeviceID": "sample string 10"
}

application/xml, text/xml

Sample:
<CreateTPDTO 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>8</EmployeeId>
  <SessionID>sample string 9</SessionID>
  <BeatId>3</BeatId>
  <IsJointFieldWork>true</IsJointFieldWork>
  <OtherFieldWorkId>4</OtherFieldWorkId>
  <Remark>sample string 7</Remark>
  <TPDate>sample string 1</TPDate>
  <TPName>sample string 2</TPName>
  <TourPlanId>6</TourPlanId>
</CreateTPDTO>

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.