POST api/GtMerchant/get-merchants

Request Information

URI Parameters

None.

Body Parameters

GetMerchantDto
NameDescriptionTypeAdditional information
Distance

integer

None.

Longitude

decimal number

Required

Latitude

decimal number

Required

Request Formats

application/json, text/json

Sample:
{
  "Distance": 1,
  "Latitude": 3.1,
  "Longitude": 2.1
}

text/xml

Sample:
<GetMerchantDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GTWorldApp.dto">
  <Distance>1</Distance>
  <Latitude>3.1</Latitude>
  <Longitude>2.1</Longitude>
</GetMerchantDto>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.