GET api/Loja

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of LojasModel
NameDescriptionTypeAdditional information
id

integer

None.

nome

string

None.

endereco

string

None.

cidade

string

None.

estado

string

None.

latitude

decimal number

None.

longitude

decimal number

None.

data

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "nome": "sample string 2",
    "endereco": "sample string 3",
    "cidade": "sample string 4",
    "estado": "sample string 5",
    "latitude": 6.1,
    "longitude": 7.1,
    "data": "2024-12-30T14:34:18.8606013-03:00"
  },
  {
    "id": 1,
    "nome": "sample string 2",
    "endereco": "sample string 3",
    "cidade": "sample string 4",
    "estado": "sample string 5",
    "latitude": 6.1,
    "longitude": 7.1,
    "data": "2024-12-30T14:34:18.8606013-03:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfLojasModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopperREST.Models">
  <LojasModel>
    <cidade>sample string 4</cidade>
    <data>2024-12-30T14:34:18.8606013-03:00</data>
    <endereco>sample string 3</endereco>
    <estado>sample string 5</estado>
    <id>1</id>
    <latitude>6.1</latitude>
    <longitude>7.1</longitude>
    <nome>sample string 2</nome>
  </LojasModel>
  <LojasModel>
    <cidade>sample string 4</cidade>
    <data>2024-12-30T14:34:18.8606013-03:00</data>
    <endereco>sample string 3</endereco>
    <estado>sample string 5</estado>
    <id>1</id>
    <latitude>6.1</latitude>
    <longitude>7.1</longitude>
    <nome>sample string 2</nome>
  </LojasModel>
</ArrayOfLojasModel>