POST api/Master/GetTravelMode

Request Information

URI Parameters

None.

Body Parameters

GetTravelModeDTO
NameDescriptionTypeAdditional information
empid

integer

Required

fromPlace

string

Required

toPlace

string

Required

HQType

integer

Required

workType

integer

Required

Domain

string

Required

Request Formats

application/json, text/json

Sample:
{
  "empid": 1,
  "fromPlace": "sample string 2",
  "toPlace": "sample string 3",
  "HQType": 4,
  "workType": 5,
  "Domain": "sample string 6"
}

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 'GetTravelModeDTO'.

Response Information

Resource Description

Message
NameDescriptionTypeAdditional information
ResponseFlag

integer

None.

ResponseMessage

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseFlag": 1,
  "ResponseMessage": "sample string 2",
  "Data": {}
}