OnlineScheduler
Click here here, for a full list of operations.
AddStaffWorkSchedule
SOAP 1.2
Below is an example of a request and answer SOAP 1.2. Instead placeholders real values should be given.
POST /OnlineScheduler.asmx HTTP/1.1
Host: localhost
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<AddStaffWorkSchedule xmlns="OnlineScheduler">
<WorkScheduleList>
<WorkSchedule>
<StaffID>string</StaffID>
<DateFrom>dateTime</DateFrom>
<DateTo>dateTime</DateTo>
<HourFrom>string</HourFrom>
<HourTo>string</HourTo>
<IsAbsence>boolean</IsAbsence>
</WorkSchedule>
</WorkScheduleList>
<LanguageSymbol>string</LanguageSymbol>
</AddStaffWorkSchedule>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<AddStaffWorkScheduleResponse xmlns="OnlineScheduler">
<ErrorMessage>string</ErrorMessage>
<Status>None or OK or Failed</Status>
<Data>
<Collection>
<p_HOSPWSOnlineSchedulerAddStaffWorkScheduleDto>
<ExecutionStatus>byte</ExecutionStatus>
<ExecutionMessage>string</ExecutionMessage>
</p_HOSPWSOnlineSchedulerAddStaffWorkScheduleDto>
</Collection>
</Data>
</AddStaffWorkScheduleResponse>
</soap12:Body>
</soap12:Envelope>