employee


Click here for a complete list of operations.

removeholiday

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
holiday:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /webmethod/employee.asmx HTTP/1.1
Host: zaincare.docmate.app
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/removeholiday"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <removeholiday xmlns="http://tempuri.org/">
      <holiday>int</holiday>
    </removeholiday>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <removeholidayResponse xmlns="http://tempuri.org/">
      <removeholidayResult>
        <status>boolean</status>
        <message>string</message>
        <emp>
          <dutyrotaemployeelist>
            <Employeeid>int</Employeeid>
            <Employeename>string</Employeename>
            <breaktim xsi:nil="true" />
          </dutyrotaemployeelist>
          <dutyrotaemployeelist>
            <Employeeid>int</Employeeid>
            <Employeename>string</Employeename>
            <breaktim xsi:nil="true" />
          </dutyrotaemployeelist>
        </emp>
        <time>
          <scheduletime>
            <schtime>dateTime</schtime>
            <apoint xsi:nil="true" />
            <breakflag>boolean</breakflag>
          </scheduletime>
          <scheduletime>
            <schtime>dateTime</schtime>
            <apoint xsi:nil="true" />
            <breakflag>boolean</breakflag>
          </scheduletime>
        </time>
        <holiday>
          <Id>int</Id>
          <Holidaydate>dateTime</Holidaydate>
          <Inactive>boolean</Inactive>
          <Holidaytitle>string</Holidaytitle>
        </holiday>
        <emplist>
          <dutyrotaemployeelist>
            <Employeeid>int</Employeeid>
            <Employeename>string</Employeename>
            <breaktim xsi:nil="true" />
          </dutyrotaemployeelist>
          <dutyrotaemployeelist>
            <Employeeid>int</Employeeid>
            <Employeename>string</Employeename>
            <breaktim xsi:nil="true" />
          </dutyrotaemployeelist>
        </emplist>
        <dept>
          <GM_Department>
            <DepartmentID>int</DepartmentID>
            <Title>string</Title>
            <Code>string</Code>
            <DepartmentTypeID>int</DepartmentTypeID>
            <Description>string</Description>
            <ShortCode>string</ShortCode>
          </GM_Department>
          <GM_Department>
            <DepartmentID>int</DepartmentID>
            <Title>string</Title>
            <Code>string</Code>
            <DepartmentTypeID>int</DepartmentTypeID>
            <Description>string</Description>
            <ShortCode>string</ShortCode>
          </GM_Department>
        </dept>
        <holidays>
          <tblholiday>
            <Id>int</Id>
            <Holidaydate>dateTime</Holidaydate>
            <Inactive>boolean</Inactive>
            <Holidaytitle>string</Holidaytitle>
          </tblholiday>
          <tblholiday>
            <Id>int</Id>
            <Holidaydate>dateTime</Holidaydate>
            <Inactive>boolean</Inactive>
            <Holidaytitle>string</Holidaytitle>
          </tblholiday>
        </holidays>
      </removeholidayResult>
    </removeholidayResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /webmethod/employee.asmx HTTP/1.1
