GET v1/protocolos/{id}
Descrição: retorna um registro de protocolo pelo id (Guid) -- Utilização: URL_API/protocolos/00000000-0000-0000-0000-000000000000 -- Parâmetros: id= id do protocolo (pro_id)
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
id | pro_id=id do protocolo |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{ "pro_id": "faa13416-4262-4452-8968-e538c54d3857", "pro_tipo": 64, "pro_protocolo": 3, "pro_pacote": "sample string 4", "pro_status": 64, "pro_situacao": 64, "pro_dataCriacao": "2025-04-03T17:54:53.530869-03:00", "pro_dataalteracao": "2025-04-03T17:54:53.530869-03:00", "pro_versaoAplicativo": "sample string 9", "idAula": 10, "equ_id": "24d83adb-2f8f-4bbb-bdbe-5ac80c825f9e", "pro_statusObservacao": "sample string 12", "tur_id": 13, "tud_id": 14, "tau_id": 15, "pro_qtdeAlunos": 16, "pro_tentativa": 17, "esc_id": 18, "IsNew": true }
text/xml
Sample:
<DCL_ProtocoloDTO 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_equ_id_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.GestaoEscolar.Entities.Abstracts">24d83adb-2f8f-4bbb-bdbe-5ac80c825f9e</_x003C_equ_id_x003E_k__BackingField> <_x003C_esc_id_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.GestaoEscolar.Entities.Abstracts">18</_x003C_esc_id_x003E_k__BackingField> <_x003C_pro_dataCriacao_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.GestaoEscolar.Entities.Abstracts">0001-01-01T00:00:00</_x003C_pro_dataCriacao_x003E_k__BackingField> <_x003C_pro_dataalteracao_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.GestaoEscolar.Entities.Abstracts">0001-01-01T00:00:00</_x003C_pro_dataalteracao_x003E_k__BackingField> <_x003C_pro_id_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.GestaoEscolar.Entities.Abstracts">00000000-0000-0000-0000-000000000000</_x003C_pro_id_x003E_k__BackingField> <_x003C_pro_pacote_x003E_k__BackingField i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/MSTech.GestaoEscolar.Entities.Abstracts" /> <_x003C_pro_protocolo_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.GestaoEscolar.Entities.Abstracts">0</_x003C_pro_protocolo_x003E_k__BackingField> <_x003C_pro_qtdeAlunos_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.GestaoEscolar.Entities.Abstracts">16</_x003C_pro_qtdeAlunos_x003E_k__BackingField> <_x003C_pro_situacao_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.GestaoEscolar.Entities.Abstracts">0</_x003C_pro_situacao_x003E_k__BackingField> <_x003C_pro_statusObservacao_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.GestaoEscolar.Entities.Abstracts">sample string 12</_x003C_pro_statusObservacao_x003E_k__BackingField> <_x003C_pro_status_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.GestaoEscolar.Entities.Abstracts">0</_x003C_pro_status_x003E_k__BackingField> <_x003C_pro_tentativa_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.GestaoEscolar.Entities.Abstracts">17</_x003C_pro_tentativa_x003E_k__BackingField> <_x003C_pro_tipo_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.GestaoEscolar.Entities.Abstracts">0</_x003C_pro_tipo_x003E_k__BackingField> <_x003C_pro_versaoAplicativo_x003E_k__BackingField i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/MSTech.GestaoEscolar.Entities.Abstracts" /> <_x003C_tau_id_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.GestaoEscolar.Entities.Abstracts">15</_x003C_tau_id_x003E_k__BackingField> <_x003C_tud_id_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.GestaoEscolar.Entities.Abstracts">14</_x003C_tud_id_x003E_k__BackingField> <_x003C_tur_id_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.GestaoEscolar.Entities.Abstracts">13</_x003C_tur_id_x003E_k__BackingField> <_x003C_idAula_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.GestaoEscolar.Entities">10</_x003C_idAula_x003E_k__BackingField> <_x003C_pro_dataCriacao_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.GestaoEscolar.Entities">2025-04-03T17:54:53.530869-03:00</_x003C_pro_dataCriacao_x003E_k__BackingField> <_x003C_pro_dataalteracao_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.GestaoEscolar.Entities">2025-04-03T17:54:53.530869-03:00</_x003C_pro_dataalteracao_x003E_k__BackingField> <_x003C_pro_id_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.GestaoEscolar.Entities">faa13416-4262-4452-8968-e538c54d3857</_x003C_pro_id_x003E_k__BackingField> <_x003C_pro_pacote_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.GestaoEscolar.Entities">sample string 4</_x003C_pro_pacote_x003E_k__BackingField> <_x003C_pro_protocolo_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.GestaoEscolar.Entities">3</_x003C_pro_protocolo_x003E_k__BackingField> <_x003C_pro_situacao_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.GestaoEscolar.Entities">64</_x003C_pro_situacao_x003E_k__BackingField> <_x003C_pro_status_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.GestaoEscolar.Entities">64</_x003C_pro_status_x003E_k__BackingField> <_x003C_pro_tipo_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.GestaoEscolar.Entities">64</_x003C_pro_tipo_x003E_k__BackingField> <_x003C_pro_versaoAplicativo_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MSTech.GestaoEscolar.Entities">sample string 9</_x003C_pro_versaoAplicativo_x003E_k__BackingField> </DCL_ProtocoloDTO>