PUT api/WorkSchedule/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

EditWorkScheduleCommand
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

IsEnable

boolean

None.

EmployeeTypeIds

Collection of integer

None.

WorkScheduleDays

Collection of string

None.

UserId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "IsEnable": true,
  "EmployeeTypeIds": [
    1,
    2
  ],
  "WorkScheduleDays": [
    "sample string 1",
    "sample string 2"
  ],
  "UserId": "sample string 4"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.