POST api/Master/GetKmDistance

Request Information

URI Parameters

None.

Body Parameters

GetKmDistanceDTO
NameDescriptionTypeAdditional information
Territory

integer

Required

fromPlace

string

Required

toPlace

string

Required

HQType

integer

Required

TravelMode

integer

Required

travelWay

integer

Required

Domain

string

Required

Request Formats

application/json, text/json

Sample:
{
  "Territory": 1,
  "fromPlace": "sample string 2",
  "toPlace": "sample string 3",
  "HQType": 4,
  "TravelMode": 5,
  "travelWay": 6,
  "Domain": "sample string 7"
}

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

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": {}
}