Updates the unavailability with the specified ID.
PUT http:///api/v2/business/{businessId}/unavailability/{id}
| Parameter name | Value | Description | Additional |
|---|---|---|---|
| id | int32 | Required | |
| businessId | string | Required |
The request body takes a complete UnavailabilitySaveModel resource, containing the following writable properties:
{
"employeeId": "int32",
"endDate": "date-time",
"fromDate": "date-time",
"id": "int32",
"reason": "string",
"recurring": "boolean",
"recurringDay": "string",
"toDate": "date-time"
}
| Name | Type | Description |
|---|---|---|
| employeeId | int32 | Int32 |
| endDate | date-time |
Nullable |
| fromDate | date-time | DateTime |
| id | int32 | Int32 |
| reason | string | String |
| recurring | boolean | Boolean |
| recurringDay | string |
Nullable Possible values are:
|
| toDate | date-time |
Nullable |
The following HTTP status codes may be returned, optionally with a response resource.
| Status code | Description | Resource |
|---|---|---|
| 200 | OK OK |
Powered by DapperDox