GET api/providers/{pid}/locations/{locationId}/serviceconfigs/transfer

Obtém lista com todas as configurações de atendimento

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pid

Id da Empresa

integer

Required

locationId

Id da Unidade de negócio

integer

Required

Body Parameters

None.

Response Information

Resource Description

Lista de configurações de atendimento

Collection of ServiceConfigTransferViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

BusinessUnitId

integer

None.

Capacity

integer

None.

Utilization

integer

None.

HasSlotLeft

boolean

None.

Name

string

None.

EstimatedEndTime

date

None.

Type

ServiceConfigType

None.

Attendants

Collection of SingleItemViewModel

None.

AttendenceServiceType

AttendenceServiceType

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "businessUnitId": 2,
    "capacity": 3,
    "utilization": 4,
    "hasSlotLeft": true,
    "name": "sample string 6",
    "estimatedEndTime": "2025-10-26T20:17:12.5201142Z",
    "type": 0,
    "attendants": [
      {
        "id": 1,
        "name": "sample string 2"
      },
      {
        "id": 1,
        "name": "sample string 2"
      }
    ],
    "attendenceServiceType": 0
  },
  {
    "id": 1,
    "businessUnitId": 2,
    "capacity": 3,
    "utilization": 4,
    "hasSlotLeft": true,
    "name": "sample string 6",
    "estimatedEndTime": "2025-10-26T20:17:12.5201142Z",
    "type": 0,
    "attendants": [
      {
        "id": 1,
        "name": "sample string 2"
      },
      {
        "id": 1,
        "name": "sample string 2"
      }
    ],
    "attendenceServiceType": 0
  }
]

application/xml, text/xml

Sample:
<ArrayOfServiceConfigTransferViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Filazero.Core.ServiceScheduleBoundedContext.Application.ViewModels">
  <ServiceConfigTransferViewModel>
    <Attendants>
      <ReadServiceConfigViewModel.SingleItemViewModel>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </ReadServiceConfigViewModel.SingleItemViewModel>
      <ReadServiceConfigViewModel.SingleItemViewModel>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </ReadServiceConfigViewModel.SingleItemViewModel>
    </Attendants>
    <AttendenceServiceType>PRESENTIAL</AttendenceServiceType>
    <BusinessUnitId>2</BusinessUnitId>
    <Capacity>3</Capacity>
    <EstimatedEndTime>2025-10-26T20:17:12.5201142+00:00</EstimatedEndTime>
    <HasSlotLeft>true</HasSlotLeft>
    <Id>1</Id>
    <Name>sample string 6</Name>
    <Type>TRADITIONAL</Type>
    <Utilization>4</Utilization>
  </ServiceConfigTransferViewModel>
  <ServiceConfigTransferViewModel>
    <Attendants>
      <ReadServiceConfigViewModel.SingleItemViewModel>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </ReadServiceConfigViewModel.SingleItemViewModel>
      <ReadServiceConfigViewModel.SingleItemViewModel>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </ReadServiceConfigViewModel.SingleItemViewModel>
    </Attendants>
    <AttendenceServiceType>PRESENTIAL</AttendenceServiceType>
    <BusinessUnitId>2</BusinessUnitId>
    <Capacity>3</Capacity>
    <EstimatedEndTime>2025-10-26T20:17:12.5201142+00:00</EstimatedEndTime>
    <HasSlotLeft>true</HasSlotLeft>
    <Id>1</Id>
    <Name>sample string 6</Name>
    <Type>TRADITIONAL</Type>
    <Utilization>4</Utilization>
  </ServiceConfigTransferViewModel>
</ArrayOfServiceConfigTransferViewModel>