GET api/Agenda?idSetor={idSetor}&idEquipe={idEquipe}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
idSetor

integer

Required

idEquipe

integer

Required

Body Parameters

None.

Response Information

Resource Description

RespostaApi
NameDescriptionTypeAdditional information
response

boolean

None.

message

string

None.

data

Collection of AgendaModels

None.

Response Formats

application/json, text/json

Sample:
{
  "response": true,
  "message": "sample string 2",
  "data": [
    {
      "ID": 1,
      "ID_SETOR": 2,
      "ID_EQUIPES": 3,
      "TITULO": "sample string 4",
      "DESCRICAO": "sample string 5",
      "DATA_EVENTO": "sample string 6",
      "TIPO": "sample string 7",
      "DT": "sample string 8",
      "Erro": "sample string 9",
      "ErroCode": 10
    },
    {
      "ID": 1,
      "ID_SETOR": 2,
      "ID_EQUIPES": 3,
      "TITULO": "sample string 4",
      "DESCRICAO": "sample string 5",
      "DATA_EVENTO": "sample string 6",
      "TIPO": "sample string 7",
      "DT": "sample string 8",
      "Erro": "sample string 9",
      "ErroCode": 10
    }
  ]
}

application/xml, text/xml

Sample:
<AgendaController.RespostaApi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LABAPI.Controllers">
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/LABAPI.Models">
    <d2p1:AgendaModels>
      <d2p1:DATA_EVENTO>sample string 6</d2p1:DATA_EVENTO>
      <d2p1:DESCRICAO>sample string 5</d2p1:DESCRICAO>
      <d2p1:DT>sample string 8</d2p1:DT>
      <d2p1:Erro>sample string 9</d2p1:Erro>
      <d2p1:ErroCode>10</d2p1:ErroCode>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:ID_EQUIPES>3</d2p1:ID_EQUIPES>
      <d2p1:ID_SETOR>2</d2p1:ID_SETOR>
      <d2p1:TIPO>sample string 7</d2p1:TIPO>
      <d2p1:TITULO>sample string 4</d2p1:TITULO>
    </d2p1:AgendaModels>
    <d2p1:AgendaModels>
      <d2p1:DATA_EVENTO>sample string 6</d2p1:DATA_EVENTO>
      <d2p1:DESCRICAO>sample string 5</d2p1:DESCRICAO>
      <d2p1:DT>sample string 8</d2p1:DT>
      <d2p1:Erro>sample string 9</d2p1:Erro>
      <d2p1:ErroCode>10</d2p1:ErroCode>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:ID_EQUIPES>3</d2p1:ID_EQUIPES>
      <d2p1:ID_SETOR>2</d2p1:ID_SETOR>
      <d2p1:TIPO>sample string 7</d2p1:TIPO>
      <d2p1:TITULO>sample string 4</d2p1:TITULO>
    </d2p1:AgendaModels>
  </data>
  <message>sample string 2</message>
  <response>true</response>
</AgendaController.RespostaApi>