POST api/IClassUsers/Nearbystorelocator

Request Information

URI Parameters

None.

Body Parameters

clsStoreRequest
NameDescriptionTypeAdditional information
lat1

decimal number

None.

lon1

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "lat1": 1.1,
  "lon1": 2.1
}

application/xml, text/xml

Sample:
<clsStoreRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity">
  <lat1>1.1</lat1>
  <lon1>2.1</lon1>
</clsStoreRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of clsStore
NameDescriptionTypeAdditional information
storeId

integer

None.

StoreName

string

None.

Address

string

None.

Distance

decimal number

None.

Lattitude

decimal number

None.

Longitude

decimal number

None.

ContactNumber

string

None.

Email

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "storeId": 1,
    "StoreName": "sample string 2",
    "Address": "sample string 3",
    "Distance": 4.1,
    "Lattitude": 5.1,
    "Longitude": 6.1,
    "ContactNumber": "sample string 7",
    "Email": "sample string 8"
  },
  {
    "storeId": 1,
    "StoreName": "sample string 2",
    "Address": "sample string 3",
    "Distance": 4.1,
    "Lattitude": 5.1,
    "Longitude": 6.1,
    "ContactNumber": "sample string 7",
    "Email": "sample string 8"
  }
]

application/xml, text/xml

Sample:
<ArrayOfclsStore xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity">
  <clsStore>
    <Address>sample string 3</Address>
    <ContactNumber>sample string 7</ContactNumber>
    <Distance>4.1</Distance>
    <Email>sample string 8</Email>
    <Lattitude>5.1</Lattitude>
    <Longitude>6.1</Longitude>
    <StoreName>sample string 2</StoreName>
    <storeId>1</storeId>
  </clsStore>
  <clsStore>
    <Address>sample string 3</Address>
    <ContactNumber>sample string 7</ContactNumber>
    <Distance>4.1</Distance>
    <Email>sample string 8</Email>
    <Lattitude>5.1</Lattitude>
    <Longitude>6.1</Longitude>
    <StoreName>sample string 2</StoreName>
    <storeId>1</storeId>
  </clsStore>
</ArrayOfclsStore>