GET Api/Exporta/ListPrevisaoProducao?_idLotacao={_idLotacao}&_idSetor={_idSetor}&_competencia={_competencia}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
_idLotacao

integer

Required

_idSetor

integer

Required

_competencia

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ExportaPrevisaoProducao
NameDescriptionTypeAdditional information
CD_TIPO_ESCALA

integer

None.

DE_TIPO_ESCALA

string

None.

CPF

string

None.

CD_COOPERADO

integer

None.

NM_COOPERADO

string

None.

CD_LOTACAO

integer

None.

DE_LOTACAO

string

None.

CD_SETOR

integer

None.

CD_SETOR_EXTERNO

integer

None.

DE_SETOR

string

None.

CD_FUNCAO

integer

None.

DE_FUNCAO

string

None.

DT_ESCALA

date

None.

CD_HORARIO_TRABALHO

integer

None.

DE_HORARIO_TRABALHO

string

None.

DE_SIGLA_HORARIO_TRABALHO

string

None.

NR_DIAS

integer

None.

HORA_INICIO

time interval

None.

HORA_FIM

time interval

None.

NR_HORAS_DESCANSO

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CD_TIPO_ESCALA": 1,
    "DE_TIPO_ESCALA": "sample string 2",
    "CPF": "sample string 3",
    "CD_COOPERADO": 4,
    "NM_COOPERADO": "sample string 5",
    "CD_LOTACAO": 6,
    "DE_LOTACAO": "sample string 7",
    "CD_SETOR": 8,
    "CD_SETOR_EXTERNO": 1,
    "DE_SETOR": "sample string 9",
    "CD_FUNCAO": 10,
    "DE_FUNCAO": "sample string 11",
    "DT_ESCALA": "2025-08-03T05:36:16.6070325-03:00",
    "CD_HORARIO_TRABALHO": 13,
    "DE_HORARIO_TRABALHO": "sample string 14",
    "DE_SIGLA_HORARIO_TRABALHO": "sample string 15",
    "NR_DIAS": 16,
    "HORA_INICIO": "00:00:00.1234567",
    "HORA_FIM": "00:00:00.1234567",
    "NR_HORAS_DESCANSO": 19
  },
  {
    "CD_TIPO_ESCALA": 1,
    "DE_TIPO_ESCALA": "sample string 2",
    "CPF": "sample string 3",
    "CD_COOPERADO": 4,
    "NM_COOPERADO": "sample string 5",
    "CD_LOTACAO": 6,
    "DE_LOTACAO": "sample string 7",
    "CD_SETOR": 8,
    "CD_SETOR_EXTERNO": 1,
    "DE_SETOR": "sample string 9",
    "CD_FUNCAO": 10,
    "DE_FUNCAO": "sample string 11",
    "DT_ESCALA": "2025-08-03T05:36:16.6070325-03:00",
    "CD_HORARIO_TRABALHO": 13,
    "DE_HORARIO_TRABALHO": "sample string 14",
    "DE_SIGLA_HORARIO_TRABALHO": "sample string 15",
    "NR_DIAS": 16,
    "HORA_INICIO": "00:00:00.1234567",
    "HORA_FIM": "00:00:00.1234567",
    "NR_HORAS_DESCANSO": 19
  }
]

application/xml, text/xml

Sample:
<ArrayOfExportaPrevisaoProducao xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GCOOP.EntityLayer.WebAPI">
  <ExportaPrevisaoProducao>
    <CD_COOPERADO>4</CD_COOPERADO>
    <CD_FUNCAO>10</CD_FUNCAO>
    <CD_HORARIO_TRABALHO>13</CD_HORARIO_TRABALHO>
    <CD_LOTACAO>6</CD_LOTACAO>
    <CD_SETOR>8</CD_SETOR>
    <CD_SETOR_EXTERNO>1</CD_SETOR_EXTERNO>
    <CD_TIPO_ESCALA>1</CD_TIPO_ESCALA>
    <CPF>sample string 3</CPF>
    <DE_FUNCAO>sample string 11</DE_FUNCAO>
    <DE_HORARIO_TRABALHO>sample string 14</DE_HORARIO_TRABALHO>
    <DE_LOTACAO>sample string 7</DE_LOTACAO>
    <DE_SETOR>sample string 9</DE_SETOR>
    <DE_SIGLA_HORARIO_TRABALHO>sample string 15</DE_SIGLA_HORARIO_TRABALHO>
    <DE_TIPO_ESCALA>sample string 2</DE_TIPO_ESCALA>
    <DT_ESCALA>2025-08-03T05:36:16.6070325-03:00</DT_ESCALA>
    <HORA_FIM>PT0.1234567S</HORA_FIM>
    <HORA_INICIO>PT0.1234567S</HORA_INICIO>
    <NM_COOPERADO>sample string 5</NM_COOPERADO>
    <NR_DIAS>16</NR_DIAS>
    <NR_HORAS_DESCANSO>19</NR_HORAS_DESCANSO>
  </ExportaPrevisaoProducao>
  <ExportaPrevisaoProducao>
    <CD_COOPERADO>4</CD_COOPERADO>
    <CD_FUNCAO>10</CD_FUNCAO>
    <CD_HORARIO_TRABALHO>13</CD_HORARIO_TRABALHO>
    <CD_LOTACAO>6</CD_LOTACAO>
    <CD_SETOR>8</CD_SETOR>
    <CD_SETOR_EXTERNO>1</CD_SETOR_EXTERNO>
    <CD_TIPO_ESCALA>1</CD_TIPO_ESCALA>
    <CPF>sample string 3</CPF>
    <DE_FUNCAO>sample string 11</DE_FUNCAO>
    <DE_HORARIO_TRABALHO>sample string 14</DE_HORARIO_TRABALHO>
    <DE_LOTACAO>sample string 7</DE_LOTACAO>
    <DE_SETOR>sample string 9</DE_SETOR>
    <DE_SIGLA_HORARIO_TRABALHO>sample string 15</DE_SIGLA_HORARIO_TRABALHO>
    <DE_TIPO_ESCALA>sample string 2</DE_TIPO_ESCALA>
    <DT_ESCALA>2025-08-03T05:36:16.6070325-03:00</DT_ESCALA>
    <HORA_FIM>PT0.1234567S</HORA_FIM>
    <HORA_INICIO>PT0.1234567S</HORA_INICIO>
    <NM_COOPERADO>sample string 5</NM_COOPERADO>
    <NR_DIAS>16</NR_DIAS>
    <NR_HORAS_DESCANSO>19</NR_HORAS_DESCANSO>
  </ExportaPrevisaoProducao>
</ArrayOfExportaPrevisaoProducao>