POST api/workingschedules/updateworkingschedules
Request Information
URI Parameters
None.
Body Parameters
UpdateWorkingSchedulesRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeId | integer |
None. |
|
| WorkingDays | Collection of WorkingScheduleRequest |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmployeeId": 1,
"WorkingDays": [
{
"WorkingDate": "sample string 1",
"SystemWorkingShift": 2,
"OnlineWorkingShift": 3
},
{
"WorkingDate": "sample string 1",
"SystemWorkingShift": 2,
"OnlineWorkingShift": 3
}
]
}
application/xml, text/xml
Sample:
<UpdateWorkingSchedulesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.SharedModels.WebModels">
<EmployeeId>1</EmployeeId>
<WorkingDays>
<WorkingScheduleRequest>
<OnlineWorkingShift>3</OnlineWorkingShift>
<SystemWorkingShift>2</SystemWorkingShift>
<WorkingDate>sample string 1</WorkingDate>
</WorkingScheduleRequest>
<WorkingScheduleRequest>
<OnlineWorkingShift>3</OnlineWorkingShift>
<SystemWorkingShift>2</SystemWorkingShift>
<WorkingDate>sample string 1</WorkingDate>
</WorkingScheduleRequest>
</WorkingDays>
</UpdateWorkingSchedulesRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.