GET api/usuarios/{id}
Seleciona os dados do usuário por id. -- Utilização: URL_API/usuario/00000000-0000-0000-0000-000000000000 -- Parâmetros: id do usuario
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
id |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{ "pessoa": { "IsNew": null, "pes_nome": "sample string 1", "pes_nome_abreviado": "sample string 2", "pes_situacao": 64, "pes_dataCriacao": "2025-04-03T22:01:36.5956487-03:00", "pes_dataAlteracao": "2025-04-03T22:01:36.5956487-03:00", "pes_integridade": 6, "uad_id": "616149cd-d99e-458e-959b-2cbcd94027ee", "uad_nome": "sample string 8", "usu_id": "f2760b1f-b396-4811-8d2c-9ceb76e14505", "gru_id": "e987fc9c-22f6-4508-b507-e852b8a91cc1", "pes_id": "4d600676-b2da-495f-bd06-efd1213ce792", "pai_idNacionalidade": "6356e9aa-d0e0-43ad-9668-467b196c36bb", "pes_naturalizado": true, "cid_idNaturalidade": "b980efbb-465e-42dc-a76f-a5596c4fc552", "pes_dataNascimento": "2025-04-03T22:01:36.5956487-03:00", "pes_estadoCivil": 64, "pes_racaCor": 64, "pes_sexo": 64, "pes_idFiliacaoPai": "43755c69-d0c0-4536-b398-8337c0de4d5a", "pes_idFiliacaoMae": "f2ea74f7-0064-4211-8aab-86eed3f5452a", "tes_id": "a3f34e54-cbbd-4b3a-b1ba-a388ad9cd94f", "pes_foto": "QEBA", "arq_idFoto": 22, "pes_nomeSocial": "sample string 23", "pes_sobreMim": "sample string 24", "pes_dataIntegracao": "2025-04-03T22:01:36.5956487-03:00" }, "pes_id": "27706be5-e9b7-4749-a5c9-928c3771fdd0", "IsNew": null, "aluno": { "alu_id": 1 }, "docente": { "doc_id": 1 }, "usu_login": "sample string 1", "usu_dominio": "sample string 2", "usu_email": "sample string 3", "usu_emailSecundario": "sample string 4", "usu_senha": "sample string 5", "usu_criptografia": 64, "usu_situacao": 64, "usu_dataCriacao": "2025-04-03T22:01:36.5956487-03:00", "usu_dataAlteracao": "2025-04-03T22:01:36.5956487-03:00", "usu_integridade": 10, "ent_id": "42a040c5-00f9-49e3-aac7-18d2e3366982", "usu_integracaoAD": 64, "usu_integracaoExterna": 13, "pes_nome": "sample string 14", "usu_id": "04674cdb-bcc9-49db-9f66-454762250b91" }
text/xml
Sample:
<SYS_UsuarioDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSTech.GestaoEscolar.ObjetosSincronizacao.Entities"> <isNew xmlns="http://schemas.datacontract.org/2004/07/MSTech.Data.Common.Abstracts">true</isNew> <_x003C_ent_id_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts">00000000-0000-0000-0000-000000000000</_x003C_ent_id_x003E_k__BackingField> <_x003C_pes_id_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts">2b245109-40eb-4237-a78c-a598a79a218d</_x003C_pes_id_x003E_k__BackingField> <_x003C_usu_criptografia_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts">0</_x003C_usu_criptografia_x003E_k__BackingField> <_x003C_usu_dataAlteracao_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts">0001-01-01T00:00:00</_x003C_usu_dataAlteracao_x003E_k__BackingField> <_x003C_usu_dataCriacao_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts">0001-01-01T00:00:00</_x003C_usu_dataCriacao_x003E_k__BackingField> <_x003C_usu_dominio_x003E_k__BackingField i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts" /> <_x003C_usu_emailSecundario_x003E_k__BackingField i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts" /> <_x003C_usu_email_x003E_k__BackingField i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts" /> <_x003C_usu_id_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts">04674cdb-bcc9-49db-9f66-454762250b91</_x003C_usu_id_x003E_k__BackingField> <_x003C_usu_integracaoAD_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts">0</_x003C_usu_integracaoAD_x003E_k__BackingField> <_x003C_usu_integracaoExterna_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts">0</_x003C_usu_integracaoExterna_x003E_k__BackingField> <_x003C_usu_integridade_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts">0</_x003C_usu_integridade_x003E_k__BackingField> <_x003C_usu_login_x003E_k__BackingField i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts" /> <_x003C_usu_senha_x003E_k__BackingField i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts" /> <_x003C_usu_situacao_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts">0</_x003C_usu_situacao_x003E_k__BackingField> <_x003C_ent_id_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities">42a040c5-00f9-49e3-aac7-18d2e3366982</_x003C_ent_id_x003E_k__BackingField> <_x003C_pes_nome_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities">sample string 14</_x003C_pes_nome_x003E_k__BackingField> <_x003C_usu_criptografia_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities">64</_x003C_usu_criptografia_x003E_k__BackingField> <_x003C_usu_dataAlteracao_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities">2025-04-03T22:01:36.5956487-03:00</_x003C_usu_dataAlteracao_x003E_k__BackingField> <_x003C_usu_dataCriacao_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities">2025-04-03T22:01:36.5956487-03:00</_x003C_usu_dataCriacao_x003E_k__BackingField> <_x003C_usu_dominio_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities">sample string 2</_x003C_usu_dominio_x003E_k__BackingField> <_x003C_usu_emailSecundario_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities">sample string 4</_x003C_usu_emailSecundario_x003E_k__BackingField> <_x003C_usu_email_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities">sample string 3</_x003C_usu_email_x003E_k__BackingField> <_x003C_usu_integracaoAD_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities">64</_x003C_usu_integracaoAD_x003E_k__BackingField> <_x003C_usu_integracaoExterna_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities">13</_x003C_usu_integracaoExterna_x003E_k__BackingField> <_x003C_usu_integridade_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities">10</_x003C_usu_integridade_x003E_k__BackingField> <_x003C_usu_login_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities">sample string 1</_x003C_usu_login_x003E_k__BackingField> <_x003C_usu_senha_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities">sample string 5</_x003C_usu_senha_x003E_k__BackingField> <_x003C_usu_situacao_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities">64</_x003C_usu_situacao_x003E_k__BackingField> <aluno> <alu_id>1</alu_id> </aluno> <docente> <doc_id>1</doc_id> </docente> <pes_id>27706be5-e9b7-4749-a5c9-928c3771fdd0</pes_id> <pessoa> <isNew xmlns="http://schemas.datacontract.org/2004/07/MSTech.Data.Common.Abstracts">true</isNew> <_x003C_arq_idFoto_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts">22</_x003C_arq_idFoto_x003E_k__BackingField> <_x003C_cid_idNaturalidade_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts">b980efbb-465e-42dc-a76f-a5596c4fc552</_x003C_cid_idNaturalidade_x003E_k__BackingField> <_x003C_pai_idNacionalidade_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts">6356e9aa-d0e0-43ad-9668-467b196c36bb</_x003C_pai_idNacionalidade_x003E_k__BackingField> <_x003C_pes_dataAlteracao_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts">0001-01-01T00:00:00</_x003C_pes_dataAlteracao_x003E_k__BackingField> <_x003C_pes_dataCriacao_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts">0001-01-01T00:00:00</_x003C_pes_dataCriacao_x003E_k__BackingField> <_x003C_pes_dataIntegracao_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts">2025-04-03T22:01:36.5956487-03:00</_x003C_pes_dataIntegracao_x003E_k__BackingField> <_x003C_pes_dataNascimento_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts">2025-04-03T22:01:36.5956487-03:00</_x003C_pes_dataNascimento_x003E_k__BackingField> <_x003C_pes_estadoCivil_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts">64</_x003C_pes_estadoCivil_x003E_k__BackingField> <_x003C_pes_foto_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts">QEBA</_x003C_pes_foto_x003E_k__BackingField> <_x003C_pes_idFiliacaoMae_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts">f2ea74f7-0064-4211-8aab-86eed3f5452a</_x003C_pes_idFiliacaoMae_x003E_k__BackingField> <_x003C_pes_idFiliacaoPai_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts">43755c69-d0c0-4536-b398-8337c0de4d5a</_x003C_pes_idFiliacaoPai_x003E_k__BackingField> <_x003C_pes_id_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts">4d600676-b2da-495f-bd06-efd1213ce792</_x003C_pes_id_x003E_k__BackingField> <_x003C_pes_integridade_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts">0</_x003C_pes_integridade_x003E_k__BackingField> <_x003C_pes_naturalizado_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts">true</_x003C_pes_naturalizado_x003E_k__BackingField> <_x003C_pes_nomeSocial_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts">sample string 23</_x003C_pes_nomeSocial_x003E_k__BackingField> <_x003C_pes_nome_abreviado_x003E_k__BackingField i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts" /> <_x003C_pes_nome_x003E_k__BackingField i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts" /> <_x003C_pes_racaCor_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts">64</_x003C_pes_racaCor_x003E_k__BackingField> <_x003C_pes_sexo_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts">64</_x003C_pes_sexo_x003E_k__BackingField> <_x003C_pes_situacao_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts">0</_x003C_pes_situacao_x003E_k__BackingField> <_x003C_pes_sobreMim_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts">sample string 24</_x003C_pes_sobreMim_x003E_k__BackingField> <_x003C_tes_id_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts">a3f34e54-cbbd-4b3a-b1ba-a388ad9cd94f</_x003C_tes_id_x003E_k__BackingField> <_x003C_gru_id_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities">e987fc9c-22f6-4508-b507-e852b8a91cc1</_x003C_gru_id_x003E_k__BackingField> <_x003C_pes_dataAlteracao_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities">2025-04-03T22:01:36.5956487-03:00</_x003C_pes_dataAlteracao_x003E_k__BackingField> <_x003C_pes_dataCriacao_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities">2025-04-03T22:01:36.5956487-03:00</_x003C_pes_dataCriacao_x003E_k__BackingField> <_x003C_pes_integridade_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities">6</_x003C_pes_integridade_x003E_k__BackingField> <_x003C_pes_nome_abreviado_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities">sample string 2</_x003C_pes_nome_abreviado_x003E_k__BackingField> <_x003C_pes_nome_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities">sample string 1</_x003C_pes_nome_x003E_k__BackingField> <_x003C_pes_situacao_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities">64</_x003C_pes_situacao_x003E_k__BackingField> <_x003C_uad_id_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities">616149cd-d99e-458e-959b-2cbcd94027ee</_x003C_uad_id_x003E_k__BackingField> <_x003C_uad_nome_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities">sample string 8</_x003C_uad_nome_x003E_k__BackingField> <_x003C_usu_id_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities">f2760b1f-b396-4811-8d2c-9ceb76e14505</_x003C_usu_id_x003E_k__BackingField> </pessoa> </SYS_UsuarioDTO>