Host: zaincare.docmate.app
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>
    <removeholiday xmlns="http://tempuri.org/">
      <holiday>int</holiday>
    </removeholiday>
  </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>
    <removeholidayResponse xmlns="http://tempuri.org/">
      <removeholidayResult>
        <status>boolean</status>
        <message>string</message>
        <emp>
          <dutyrotaemployeelist>
            <Employeeid>int</Employeeid>
            <Employeename>string</Employeename>
            <breaktim xsi:nil="true" />
          </dutyrotaemployeelist>
          <dutyrotaemployeelist>
            <Employeeid>int</Employeeid>
            <Employeename>string</Employeename>
            <breaktim xsi:nil="true" />
          </dutyrotaemployeelist>
        </emp>
        <time>
          <scheduletime>
            <schtime>dateTime</schtime>
            <apoint xsi:nil="true" />
            <breakflag>boolean</breakflag>
          </scheduletime>
          <scheduletime>
            <schtime>dateTime</schtime>
            <apoint xsi:nil="true" />
            <breakflag>boolean</breakflag>
          </scheduletime>
        </time>
        <holiday>
          <Id>int</Id>
          <Holidaydate>dateTime</Holidaydate>
          <Inactive>boolean</Inactive>
          <Holidaytitle>string</Holidaytitle>
        </holiday>
        <emplist>
          <dutyrotaemployeelist>
            <Employeeid>int</Employeeid>
            <Employeename>string</Employeename>
            <breaktim xsi:nil="true" />
          </dutyrotaemployeelist>
          <dutyrotaemployeelist>
            <Employeeid>int</Employeeid>
            <Employeename>string</Employeename>
            <breaktim xsi:nil="true" />
          </dutyrotaemployeelist>
        </emplist>
        <dept>
          <GM_Department>
            <DepartmentID>int</DepartmentID>
            <Title>string</Title>
            <Code>string</Code>
            <DepartmentTypeID>int</DepartmentTypeID>
            <Description>string</Description>
            <ShortCode>string</ShortCode>
          </GM_Department>
          <GM_Department>
            <DepartmentID>int</DepartmentID>
            <Title>string</Title>
            <Code>string</Code>
            <DepartmentTypeID>int</DepartmentTypeID>
            <Description>string</Description>
            <ShortCode>string</ShortCode>
          </GM_Department>
        </dept>
        <holidays>
          <tblholiday>
            <Id>int</Id>
            <Holidaydate>dateTime</Holidaydate>
            <Inactive>boolean</Inactive>
            <Holidaytitle>string</Holidaytitle>
          </tblholiday>
          <tblholiday>
            <Id>int</Id>
            <Holidaydate>dateTime</Holidaydate>
            <Inactive>boolean</Inactive>
            <Holidaytitle>string</Holidaytitle>
          </tblholiday>
        </holidays>
      </removeholidayResult>
    </removeholidayResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /webmethod/employee.asmx/removeholiday?holiday=string HTTP/1.1
Host: zaincare.docmate.app
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<rtndutyrota xmlns="http://tempuri.org/">
  <status>boolean</status>
  <message>string</message>
  <emp>
    <dutyrotaemployeelist>
      <Employeeid>int</Employeeid>
      <Employeename>string</Employeename>
      <breaktim>
        <tblemployeebreaktime d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <tblemployeebreaktime d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </breaktim>
    </dutyrotaemployeelist>
    <dutyrotaemployeelist>
      <Employeeid>int</Employeeid>
      <Employeename>string</Employeename>
      <breaktim>
        <tblemployeebreaktime d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <tblemployeebreaktime d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </breaktim>
    </dutyrotaemployeelist>
  </emp>
  <time>
    <scheduletime>
      <schtime>dateTime</schtime>
      <apoint>
        <appointments d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <appointments d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </apoint>
      <breakflag>boolean</breakflag>
    </scheduletime>
    <scheduletime>
      <schtime>dateTime</schtime>
      <apoint>
        <appointments d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <appointments d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </apoint>
      <breakflag>boolean</breakflag>
    </scheduletime>
  </time>
  <holiday>
    <Id>int</Id>
    <Holidaydate>dateTime</Holidaydate>
    <Inactive>boolean</Inactive>
    <Holidaytitle>string</Holidaytitle>
  </holiday>
  <emplist>
    <dutyrotaemployeelist>
      <Employeeid>int</Employeeid>
      <Employeename>string</Employeename>
      <breaktim>
        <tblemployeebreaktime d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <tblemployeebreaktime d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </breaktim>
    </dutyrotaemployeelist>
    <dutyrotaemployeelist>
      <Employeeid>int</Employeeid>
      <Employeename>string</Employeename>
      <breaktim>
        <tblemployeebreaktime d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <tblemployeebreaktime d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </breaktim>
    </dutyrotaemployeelist>
  </emplist>
  <dept>
    <GM_Department>
      <DepartmentID>int</DepartmentID>
      <Title>string</Title>
      <Code>string</Code>
      <DepartmentTypeID>int</DepartmentTypeID>
      <Description>string</Description>
      <ShortCode>string</ShortCode>
    </GM_Department>
    <GM_Department>
      <DepartmentID>int</DepartmentID>
      <Title>string</Title>
      <Code>string</Code>
      <DepartmentTypeID>int</DepartmentTypeID>
      <Description>string</Description>
      <ShortCode>string</ShortCode>
    </GM_Department>
  </dept>
  <holidays>
    <tblholiday>
      <Id>int</Id>
      <Holidaydate>dateTime</Holidaydate>
      <Inactive>boolean</Inactive>
      <Holidaytitle>string</Holidaytitle>
    </tblholiday>
    <tblholiday>
      <Id>int</Id>
      <Holidaydate>dateTime</Holidaydate>
      <Inactive>boolean</Inactive>
      <Holidaytitle>string</Holidaytitle>
    </tblholiday>
  </holidays>
