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-03T17:53:04.7717638-03:00", "pes_dataAlteracao": "2025-04-03T17:53:04.7717638-03:00", "pes_integridade": 6, "uad_id": "8d6e1788-0694-47da-9b9e-d5d810552923", "uad_nome": "sample string 8", "usu_id": "06812fef-08cf-4c50-b016-deaffbbc8716", "gru_id": "cf418e42-5bfe-40b5-8d75-886e18ff6650", "pes_id": "bb670fa1-66a1-4f8a-bded-38a69520a888", "pai_idNacionalidade": "6df47911-b2de-4e40-a9cc-a7f9cdaafaeb", "pes_naturalizado": true, "cid_idNaturalidade": "011bcefe-73f5-41ff-9618-b802cc8f330b", "pes_dataNascimento": "2025-04-03T17:53:04.7717638-03:00", "pes_estadoCivil": 64, "pes_racaCor": 64, "pes_sexo": 64, "pes_idFiliacaoPai": "91a7ad3e-308b-4a60-890f-b3b7a90e60e2", "pes_idFiliacaoMae": "8ccf7b27-bbd1-4b64-971f-d23a3e394cfb", "tes_id": "91efef8e-1479-492c-9481-17f682f1eb3f", "pes_foto": "QEBA", "arq_idFoto": 22, "pes_nomeSocial": "sample string 23", "pes_sobreMim": "sample string 24", "pes_dataIntegracao": "2025-04-03T17:53:04.7717638-03:00" }, "pes_id": "6aaac009-d3cc-49e2-afbb-f46552f34060", "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-03T17:53:04.7717638-03:00", "usu_dataAlteracao": "2025-04-03T17:53:04.7717638-03:00", "usu_integridade": 10, "ent_id": "2d9f2812-ffa1-40b9-b92c-64dff9f4a789", "usu_integracaoAD": 64, "usu_integracaoExterna": 13, "pes_nome": "sample string 14", "usu_id": "4e8f2d39-e12b-440a-9abf-e6a35c21a882" }
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">145a3b2e-98e5-4bb3-8775-8a00f5f5dc59</_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">4e8f2d39-e12b-440a-9abf-e6a35c21a882</_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">2d9f2812-ffa1-40b9-b92c-64dff9f4a789</_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-03T17:53:04.7717638-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-03T17:53:04.7717638-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>6aaac009-d3cc-49e2-afbb-f46552f34060</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">011bcefe-73f5-41ff-9618-b802cc8f330b</_x003C_cid_idNaturalidade_x003E_k__BackingField> <_x003C_pai_idNacionalidade_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts">6df47911-b2de-4e40-a9cc-a7f9cdaafaeb</_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-03T17:53:04.7717638-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-03T17:53:04.7717638-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">8ccf7b27-bbd1-4b64-971f-d23a3e394cfb</_x003C_pes_idFiliacaoMae_x003E_k__BackingField> <_x003C_pes_idFiliacaoPai_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts">91a7ad3e-308b-4a60-890f-b3b7a90e60e2</_x003C_pes_idFiliacaoPai_x003E_k__BackingField> <_x003C_pes_id_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities.Abstracts">bb670fa1-66a1-4f8a-bded-38a69520a888</_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">91efef8e-1479-492c-9481-17f682f1eb3f</_x003C_tes_id_x003E_k__BackingField> <_x003C_gru_id_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities">cf418e42-5bfe-40b5-8d75-886e18ff6650</_x003C_gru_id_x003E_k__BackingField> <_x003C_pes_dataAlteracao_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.CoreSSO.Entities">2025-04-03T17:53:04.7717638-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-03T17:53:04.7717638-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">8d6e1788-0694-47da-9b9e-d5d810552923</_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">06812fef-08cf-4c50-b016-deaffbbc8716</_x003C_usu_id_x003E_k__BackingField> </pessoa> </SYS_UsuarioDTO>