{
"dutyOfficerID": 0,
"dutyDepartmentID": 0,
"workStartDate": "string",
"workEndDate": "string",
"shiftID": [
"string"
],
"isOffWork": 0,
"isRest": 0,
"canAppointment": "string",
"canFaceConsultation": 0
}
curl --location --request POST '/api/anon/openapi/crm/onDuty' \
--header 'FRHis-Open-Timestamp;' \
--header 'FRHis-Open-App-Id;' \
--header 'FRHis-Open-Token;' \
--header 'FRHis-Open-RequestID;' \
--header 'Content-Type: application/json' \
--data-raw '{
"dutyOfficerID": 0,
"dutyDepartmentID": 0,
"workStartDate": "string",
"workEndDate": "string",
"shiftID": [
"string"
],
"isOffWork": 0,
"isRest": 0,
"canAppointment": "string",
"canFaceConsultation": 0
}'
{
"errcode": 0,
"errmsg": "成功",
"data": [
{
"dutySerialNumber": 4682,
"dutyNumber": "00004682",
"dutyDepartmentID": 55,
"dutyOfficer": 3104,
"dutyDate": "2021-01-12 00:00:00",
"dutyDay": 12,
"dutyName": "测试",
"workStartTime": "09:00",
"workOffTime": "12:00",
"status": 1,
"remarks": null,
"appointmentType": null,
"faceConsultation": true
}
]
}