GET api/providers/{pid}/sessions/{sessionId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pid

integer

Required

sessionId

integer

Required

Body Parameters

None.

Response Information

Resource Description

SessionWithRecurrenceViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

EstimatedStart

date

None.

EstimatedEnd

date

None.

Duration

TimeSlot

None.

EmittedTicket

integer

None.

Capacity

integer

None.

Recurrence

RecurrenceViewModel

None.

SelfServiceBookingEnabled

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "estimatedStart": "2025-12-11T21:45:14.1268184Z",
  "estimatedEnd": "2025-12-11T21:46:14.1268184Z",
  "emittedTicket": 3,
  "capacity": 4,
  "recurrence": {
    "id": 1,
    "ocurrences": 1,
    "endDate": "2025-12-11T21:45:14.1268184Z",
    "period": 2,
    "weekdays": [
      0,
      0
    ],
    "startDate": "2025-12-11T21:45:14.1268184Z"
  },
  "selfServiceBookingEnabled": true
}

application/xml, text/xml

Sample:
<SessionWithRecurrenceViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Filazero.Core.ServiceScheduleBoundedContext.Application.ViewModels">
  <Capacity>4</Capacity>
  <EmittedTicket>3</EmittedTicket>
  <EstimatedStart>2025-12-11T21:45:14.1268184+00:00</EstimatedStart>
  <Id>1</Id>
  <Recurrence>
    <EndDate>2025-12-11T21:45:14.1268184+00:00</EndDate>
    <Id>1</Id>
    <Ocurrences>1</Ocurrences>
    <Period>2</Period>
    <StartDate>2025-12-11T21:45:14.1268184+00:00</StartDate>
    <Weekdays xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DayOfWeek>Sunday</d3p1:DayOfWeek>
      <d3p1:DayOfWeek>Sunday</d3p1:DayOfWeek>
    </Weekdays>
  </Recurrence>
  <SelfServiceBookingEnabled>true</SelfServiceBookingEnabled>
</SessionWithRecurrenceViewModel>