PUT api/providers/{pid}/locations/{locationId}/sessions/{sessionId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pid

integer

Required

sessionId

integer

Required

locationId

string

None.

Body Parameters

EditServiceSessionModel
NameDescriptionTypeAdditional information
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:
{
  "estimatedStartTime": "2025-10-26T20:13:38.6497996Z",
  "duration": "sample string 2",
  "capacity": 3,
  "selfServiceBookingEnabled": true,
  "averageTime": 1,
  "bulkUpdate": true,
  "recurrence": {
    "period": 1,
    "startDate": "2025-10-26T20:13:38.6497996Z",
    "ocurrences": 1,
    "endDate": "2025-10-26T20:13:38.6497996Z",
    "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.