GET api/v2/account/getMatrizCliente?clienteMasterId={clienteMasterId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
clienteMasterId

integer

Required

Body Parameters

None.

Response Information

Resource Description

GetDetalhesClienteMatrizResult
NameDescriptionTypeAdditional information
TenantMasterId

globally unique identifier

None.

TenantId

globally unique identifier

None.

ClienteId

integer

None.

ClienteMasterId

integer

None.

UserId

string

None.

FilialCorrente

GetFiliaisItemResult

None.

Succeeded

boolean

None.

Errors

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "TenantMasterId": "4cea397d-94bf-4743-8882-6275f84d9d0d",
  "TenantId": "9275750a-928a-4775-9d88-5a2b4ba507d4",
  "ClienteId": 3,
  "ClienteMasterId": 4,
  "UserId": "sample string 5",
  "FilialCorrente": {
    "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:
<GetDetalhesClienteMatrizResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models">
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Errors>
  <Succeeded>true</Succeeded>
  <ClienteId>3</ClienteId>
  <ClienteMasterId>4</ClienteMasterId>
  <FilialCorrente xmlns:d2p1="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models.v1.Results">
    <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>
  </FilialCorrente>
  <TenantId>9275750a-928a-4775-9d88-5a2b4ba507d4</TenantId>
  <TenantMasterId>4cea397d-94bf-4743-8882-6275f84d9d0d</TenantMasterId>
  <UserId>sample string 5</UserId>
</GetDetalhesClienteMatrizResult>