StarterTemplate ASP.NET Host

<back to all web services

HousingAssignment

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

HTTP + SOAP12

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

POST /soap12 HTTP/1.1 
Host: api.bryan.edu 
Content-Type: text/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>

<HousingAssignment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cams_API">
  <building>
    <address>String</address>
    <id>0</id>
    <name>String</name>
    <type>0</type>
  </building>
  <end>0001-01-01T00:00:00</end>
  <id>0</id>
  <keyGivenDate>0001-01-01T00:00:00</keyGivenDate>
  <keyReturnedDate>0001-01-01T00:00:00</keyReturnedDate>
  <room>
    <available>false</available>
    <buildingID>0</buildingID>
    <description>String</description>
    <floor>String</floor>
    <id>0</id>
    <name>String</name>
  </room>
  <roomID>0</roomID>
  <roommates xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <start>0001-01-01T00:00:00</start>
  <studentID>0</studentID>
  <term>
    <UID>0</UID>
    <action>String</action>
    <active>false</active>
    <allowFacultyRegistration>false</allowFacultyRegistration>
    <allowStudentRegistration>false</allowStudentRegistration>
    <code>String</code>
    <displayInApplyPortal>false</displayInApplyPortal>
    <end>0001-01-01T00:00:00</end>
    <id>0</id>
    <name>String</name>
    <start>0001-01-01T00:00:00</start>
    <userDefined>String</userDefined>
    <username>String</username>
  </term>
  <termID>0</termID>
  <username>String</username>
</HousingAssignment>

    </soap12:Body>
</soap12:Envelope>