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": "4ca6bfb2-bb70-4d35-8869-666b04668843", "IdEntidadeSuperior": "a71a382e-90fe-49bb-91d6-7f95d78626b7", "InscricaoEstadual": "sample string 5", "InscricaoMunicipal": "sample string 6", "NomeFantasia": "sample string 7", "RazaoSocial": "sample string 8", "Sigla": "sample string 9", "TipoEntidade": { "Id": "7be07109-5013-4ead-8910-45acb35ab9cc", "Nome": "sample string 2" }, "DataCriacao": "2025-04-03T00:51:44.8644888-03:00", "DataAlteracao": "2025-04-03T00:51:44.8644888-03:00" }, { "CNPJ": "sample string 1", "Codigo": "sample string 2", "Id": "4ca6bfb2-bb70-4d35-8869-666b04668843", "IdEntidadeSuperior": "a71a382e-90fe-49bb-91d6-7f95d78626b7", "InscricaoEstadual": "sample string 5", "InscricaoMunicipal": "sample string 6", "NomeFantasia": "sample string 7", "RazaoSocial": "sample string 8", "Sigla": "sample string 9", "TipoEntidade": { "Id": "7be07109-5013-4ead-8910-45acb35ab9cc", "Nome": "sample string 2" }, "DataCriacao": "2025-04-03T00:51:44.8644888-03:00", "DataAlteracao": "2025-04-03T00:51:44.8644888-03:00" }, { "CNPJ": "sample string 1", "Codigo": "sample string 2", "Id": "4ca6bfb2-bb70-4d35-8869-666b04668843", "IdEntidadeSuperior": "a71a382e-90fe-49bb-91d6-7f95d78626b7", "InscricaoEstadual": "sample string 5", "InscricaoMunicipal": "sample string 6", "NomeFantasia": "sample string 7", "RazaoSocial": "sample string 8", "Sigla": "sample string 9", "TipoEntidade": { "Id": "7be07109-5013-4ead-8910-45acb35ab9cc", "Nome": "sample string 2" }, "DataCriacao": "2025-04-03T00:51:44.8644888-03:00", "DataAlteracao": "2025-04-03T00:51:44.8644888-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-03T00:51:44.8644888-03:00</DataAlteracao> <DataCriacao>2025-04-03T00:51:44.8644888-03:00</DataCriacao> <TipoEntidade /> </Entidade> <Entidade> <DataAlteracao>2025-04-03T00:51:44.8644888-03:00</DataAlteracao> <DataCriacao>2025-04-03T00:51:44.8644888-03:00</DataCriacao> <TipoEntidade /> </Entidade> <Entidade> <DataAlteracao>2025-04-03T00:51:44.8644888-03:00</DataAlteracao> <DataCriacao>2025-04-03T00:51:44.8644888-03:00</DataCriacao> <TipoEntidade /> </Entidade> </ArrayOfEntidade>