AchademixWS


Click here for a complete list of operations.

SaveHoliday

Test

The test form is only available for requests from the local machine.

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 /AxWCC1474WS/AchademixWS.asmx HTTP/1.1
Host: wcccws.achademix.info
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.Achademix.com/SaveHoliday"

<?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:Header>
    <AchademixHeader xmlns="http://www.Achademix.com/">
      <AuthenticationID>string</AuthenticationID>
      <ErrorDetails>string</ErrorDetails>
      <ErrorMessage>string</ErrorMessage>
    </AchademixHeader>
  </soap:Header>
  <soap:Body>
    <SaveHoliday xmlns="http://www.Achademix.com/">
      <TheTable>
        <Friday>boolean</Friday>
        <Monday>boolean</Monday>
        <NoClass>boolean</NoClass>
        <Saturday>boolean</Saturday>
        <Sunday>boolean</Sunday>
        <Thursday>boolean</Thursday>
        <Tuesday>boolean</Tuesday>
        <Wednesday>boolean</Wednesday>
        <BlockDate>dateTime</BlockDate>
        <IsActive>boolean</IsActive>
        <BlockSchedule>short</BlockSchedule>
        <BlockText>string</BlockText>
        <Code>string</Code>
        <Day>short</Day>
        <DaysAfter>short</DaysAfter>
        <DaysBefore>short</DaysBefore>
        <HolidayID>int</HolidayID>
        <IsSystem>boolean</IsSystem>
        <Month>short</Month>
        <MonthWeek>short</MonthWeek>
        <Note>string</Note>
        <Order>string</Order>
        <Title>string</Title>
        <Type>short</Type>
        <WeekDay>short</WeekDay>
      </TheTable>
    </SaveHoliday>
  </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:Header>
    <AchademixHeader xmlns="http://www.Achademix.com/">
      <AuthenticationID>string</AuthenticationID>
      <ErrorDetails>string</ErrorDetails>
      <ErrorMessage>string</ErrorMessage>
    </AchademixHeader>
  </soap:Header>
  <soap:Body>
    <SaveHolidayResponse xmlns="http://www.Achademix.com/">
      <SaveHolidayResult>int</SaveHolidayResult>
    </SaveHolidayResponse>
  </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 /AxWCC1474WS/AchademixWS.asmx HTTP/1.1
Host: wcccws.achademix.info
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:Header>
    <AchademixHeader xmlns="http://www.Achademix.com/">
      <AuthenticationID>string</AuthenticationID>
      <ErrorDetails>string</ErrorDetails>
      <ErrorMessage>string</ErrorMessage>
    </AchademixHeader>
  </soap12:Header>
  <soap12:Body>
    <SaveHoliday xmlns="http://www.Achademix.com/">
      <TheTable>
        <Friday>boolean</Friday>
        <Monday>boolean</Monday>
        <NoClass>boolean</NoClass>
        <Saturday>boolean</Saturday>
        <Sunday>boolean</Sunday>
        <Thursday>boolean</Thursday>
        <Tuesday>boolean</Tuesday>
        <Wednesday>boolean</Wednesday>
        <BlockDate>dateTime</BlockDate>
        <IsActive>boolean</IsActive>
        <BlockSchedule>short</BlockSchedule>
        <BlockText>string</BlockText>
        <Code>string</Code>
        <Day>short</Day>
        <DaysAfter>short</DaysAfter>
        <DaysBefore>short</DaysBefore>
        <HolidayID>int</HolidayID>
        <IsSystem>boolean</IsSystem>
        <Month>short</Month>
        <MonthWeek>short</MonthWeek>
        <Note>string</Note>
        <Order>string</Order>
        <Title>string</Title>
        <Type>short</Type>
        <WeekDay>short</WeekDay>
      </TheTable>
    </SaveHoliday>
  </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:Header>
    <AchademixHeader xmlns="http://www.Achademix.com/">
      <AuthenticationID>string</AuthenticationID>
      <ErrorDetails>string</ErrorDetails>
      <ErrorMessage>string</ErrorMessage>
    </AchademixHeader>
  </soap12:Header>
  <soap12:Body>
    <SaveHolidayResponse xmlns="http://www.Achademix.com/">
      <SaveHolidayResult>int</SaveHolidayResult>
    </SaveHolidayResponse>
  </soap12:Body>
</soap12:Envelope>