GET api/Loja/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

checkinLojaModel
NameDescriptionTypeAdditional information
status

string

None.

mensagem

string

None.

possui_porta

boolean

None.

carrinho_id

integer

None.

depende

Collection of dependeLojaModel

None.

Response Formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "mensagem": "sample string 2",
  "possui_porta": true,
  "carrinho_id": 4,
  "depende": [
    {
      "id": 1,
      "nome": "sample string 2",
      "tipo": "sample string 3",
      "cartao_id": 4,
      "CardNumber": "sample string 5",
      "Brand": "sample string 6",
      "CardType": "sample string 7"
    },
    {
      "id": 1,
      "nome": "sample string 2",
      "tipo": "sample string 3",
      "cartao_id": 4,
      "CardNumber": "sample string 5",
      "Brand": "sample string 6",
      "CardType": "sample string 7"
    }
  ]
}

application/xml, text/xml

Sample:
<checkinLojaModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopperREST.Models">
  <carrinho_id>4</carrinho_id>
  <depende>
    <dependeLojaModel>
      <Brand>sample string 6</Brand>
      <CardNumber>sample string 5</CardNumber>
      <CardType>sample string 7</CardType>
      <cartao_id>4</cartao_id>
      <id>1</id>
      <nome>sample string 2</nome>
      <tipo>sample string 3</tipo>
    </dependeLojaModel>
    <dependeLojaModel>
      <Brand>sample string 6</Brand>
      <CardNumber>sample string 5</CardNumber>
      <CardType>sample string 7</CardType>
      <cartao_id>4</cartao_id>
      <id>1</id>
      <nome>sample string 2</nome>
      <tipo>sample string 3</tipo>
    </dependeLojaModel>
  </depende>
  <mensagem>sample string 2</mensagem>
  <possui_porta>true</possui_porta>
  <status>sample string 1</status>
</checkinLojaModel>