GET api/providers/{pid}/locations/{locationId}/serviceconfigs/previsions?justToday={justToday}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| pid | integer |
Required |
|
| locationId | integer |
Required |
|
| justToday | boolean |
Default value is True |
Body Parameters
None.
Response Information
Resource Description
Collection of ServiceConfigPrevisionsDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Prefix | string |
None. |
|
| ServiceNote | string |
None. |
|
| Type | ServiceConfigType |
None. |
|
| BusinessUnitId | integer |
None. |
|
| TicketsWaiting | TicketWaitDto |
None. |
|
| AverageTime | time interval |
None. |
|
| SelfServiceBookingEnabled | boolean |
None. |
|
| SelfServiceConfirmationEnabled | boolean |
None. |
|
| SelfServiceCheckinEnabled | boolean |
None. |
|
| IsEnabledPayment | boolean |
None. |
|
| SelfServiceBookingEnd | DateOptionViewModel |
None. |
|
| SelfServiceConfirmationStart | DateOptionViewModel |
None. |
|
| SelfServiceConfirmationEnd | DateOptionViewModel |
None. |
|
| SelfServiceCheckinStart | DateOptionViewModel |
None. |
|
| SelfServiceCheckinEnd | DateOptionViewModel |
None. |
|
| Room | RoomDto |
None. |
|
| IsEnabledTransferTicket | boolean |
None. |
|
| TransferTicketStatus | CustomerServiceStatus |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1,
"name": "sample string 2",
"prefix": "sample string 3",
"serviceNote": "sample string 4",
"type": 0,
"businessUnitId": 5,
"ticketsWaiting": {
"total": 1,
"nextPrevision": "2025-10-26T20:16:26.7795044Z"
},
"averageTime": "00:00:00.1234567",
"selfServiceBookingEnabled": true,
"selfServiceConfirmationEnabled": true,
"selfServiceCheckinEnabled": true,
"isEnabledPayment": true,
"selfServiceBookingEnd": {
"type": "sample string 1",
"value": "sample string 2",
"dateRef": "sample string 3"
},
"selfServiceConfirmationStart": {
"type": "sample string 1",
"value": "sample string 2",
"dateRef": "sample string 3"
},
"selfServiceConfirmationEnd": {
"type": "sample string 1",
"value": "sample string 2",
"dateRef": "sample string 3"
},
"selfServiceCheckinStart": {
"type": "sample string 1",
"value": "sample string 2",
"dateRef": "sample string 3"
},
"selfServiceCheckinEnd": {
"type": "sample string 1",
"value": "sample string 2",
"dateRef": "sample string 3"
},
"room": {
"id": 1,
"name": "sample string 2",
"description": "sample string 3",
"floor": "sample string 4",
"locationId": 1
},
"isEnabledTransferTicket": true,
"transferTicketStatus": 0
},
{
"id": 1,
"name": "sample string 2",
"prefix": "sample string 3",
"serviceNote": "sample string 4",
"type": 0,
"businessUnitId": 5,
"ticketsWaiting": {
"total": 1,
"nextPrevision": "2025-10-26T20:16:26.7795044Z"
},
"averageTime": "00:00:00.1234567",
"selfServiceBookingEnabled": true,
"selfServiceConfirmationEnabled": true,
"selfServiceCheckinEnabled": true,
"isEnabledPayment": true,
"selfServiceBookingEnd": {
"type": "sample string 1",
"value": "sample string 2",
"dateRef": "sample string 3"
},
"selfServiceConfirmationStart": {
"type": "sample string 1",
"value": "sample string 2",
"dateRef": "sample string 3"
},
"selfServiceConfirmationEnd": {
"type": "sample string 1",
"value": "sample string 2",
"dateRef": "sample string 3"
},
"selfServiceCheckinStart": {
"type": "sample string 1",
"value": "sample string 2",
"dateRef": "sample string 3"
},
"selfServiceCheckinEnd": {
"type": "sample string 1",
"value": "sample string 2",
"dateRef": "sample string 3"
},
"room": {
"id": 1,
"name": "sample string 2",
"description": "sample string 3",
"floor": "sample string 4",
"locationId": 1
},
"isEnabledTransferTicket": true,
"transferTicketStatus": 0
}
]
application/xml, text/xml
Sample:
<ArrayOfServiceConfigPrevisionsDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Filazero.Core.ServiceScheduleBoundedContext.Domain.Dtos">
<ServiceConfigPrevisionsDto>
<AverageTime>PT0.1234567S</AverageTime>
<BusinessUnitId>5</BusinessUnitId>
<Id>1</Id>
<IsEnabledPayment>true</IsEnabledPayment>
<IsEnabledTransferTicket>true</IsEnabledTransferTicket>
<Name>sample string 2</Name>
<Prefix>sample string 3</Prefix>
<Room>
<Description>sample string 3</Description>
<Floor>sample string 4</Floor>
<Id>1</Id>
<LocationId>1</LocationId>
<Name>sample string 2</Name>
</Room>
<SelfServiceBookingEnabled>true</SelfServiceBookingEnabled>
<SelfServiceBookingEnd>
<DateRef>sample string 3</DateRef>
<Type>sample string 1</Type>
<Value>sample string 2</Value>
</SelfServiceBookingEnd>
<SelfServiceCheckinEnabled>true</SelfServiceCheckinEnabled>
<SelfServiceCheckinEnd>
<DateRef>sample string 3</DateRef>
<Type>sample string 1</Type>
<Value>sample string 2</Value>
</SelfServiceCheckinEnd>
<SelfServiceCheckinStart>
<DateRef>sample string 3</DateRef>
<Type>sample string 1</Type>
<Value>sample string 2</Value>
</SelfServiceCheckinStart>
<SelfServiceConfirmationEnabled>true</SelfServiceConfirmationEnabled>
<SelfServiceConfirmationEnd>
<DateRef>sample string 3</DateRef>
<Type>sample string 1</Type>
<Value>sample string 2</Value>
</SelfServiceConfirmationEnd>
<SelfServiceConfirmationStart>
<DateRef>sample string 3</DateRef>
<Type>sample string 1</Type>
<Value>sample string 2</Value>
</SelfServiceConfirmationStart>
<ServiceNote>sample string 4</ServiceNote>
<TicketsWaiting>
<NextPrevision>2025-10-26T20:16:26.7795044+00:00</NextPrevision>
<Total>1</Total>
</TicketsWaiting>
<TransferTicketStatus>Opened</TransferTicketStatus>
<Type>TRADITIONAL</Type>
</ServiceConfigPrevisionsDto>
<ServiceConfigPrevisionsDto>
<AverageTime>PT0.1234567S</AverageTime>
<BusinessUnitId>5</BusinessUnitId>
<Id>1</Id>
<IsEnabledPayment>true</IsEnabledPayment>
<IsEnabledTransferTicket>true</IsEnabledTransferTicket>
<Name>sample string 2</Name>
<Prefix>sample string 3</Prefix>
<Room>
<Description>sample string 3</Description>
<Floor>sample string 4</Floor>
<Id>1</Id>
<LocationId>1</LocationId>
<Name>sample string 2</Name>
</Room>
<SelfServiceBookingEnabled>true</SelfServiceBookingEnabled>
<SelfServiceBookingEnd>
<DateRef>sample string 3</DateRef>
<Type>sample string 1</Type>
<Value>sample string 2</Value>
</SelfServiceBookingEnd>
<SelfServiceCheckinEnabled>true</SelfServiceCheckinEnabled>
<SelfServiceCheckinEnd>
<DateRef>sample string 3</DateRef>
<Type>sample string 1</Type>
<Value>sample string 2</Value>
</SelfServiceCheckinEnd>
<SelfServiceCheckinStart>
<DateRef>sample string 3</DateRef>
<Type>sample string 1</Type>
<Value>sample string 2</Value>
</SelfServiceCheckinStart>
<SelfServiceConfirmationEnabled>true</SelfServiceConfirmationEnabled>
<SelfServiceConfirmationEnd>
<DateRef>sample string 3</DateRef>
<Type>sample string 1</Type>
<Value>sample string 2</Value>
</SelfServiceConfirmationEnd>
<SelfServiceConfirmationStart>
<DateRef>sample string 3</DateRef>
<Type>sample string 1</Type>
<Value>sample string 2</Value>
</SelfServiceConfirmationStart>
<ServiceNote>sample string 4</ServiceNote>
<TicketsWaiting>
<NextPrevision>2025-10-26T20:16:26.7795044+00:00</NextPrevision>
<Total>1</Total>
</TicketsWaiting>
<TransferTicketStatus>Opened</TransferTicketStatus>
<Type>TRADITIONAL</Type>
</ServiceConfigPrevisionsDto>
</ArrayOfServiceConfigPrevisionsDto>