GET coreapi/v1/entidades/{entidadeId}/subentidades
Retorna a lista com as subentidades (filhas)
Request Information
Parameters
Name | Description | Additional 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": "d3f8e7d0-d6e0-4ad1-b69a-5893e7060f3e", "IdEntidadeSuperior": "c3f80f5d-b313-4827-ac39-942e2cc83a33", "InscricaoEstadual": "sample string 5", "InscricaoMunicipal": "sample string 6", "NomeFantasia": "sample string 7", "RazaoSocial": "sample string 8", "Sigla": "sample string 9", "TipoEntidade": { "Id": "2eab8eb5-099f-4189-864f-324c93ea77f3", "Nome": "sample string 2" }, "DataCriacao": "2025-04-03T05:27:24.3853354-03:00", "DataAlteracao": "2025-04-03T05:27:24.3853354-03:00" }, { "CNPJ": "sample string 1", "Codigo": "sample string 2", "Id": "d3f8e7d0-d6e0-4ad1-b69a-5893e7060f3e", "IdEntidadeSuperior": "c3f80f5d-b313-4827-ac39-942e2cc83a33", "InscricaoEstadual": "sample string 5", "InscricaoMunicipal": "sample string 6", "NomeFantasia": "sample string 7", "RazaoSocial": "sample string 8", "Sigla": "sample string 9", "TipoEntidade": { "Id": "2eab8eb5-099f-4189-864f-324c93ea77f3", "Nome": "sample string 2" }, "DataCriacao": "2025-04-03T05:27:24.3853354-03:00", "DataAlteracao": "2025-04-03T05:27:24.3853354-03:00" }, { "CNPJ": "sample string 1", "Codigo": "sample string 2", "Id": "d3f8e7d0-d6e0-4ad1-b69a-5893e7060f3e", "IdEntidadeSuperior": "c3f80f5d-b313-4827-ac39-942e2cc83a33", "InscricaoEstadual": "sample string 5", "InscricaoMunicipal": "sample string 6", "NomeFantasia": "sample string 7", "RazaoSocial": "sample string 8", "Sigla": "sample string 9", "TipoEntidade": { "Id": "2eab8eb5-099f-4189-864f-324c93ea77f3", "Nome": "sample string 2" }, "DataCriacao": "2025-04-03T05:27:24.3853354-03:00", "DataAlteracao": "2025-04-03T05:27:24.3853354-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>2025-04-03T05:27:24.3853354-03:00</DataAlteracao> <DataCriacao>2025-04-03T05:27:24.3853354-03:00</DataCriacao> <TipoEntidade /> </Entidade> <Entidade> <DataAlteracao>2025-04-03T05:27:24.3853354-03:00</DataAlteracao> <DataCriacao>2025-04-03T05:27:24.3853354-03:00</DataCriacao> <TipoEntidade /> </Entidade> <Entidade> <DataAlteracao>2025-04-03T05:27:24.3853354-03:00</DataAlteracao> <DataCriacao>2025-04-03T05:27:24.3853354-03:00</DataCriacao> <TipoEntidade /> </Entidade> </ArrayOfEntidade>