StarterTemplate ASP.NET Host

<back to all web services

AcademicYear

To override the Content-type in your clients HTTP Accept Header, append ?format=soap11

HTTP + SOAP11

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /soap11 HTTP/1.1 
Host: api.bryan.edu 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: AcademicYear

<?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>

<AcademicYear xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cams_API">
  <end>0001-01-01T00:00:00</end>
  <id>0</id>
  <monthsLong>0</monthsLong>
  <name>String</name>
  <start>0001-01-01T00:00:00</start>
  <termid>0</termid>
  <terms>
    <Term>
      <UID>0</UID>
      <action i:nil="true" />
      <active>false</active>
      <allowFacultyRegistration>false</allowFacultyRegistration>
      <allowStudentRegistration>false</allowStudentRegistration>
      <code>B10_1202_13B</code>
      <displayInApplyPortal>true</displayInApplyPortal>
      <end>2011-06-02T00:00:00</end>
      <id>762</id>
      <name>G2-10-MB13</name>
      <start>2010-12-02T00:00:00</start>
      <userDefined />
      <username i:nil="true" />
    </Term>
    <Term>
      <UID>0</UID>
      <action i:nil="true" />
      <active>false</active>
      <allowFacultyRegistration>false</allowFacultyRegistration>
      <allowStudentRegistration>false</allowStudentRegistration>
      <code>B10_0603_13A</code>
      <displayInApplyPortal>false</displayInApplyPortal>
      <end>2010-11-18T00:00:00</end>
      <id>758</id>
      <name>G1-10-MB13</name>
      <start>2010-06-10T00:00:00</start>
      <userDefined>06/03/2010 - Krystal Building (Thursday Nights)</userDefined>
      <username i:nil="true" />
    </Term>
  </terms>
</AcademicYear>

    </soap:Body>
</soap:Envelope>