</rtndutyrota>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /webmethod/employee.asmx/removeholiday HTTP/1.1
Host: zaincare.docmate.app
Content-Type: application/x-www-form-urlencoded
Content-Length: length

holiday=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<rtndutyrota xmlns="http://tempuri.org/">
  <status>boolean</status>
  <message>string</message>
  <emp>
    <dutyrotaemployeelist>
      <Employeeid>int</Employeeid>
      <Employeename>string</Employeename>
      <breaktim>
        <tblemployeebreaktime d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <tblemployeebreaktime d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </breaktim>
    </dutyrotaemployeelist>
    <dutyrotaemployeelist>
      <Employeeid>int</Employeeid>
      <Employeename>string</Employeename>
      <breaktim>
        <tblemployeebreaktime d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <tblemployeebreaktime d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </breaktim>
    </dutyrotaemployeelist>
  </emp>
  <time>
    <scheduletime>
      <schtime>dateTime</schtime>
      <apoint>
        <appointments d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <appointments d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </apoint>
      <breakflag>boolean</breakflag>
    </scheduletime>
    <scheduletime>
      <schtime>dateTime</schtime>
      <apoint>
        <appointments d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <appointments d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </apoint>
      <breakflag>boolean</breakflag>
    </scheduletime>
  </time>
  <holiday>
    <Id>int</Id>
    <Holidaydate>dateTime</Holidaydate>
    <Inactive>boolean</Inactive>
    <Holidaytitle>string</Holidaytitle>
  </holiday>
  <emplist>
    <dutyrotaemployeelist>
      <Employeeid>int</Employeeid>
      <Employeename>string</Employeename>
      <breaktim>
        <tblemployeebreaktime d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <tblemployeebreaktime d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </breaktim>
    </dutyrotaemployeelist>
    <dutyrotaemployeelist>
      <Employeeid>int</Employeeid>
      <Employeename>string</Employeename>
      <breaktim>
        <tblemployeebreaktime d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <tblemployeebreaktime d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </breaktim>
    </dutyrotaemployeelist>
  </emplist>
  <dept>
    <GM_Department>
      <DepartmentID>int</DepartmentID>
      <Title>string</Title>
      <Code>string</Code>
      <DepartmentTypeID>int</DepartmentTypeID>
      <Description>string</Description>
      <ShortCode>string</ShortCode>
    </GM_Department>
    <GM_Department>
      <DepartmentID>int</DepartmentID>
      <Title>string</Title>
      <Code>string</Code>
      <DepartmentTypeID>int</DepartmentTypeID>
      <Description>string</Description>
      <ShortCode>string</ShortCode>
    </GM_Department>
  </dept>
  <holidays>
    <tblholiday>
      <Id>int</Id>
      <Holidaydate>dateTime</Holidaydate>
      <Inactive>boolean</Inactive>
      <Holidaytitle>string</Holidaytitle>
    </tblholiday>
    <tblholiday>
      <Id>int</Id>
      <Holidaydate>dateTime</Holidaydate>
      <Inactive>boolean</Inactive>
      <Holidaytitle>string</Holidaytitle>
    </tblholiday>
  </holidays>
</rtndutyrota>