GET v2/Protocolo?DATA_INIC={DATA_INIC}&DATA_FINA={DATA_FINA}&PROT_RECE_ID={PROT_RECE_ID}&corrId={corrId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
DATA_INIC

date

Required

DATA_FINA

date

Required

PROT_RECE_ID

integer

Required

corrId

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

ProtocoloResponse
NameDescriptionTypeAdditional information
Itens

Collection of ProtocoloItem

None.

CodigoResponse

integer

None.

MensagemResponse

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Itens": [
    {
      "Id": 1,
      "Data": "2025-01-09T05:23:44.2281628-03:00",
      "Situacao": "sample string 3",
      "Tipo": "sample string 4",
      "Qtde": 5
    },
    {
      "Id": 1,
      "Data": "2025-01-09T05:23:44.2281628-03:00",
      "Situacao": "sample string 3",
      "Tipo": "sample string 4",
      "Qtde": 5
    }
  ],
  "CodigoResponse": 1,
  "MensagemResponse": "sample string 2"
}

application/xml, text/xml

Sample:
<ProtocoloResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Service.Controllers.ServicosApiV2.Protocolo">
  <CodigoResponse xmlns="http://schemas.datacontract.org/2004/07/Service.Controllers.ServicosApiV2">1</CodigoResponse>
  <MensagemResponse xmlns="http://schemas.datacontract.org/2004/07/Service.Controllers.ServicosApiV2">sample string 2</MensagemResponse>
  <Itens>
    <ProtocoloItem>
      <Data>2025-01-09T05:23:44.2281628-03:00</Data>
      <Id>1</Id>
      <Qtde>5</Qtde>
      <Situacao>sample string 3</Situacao>
      <Tipo>sample string 4</Tipo>
    </ProtocoloItem>
    <ProtocoloItem>
      <Data>2025-01-09T05:23:44.2281628-03:00</Data>
      <Id>1</Id>
      <Qtde>5</Qtde>
      <Situacao>sample string 3</Situacao>
      <Tipo>sample string 4</Tipo>
    </ProtocoloItem>
  </Itens>
</ProtocoloResponse>

multipart/form-data

Sample:
<ProtocoloResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Service.Controllers.ServicosApiV2.Protocolo"><CodigoResponse xmlns="http://schemas.datacontract.org/2004/07/Service.Controllers.ServicosApiV2">1</CodigoResponse><MensagemResponse xmlns="http://schemas.datacontract.org/2004/07/Service.Controllers.ServicosApiV2">sample string 2</MensagemResponse><Itens><ProtocoloItem><Data>2025-01-09T05:23:44.2281628-03:00</Data><Id>1</Id><Qtde>5</Qtde><Situacao>sample string 3</Situacao><Tipo>sample string 4</Tipo></ProtocoloItem><ProtocoloItem><Data>2025-01-09T05:23:44.2281628-03:00</Data><Id>1</Id><Qtde>5</Qtde><Situacao>sample string 3</Situacao><Tipo>sample string 4</Tipo></ProtocoloItem></Itens></ProtocoloResponse>