GET api/v2/tenant/getlojas?Longitude={Longitude}&Latitude={Latitude}&TenantId={TenantId}&TpFarmacia={TpFarmacia}&Pagina={Pagina}&QuantidadeItensPagina={QuantidadeItensPagina}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Longitude

string

None.

Latitude

string

None.

TenantId

globally unique identifier

None.

TpFarmacia

string

None.

Pagina

integer

None.

QuantidadeItensPagina

integer

None.

Body Parameters

None.

Response Information

Resource Description

GetLojasBidingResult
NameDescriptionTypeAdditional information
Filiais

Collection of GetFiliaisItemResult

None.

Succeeded

boolean

None.

Errors

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Filiais": [
    {
      "Id": 1,
      "TpFarmacia": "sample string 2",
      "TenantId": "sample string 3",
      "SubClientId": "sample string 4",
      "CdFilial": "sample string 5",
      "Nome": "sample string 6",
      "TenantGroupId": "sample string 7",
      "EnderecoId": 8,
      "Ender": "sample string 9",
      "EndNr": "sample string 10",
      "Bairr": "sample string 11",
      "Munic": "sample string 12",
      "Estado": "sample string 13",
      "NrCep": "sample string 14",
      "Distancia": "sample string 15",
      "DistanciaOrdenar": 16.1
    },
    {
      "Id": 1,
      "TpFarmacia": "sample string 2",
      "TenantId": "sample string 3",
      "SubClientId": "sample string 4",
      "CdFilial": "sample string 5",
      "Nome": "sample string 6",
      "TenantGroupId": "sample string 7",
      "EnderecoId": 8,
      "Ender": "sample string 9",
      "EndNr": "sample string 10",
      "Bairr": "sample string 11",
      "Munic": "sample string 12",
      "Estado": "sample string 13",
      "NrCep": "sample string 14",
      "Distancia": "sample string 15",
      "DistanciaOrdenar": 16.1
    }
  ],
  "Succeeded": true,
  "Errors": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<GetLojasBidingResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models.Results">
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Errors>
  <Succeeded xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models">true</Succeeded>
  <Filiais xmlns:d2p1="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models.v1.Results">
    <d2p1:GetFiliaisItemResult>
      <d2p1:Bairr>sample string 11</d2p1:Bairr>
      <d2p1:CdFilial>sample string 5</d2p1:CdFilial>
      <d2p1:Distancia>sample string 15</d2p1:Distancia>
      <d2p1:DistanciaOrdenar>16.1</d2p1:DistanciaOrdenar>
      <d2p1:EndNr>sample string 10</d2p1:EndNr>
      <d2p1:Ender>sample string 9</d2p1:Ender>
      <d2p1:EnderecoId>8</d2p1:EnderecoId>
      <d2p1:Estado>sample string 13</d2p1:Estado>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Munic>sample string 12</d2p1:Munic>
      <d2p1:Nome>sample string 6</d2p1:Nome>
      <d2p1:NrCep>sample string 14</d2p1:NrCep>
      <d2p1:SubClientId>sample string 4</d2p1:SubClientId>
      <d2p1:TenantGroupId>sample string 7</d2p1:TenantGroupId>
      <d2p1:TenantId>sample string 3</d2p1:TenantId>
      <d2p1:TpFarmacia>sample string 2</d2p1:TpFarmacia>
    </d2p1:GetFiliaisItemResult>
    <d2p1:GetFiliaisItemResult>
      <d2p1:Bairr>sample string 11</d2p1:Bairr>
      <d2p1:CdFilial>sample string 5</d2p1:CdFilial>
      <d2p1:Distancia>sample string 15</d2p1:Distancia>
      <d2p1:DistanciaOrdenar>16.1</d2p1:DistanciaOrdenar>
      <d2p1:EndNr>sample string 10</d2p1:EndNr>
      <d2p1:Ender>sample string 9</d2p1:Ender>
      <d2p1:EnderecoId>8</d2p1:EnderecoId>
      <d2p1:Estado>sample string 13</d2p1:Estado>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Munic>sample string 12</d2p1:Munic>
      <d2p1:Nome>sample string 6</d2p1:Nome>
      <d2p1:NrCep>sample string 14</d2p1:NrCep>
      <d2p1:SubClientId>sample string 4</d2p1:SubClientId>
      <d2p1:TenantGroupId>sample string 7</d2p1:TenantGroupId>
      <d2p1:TenantId>sample string 3</d2p1:TenantId>
      <d2p1:TpFarmacia>sample string 2</d2p1:TpFarmacia>
    </d2p1:GetFiliaisItemResult>
  </Filiais>
</GetLojasBidingResult>