POST api/providers/{pid}/locations/{locationId}/sessions
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| pid | integer |
Required |
|
| locationId | integer |
Required |
Body Parameters
AddServiceSessionModel| Name | Description | Type | Additional 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
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.