POST new/location/nearby-companies

查询当前位置附近的公司数据并分页

Request Information

URI Parameters

None.

Body Parameters

LocationNearbyModel
NameDescriptionTypeAdditional information
CurrentLatitude

当前纬度

string

None.

CurrentLongitude

当前经度

string

None.

Range

范围(单位:米)

integer

None.

PageIndex

页码

integer

None.

PageSize

每页条数

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CurrentLatitude": "sample string 1",
  "CurrentLongitude": "sample string 2",
  "Range": 3,
  "PageIndex": 4,
  "PageSize": 5
}

application/xml, text/xml

Sample:
<LocationNearbyModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ma.Model.ApiModel">
  <CurrentLatitude>sample string 1</CurrentLatitude>
  <CurrentLongitude>sample string 2</CurrentLongitude>
  <PageIndex>4</PageIndex>
  <PageSize>5</PageSize>
  <Range>3</Range>
</LocationNearbyModel>

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

Response Information

Resource Description

LocationNearbyCompaniesResponse
NameDescriptionTypeAdditional information
Ok

接口是否成功。

boolean

None.

Data

返回数据。

Object

None.

Msg

返回消息。

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Ok": true,
  "Data": {},
  "Msg": "sample string 3"
}

application/xml, text/xml

Sample:
<LocationNearbyCompaniesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ma.Api.Controllers.Dtos">
  <Data />
  <Msg>sample string 3</Msg>
  <Ok>true</Ok>
</LocationNearbyCompaniesResponse>