POST v1/protocolos
Descrição: recebe e persiste um protocolo no SGP para ser processado. -- Utilização: URL_API/protocolos
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
protocolo |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "pro_id": "b5ea5b30-fdf5-4fd1-8fa3-3b08204d99cf", "pro_tipo": 64, "pro_protocolo": 3, "pro_pacote": "sample string 4", "pro_status": 64, "pro_situacao": 64, "pro_dataCriacao": "2025-04-03T17:49:21.942982-03:00", "pro_dataalteracao": "2025-04-03T17:49:21.942982-03:00", "pro_versaoAplicativo": "sample string 9", "idAula": 10, "equ_id": "c14f95f7-d019-4e2f-9c60-fbb2be46aac3", "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_Protocolo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSTech.GestaoEscolar.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">c14f95f7-d019-4e2f-9c60-fbb2be46aac3</_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>10</_x003C_idAula_x003E_k__BackingField> <_x003C_pro_dataCriacao_x003E_k__BackingField>2025-04-03T17:49:21.942982-03:00</_x003C_pro_dataCriacao_x003E_k__BackingField> <_x003C_pro_dataalteracao_x003E_k__BackingField>2025-04-03T17:49:21.942982-03:00</_x003C_pro_dataalteracao_x003E_k__BackingField> <_x003C_pro_id_x003E_k__BackingField>b5ea5b30-fdf5-4fd1-8fa3-3b08204d99cf</_x003C_pro_id_x003E_k__BackingField> <_x003C_pro_pacote_x003E_k__BackingField>sample string 4</_x003C_pro_pacote_x003E_k__BackingField> <_x003C_pro_protocolo_x003E_k__BackingField>3</_x003C_pro_protocolo_x003E_k__BackingField> <_x003C_pro_situacao_x003E_k__BackingField>64</_x003C_pro_situacao_x003E_k__BackingField> <_x003C_pro_status_x003E_k__BackingField>64</_x003C_pro_status_x003E_k__BackingField> <_x003C_pro_tipo_x003E_k__BackingField>64</_x003C_pro_tipo_x003E_k__BackingField> <_x003C_pro_versaoAplicativo_x003E_k__BackingField>sample string 9</_x003C_pro_versaoAplicativo_x003E_k__BackingField> </DCL_Protocolo>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/csv
Sample:
Sample not available.