POST user/update_user_work_setting

更新用户工作时间

Request Information

URI Parameters

None.

Body Parameters

UpdateUserWorkSettingViewModel
NameDescriptionTypeAdditional information
mon_morning

boolean

None.

mon_afternoon

boolean

None.

mon_night

boolean

None.

tue_morning

boolean

None.

tue_afternoon

boolean

None.

tue_night

boolean

None.

wed_morning

boolean

None.

wed_afternoon

boolean

None.

wed_night

boolean

None.

thu_morning

boolean

None.

thu_afternoon

boolean

None.

thu_night

boolean

None.

fri_morning

boolean

None.

fri_afternoon

boolean

None.

fri_night

boolean

None.

sat_morning

boolean

None.

sat_afternoon

boolean

None.

sat_night

boolean

None.

sun_morning

boolean

None.

sun_afternoon

boolean

None.

sun_night

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "mon_morning": true,
  "mon_afternoon": true,
  "mon_night": true,
  "tue_morning": true,
  "tue_afternoon": true,
  "tue_night": true,
  "wed_morning": true,
  "wed_afternoon": true,
  "wed_night": true,
  "thu_morning": true,
  "thu_afternoon": true,
  "thu_night": true,
  "fri_morning": true,
  "fri_afternoon": true,
  "fri_night": true,
  "sat_morning": true,
  "sat_afternoon": true,
  "sat_night": true,
  "sun_morning": true,
  "sun_afternoon": true,
  "sun_night": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

更新用户工作时间

DataResponseOfUserDetailViewModel
NameDescriptionTypeAdditional information
code

integer

None.

message

string

None.

success

boolean

None.

data

UserDetailViewModel

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.