POST api/providers/{pid}/locations/{locationId}/sessions

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pid

integer

Required

locationId

integer

Required

Body Parameters

AddServiceSessionModel
NameDescriptionTypeAdditional information
ServiceConfigId

integer

Required

EstimatedStartTime

date

Required

Duration

string

Required

Capacity

integer

Required

Range: inclusive between 1 and 99999

SelfServiceBookingEnabled

boolean

Required

AverageTime

integer

None.

BulkUpdate

boolean

None.

Recurrence

RecurrenceModel

None.

Interval

Interval

None.

Request Formats

application/json, text/json

Sample:
{
  "serviceConfigId": 1,
  "estimatedStartTime": "2025-10-26T20:13:38.290472Z",
  "duration": "sample string 3",
  "capacity": 4,
  "selfServiceBookingEnabled": true,
  "averageTime": 1,
  "bulkUpdate": true,
  "recurrence": {
    "period": 1,
    "startDate": "2025-10-26T20:13:38.290472Z",
    "ocurrences": 1,
    "endDate": "2025-10-26T20:13:38.290472Z",
    "weekdays": [
      1,
      2
    ]
  }
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.