POST api/Getlocations

Get locations

Request Information

URI Parameters

None.

Body Parameters

{"lati":"", "longi":""," aname":"" , "city":"" , "atype":"", "filtter_type":""}

location_filtter
NameDescriptionTypeAdditional information
lati

decimal number

None.

longi

decimal number

None.

aname

string

None.

city

string

None.

atype

integer

None.

langid

integer

None.

filtter_type

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "lati": 1.1,
  "longi": 2.1,
  "aname": "sample string 3",
  "city": "sample string 4",
  "atype": 5,
  "langid": 6,
  "filtter_type": 7
}

text/xml

Sample:
<location_filtter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cards_api">
  <aname>sample string 3</aname>
  <atype>5</atype>
  <city>sample string 4</city>
  <filtter_type>7</filtter_type>
  <langid>6</langid>
  <lati>1.1</lati>
  <longi>2.1</longi>
</location_filtter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

{ "data" [],"rowcount": 1,"status": true,"msg_error": ""}

outdata
NameDescriptionTypeAdditional information
data

DataTable

None.

rowcount

if get data then return count row else return the id row affected

integer

None.

status

boolean

None.

msg_error

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": null,
  "rowcount": 1,
  "status": true,
  "msg_error": "sample string 3"
}

text/xml

Sample:
<outdata xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cards_api">
  <data i:nil="true" />
  <msg_error>sample string 3</msg_error>
  <rowcount>1</rowcount>
  <status>true</status>
</outdata>