GET coreapi/v1/entidades/{entidadeId}/subentidades

Retorna a lista com as subentidades (filhas)

Request Information

Parameters

NameDescriptionAdditional information
entidadeId
Id da Entidade

Define this parameter in the request URI.

Response Information

Lista de Entidades

Response body formats

application/json, text/json

Sample:
[
  {
    "CNPJ": "sample string 1",
    "Codigo": "sample string 2",
    "Id": "29565cec-b674-4df3-a38a-e2e4ee5644d8",
    "IdEntidadeSuperior": "b27c5016-fe8a-46e4-9106-5b48a5cf73bc",
    "InscricaoEstadual": "sample string 5",
    "InscricaoMunicipal": "sample string 6",
    "NomeFantasia": "sample string 7",
    "RazaoSocial": "sample string 8",
    "Sigla": "sample string 9",
    "TipoEntidade": {
      "Id": "ee8135b3-2e6a-4a52-8759-0b085d620213",
      "Nome": "sample string 2"
    },
    "DataCriacao": "2024-11-21T03:39:33.5007331-03:00",
    "DataAlteracao": "2024-11-21T03:39:33.5007331-03:00"
  },
  {
    "CNPJ": "sample string 1",
    "Codigo": "sample string 2",
    "Id": "29565cec-b674-4df3-a38a-e2e4ee5644d8",
    "IdEntidadeSuperior": "b27c5016-fe8a-46e4-9106-5b48a5cf73bc",
    "InscricaoEstadual": "sample string 5",
    "InscricaoMunicipal": "sample string 6",
    "NomeFantasia": "sample string 7",
    "RazaoSocial": "sample string 8",
    "Sigla": "sample string 9",
    "TipoEntidade": {
      "Id": "ee8135b3-2e6a-4a52-8759-0b085d620213",
      "Nome": "sample string 2"
    },
    "DataCriacao": "2024-11-21T03:39:33.5007331-03:00",
    "DataAlteracao": "2024-11-21T03:39:33.5007331-03:00"
  },
  {
    "CNPJ": "sample string 1",
    "Codigo": "sample string 2",
    "Id": "29565cec-b674-4df3-a38a-e2e4ee5644d8",
    "IdEntidadeSuperior": "b27c5016-fe8a-46e4-9106-5b48a5cf73bc",
    "InscricaoEstadual": "sample string 5",
    "InscricaoMunicipal": "sample string 6",
    "NomeFantasia": "sample string 7",
    "RazaoSocial": "sample string 8",
    "Sigla": "sample string 9",
    "TipoEntidade": {
      "Id": "ee8135b3-2e6a-4a52-8759-0b085d620213",
      "Nome": "sample string 2"
    },
    "DataCriacao": "2024-11-21T03:39:33.5007331-03:00",
    "DataAlteracao": "2024-11-21T03:39:33.5007331-03:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfEntidade xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CoreSSO.API.Model">
  <Entidade>
    <DataAlteracao>2024-11-21T03:39:33.5007331-03:00</DataAlteracao>
    <DataCriacao>2024-11-21T03:39:33.5007331-03:00</DataCriacao>
    <TipoEntidade />
  </Entidade>
  <Entidade>
    <DataAlteracao>2024-11-21T03:39:33.5007331-03:00</DataAlteracao>
    <DataCriacao>2024-11-21T03:39:33.5007331-03:00</DataCriacao>
    <TipoEntidade />
  </Entidade>
  <Entidade>
    <DataAlteracao>2024-11-21T03:39:33.5007331-03:00</DataAlteracao>
    <DataCriacao>2024-11-21T03:39:33.5007331-03:00</DataCriacao>
    <TipoEntidade />
  </Entidade>
</ArrayOfEntidade>