POST api/Time/Attend/Settings/Class/Update

Request Information

URI Parameters

None.

Body Parameters

Class
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

WorkTime1

WorkTime1

None.

WorkTime2

WorkTime2

None.

IsOffDutyFreeCheck

boolean

None.

SectionsCount

integer

None.

Late

Late

None.

LeaveEarly

LeaveEarly

None.

WorkMinutes

integer

None.

Color

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "workTime1": {
    "workTimeBeginTime1": "sample string 1",
    "workTimeBeginAcross1": true,
    "workTimeBeginRange1": 3,
    "workTimeEndTime1": "sample string 4",
    "workTimeEndAcross1": true,
    "workTimeEndRange1": 6
  },
  "workTime2": {
    "workTimeBeginTime2": "sample string 1",
    "workTimeBeginAcross2": true,
    "workTimeBeginRange2": 3,
    "workTimeEndTime2": "sample string 4",
    "workTimeEndAcross2": true,
    "workTimeEndRange2": 6
  },
  "isOffDutyFreeCheck": true,
  "sectionsCount": 4,
  "late": {
    "late1": 1,
    "late2": 2
  },
  "leaveEarly": {
    "leaveEarly1": 1,
    "leaveEarly2": 2
  },
  "workMinutes": 5,
  "color": "sample string 6"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResultOfBoolean
NameDescriptionTypeAdditional information
code

integer

None.

message

string

None.

result

boolean

None.

Response Formats

application/json, text/json

Sample:

Sample not available.