StarterTemplate ASP.NET Host

<back to all web services

HousingAssignment

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

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

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

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