GET api/credito

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of creditoListGET
NameDescriptionTypeAdditional information
local

string

None.

pix

boolean

None.

ACC

Collection of creditoGET

None.

DIN

Collection of creditoGET

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "local": "sample string 1",
    "pix": true,
    "ACC": [
      {
        "id": 1,
        "descricao": "sample string 2",
        "valor": "sample string 3",
        "acessos": 4
      },
      {
        "id": 1,
        "descricao": "sample string 2",
        "valor": "sample string 3",
        "acessos": 4
      }
    ],
    "DIN": [
      {
        "id": 1,
        "descricao": "sample string 2",
        "valor": "sample string 3",
        "acessos": 4
      },
      {
        "id": 1,
        "descricao": "sample string 2",
        "valor": "sample string 3",
        "acessos": 4
      }
    ]
  },
  {
    "local": "sample string 1",
    "pix": true,
    "ACC": [
      {
        "id": 1,
        "descricao": "sample string 2",
        "valor": "sample string 3",
        "acessos": 4
      },
      {
        "id": 1,
        "descricao": "sample string 2",
        "valor": "sample string 3",
        "acessos": 4
      }
    ],
    "DIN": [
      {
        "id": 1,
        "descricao": "sample string 2",
        "valor": "sample string 3",
        "acessos": 4
      },
      {
        "id": 1,
        "descricao": "sample string 2",
        "valor": "sample string 3",
        "acessos": 4
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfcreditoListGET xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopperREST.Controllers">
  <creditoListGET>
    <ACC>
      <creditoGET>
        <acessos>4</acessos>
        <descricao>sample string 2</descricao>
        <id>1</id>
        <valor>sample string 3</valor>
      </creditoGET>
      <creditoGET>
        <acessos>4</acessos>
        <descricao>sample string 2</descricao>
        <id>1</id>
        <valor>sample string 3</valor>
      </creditoGET>
    </ACC>
    <DIN>
      <creditoGET>
        <acessos>4</acessos>
        <descricao>sample string 2</descricao>
        <id>1</id>
        <valor>sample string 3</valor>
      </creditoGET>
      <creditoGET>
        <acessos>4</acessos>
        <descricao>sample string 2</descricao>
        <id>1</id>
        <valor>sample string 3</valor>
      </creditoGET>
    </DIN>
    <local>sample string 1</local>
    <pix>true</pix>
  </creditoListGET>
  <creditoListGET>
    <ACC>
      <creditoGET>
        <acessos>4</acessos>
        <descricao>sample string 2</descricao>
        <id>1</id>
        <valor>sample string 3</valor>
      </creditoGET>
      <creditoGET>
        <acessos>4</acessos>
        <descricao>sample string 2</descricao>
        <id>1</id>
        <valor>sample string 3</valor>
      </creditoGET>
    </ACC>
    <DIN>
      <creditoGET>
        <acessos>4</acessos>
        <descricao>sample string 2</descricao>
        <id>1</id>
        <valor>sample string 3</valor>
      </creditoGET>
      <creditoGET>
        <acessos>4</acessos>
        <descricao>sample string 2</descricao>
        <id>1</id>
        <valor>sample string 3</valor>
      </creditoGET>
    </DIN>
    <local>sample string 1</local>
    <pix>true</pix>
  </creditoListGET>
</ArrayOfcreditoListGET>