StarterTemplate ASP.NET Host

<back to all web services

Course

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: Course

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

<Course xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cams_API">
  <action>String</action>
  <activeStudents xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <allowDropInPortal>false</allowDropInPortal>
  <canRepeat>false</canRepeat>
  <costTypeID>0</costTypeID>
  <credits>0</credits>
  <departmentCode>String</departmentCode>
  <displayInPortal>false</displayInPortal>
  <end>0001-01-01T00:00:00</end>
  <enrollment>0</enrollment>
  <faculty />
  <facultyApprovalRequired>false</facultyApprovalRequired>
  <id>0</id>
  <labFee>0</labFee>
  <maximumEnrollment>0</maximumEnrollment>
  <meetingTimes />
  <name>String</name>
  <number>String</number>
  <role>String</role>
  <section>String</section>
  <start>0001-01-01T00:00:00</start>
  <studentUID>0</studentUID>
  <students xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <term>0</term>
  <termID>0</termID>
  <textbook>
    <Textbook>
      <author />
      <bookCost>0</bookCost>
      <bookTitle />
      <comment />
      <courseCode i:nil="true" />
      <courseComment />
      <courseName i:nil="true" />
      <courseid>0</courseid>
      <facultyName i:nil="true" />
      <id>2664</id>
      <isNull>false</isNull>
      <isbnNumber />
      <noBook>true</noBook>
      <notAvailableBookstore>false</notAvailableBookstore>
      <notAvailableOnlinePartner>false</notAvailableOnlinePartner>
      <publisher />
      <required>false</required>
      <termID>0</termID>
      <username i:nil="true" />
    </Textbook>
  </textbook>
  <typeCode>String</typeCode>
  <username>String</username>
</Course>

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