Published using Google Docs
MITS 4.0 Lead Management

PostLeadManagement4_0


This method is to be used to add or update prospect records, including the people on the prospect record, their preferences, and any events that need to be recorded.

Request


Data is added or updated by performing a HTTP Post to https://api.myresman.com/MITS/PostLeadManagement4_0  supplying the listed parameters below.  

Parameters


Name

Description

Example

Required

IntegrationPartnerID

The ID assigned to your company by ResMan

1000

Yes

ApiKey

The API key assigned to your company by ResMan

a5w7d9g2m04…

Yes

AccountID

The AccountID associated with the property

400

Yes

PropertyID

The PropertyID associated with the property

07413576-f764-44c6-be35-df4139deec01

Yes

Xml

The MITS Lead Managment 4.0 compliant xml

Update: 12/16/2020 Communication types

See below

Yes

The following demonstrates one way of submitting a request to the PostLeadManagment4_0 method using C#.

 

NameValueCollection postData = new NameValueCollection();

 

// Integration Partner values

postData["IntegrationPartnerID"] = "1000";

postData["ApiKey"] = "6aw7y9m3m04849lqld6em9sudl5fg01u";                                      

 

// Account and property specific data

postData["AccountID"] = "400";

postData["PropertyID"] = "07413576-f764-44c6-be35-df4139deec01";

 

// Method specific parameters

postData["Xml"] = “<LeadManagement>...</LeadManagement>”;

 

string url = "https://api.myresman.com/MITS/PostLeadManagement4_0";

 

WebClient client = new WebClient();                

byte[] response = client.UploadValues(url, "POST", postData);

string strResponse = System.Text.Encoding.Default.GetString(response);

Posting Xml Parameter


Below is example XML following the MITS Lead Management 4.0 standard  to create a new prospect record.  The remainder of this document will go through each section of the example below explaining how the data in each will be used and what data to include in order to make new and update requests.

Example XML - PostLeadManagement4_0.xml

<LeadManagement>

  <Prospects>

<Prospect>

          <Customers>

            <Customer Type="prospect">

              <Name>

                <FirstName>Amy</FirstName>

                <MiddleName>X</MiddleName>

                <LastName>Prospect</LastName>

              </Name>

              <Address AddressType="current">

                <AddressLine1>1234 Main St</AddressLine1>

                <AddressLine2>#480</AddressLine2>

                <City>Provo</City>

                <State>UT</State>

                <PostalCode>84601</PostalCode>

              </Address>

              <Email>amy@prospect.com</Email>

        <Phone PhoneType="cell">

                  <PhoneNumber>(904) 555-5555</PhoneNumber>

                </Phone>

            </Customer>

          </Customers>

          <CustomerPreferences>

<DesiredFloorplan>2B2b</DesiredFloorplan>

            <DesiredUnit>

<MarketingName>1008</MarketingName>

            </DesiredUnit>

            <DesiredRent Exact="850.00" />

            <DesiredNumBedrooms Exact="1" />

            <DesiredLeaseTerms>1</DesiredLeaseTerms>

          </CustomerPreferences>

          <Events>

            <Event EventDate="2013-09-06T13:23:35.944" EventType="WalkIn">

              <Agent>

                <AgentID IDValue="DAD9E28F-8BC2-4328-84F0-000662F435A0" />

                <AgentName>

                  <FirstName>John</FirstName>

                  <LastName>Leasing</LastName>

                </AgentName>

              </Agent>

              <FirstContact>true</FirstContact>              

<TransactionSource>FBCCF0C7-AF4A-4512-9378-8A5A1CB1F0C1</TransactionSource>

            </Event>

            <Event EventDate="2013-09-06T13:23:35.944" EventType="Application">

              <EventID IDType="1008" IDValue="6B196543-7571-4DD5-A5A2-9EB7818A59F0" />

              <Agent>

                <AgentID IDValue="DAD9E28F-8BC2-4328-84F0-000662F435A0" />

                <AgentName>

                  <FirstName>John</FirstName>

                  <LastName>Leasing</LastName>

                </AgentName>

              </Agent>

              <FirstContact>false</FirstContact>

              <Comments>Submit Application</Comments>

              <Quotes>

                <Quote>

                          <QuotedRent Exact="850.00" />

                </Quote>

              </Quotes>

            </Event>

          </Events>

        </Prospect>

  </Prospects>

</LeadManagement>

Response


When submitting a request to the PostLeadManagment4_0, you will receive a response following the pattern below. The response will include information about the method that was called as well as a status indicating whether or not the request was successful.  If there was an error in the request, the ErrorDescription node will identify any problems with the request.  In addition the submitted request XML will be included in the Response node and will be modified to include various Identification nodes containing the values that will need to be included when updating an existing record.

<ResMan>

          <MethodName>PostLeadManagement4_0</MethodName>

          <Status>Success</Status>

          <AccountID>400</AccountID>

          <PropertyID>07413576-f764-44c6-be35-df4139deec01</PropertyID>

          <ErrorDescription />

          <Response>[Submitted request xml with added identification nodes]</Response>

</ResMan>

The next few sections of this document will explain each node of the LeadManagement xml that is accepted and returned.

Customers Node


This node contains at least one Customer node. Each customer node will either create or update a person record for the indicated prospect.

Adding a New Prospect


Providing a Customer node without a ResMan Identification node with an ID Type of “ProspectID” will create a new prospect.

<Customers>

<Customer Type="prospect">

                <Name>

          <FirstName>Amy</FirstName>

          <LastName>Prospect</LastName>

        </Name>

        <Address AddressType="current">

          <AddressLine1>321 Center Str.</AddressLine1>

          <AddressLine2>#104</AddressLine2>

          <City>Beach View</City>

          <State>FL</State>

          <PostalCode>32008</PostalCode>

        </Address>

        <Email>amy@prospect.com</Email>

        <Phone PhoneType="cell">

          <PhoneNumber>(904) 555-5555</PhoneNumber>

        </Phone>

</Customer>

</Customers>

Updating an Existing Prospect


Providing a Customer node with an Identification node with an IDType of “ProspectID” and an identification node with an IDType of “PersonID” and both with an OrganizationName of “ResMan” will update the prospect tied to those IDs.

<Customers>

  <Customer Type="prospect">

        <Identification IDType="ProspectID" IDValue="60396bb1-96c6-4570-abf9-29666ccaac79" OrganizationName="ResMan" />

        <Identification IDType="PersonID" IDValue="31d638fb-500d-4f22-b907-386b85ff9358" OrganizationName="ResMan" />

        <Name>

          <FirstName>Amy</FirstName>

          <MiddleName>Wilcox</MiddleName>

          <LastName>Prospect</LastName>

        </Name>

        <Address AddressType="current">

          <AddressLine1>123 Main St</AddressLine1>

          <City>Provo</City>

          <State>UT</State>

          <PostalCode>84601</PostalCode>

        </Address>

        <Email>amy@prospect.com</Email>

        <Phone PhoneType="cell">

          <PhoneNumber>(801) 555-5555</PhoneNumber>

        </Phone>

        <Phone PhoneType="home">

          <PhoneNumber>(801) 555-1111</PhoneNumber>

        </Phone>

  </Customer>

</Customers>

 

Adding a Roommate to an Existing Prospect


Providing a Customer node with an Identification node with an IDType of “ProspectID” and an OrganizationName of “ResMan” but without an Identification node with an IDType of “PersonID” will add a roommate to the prospect record.

<Customers>

  <Customer Type="prospect">

<!-- Existing record on prospect as it has both a ProspectID and a PersonID -->

        <Identification IDType="ProspectID" IDValue="60396bb1-96c6-4570-abf9-29666ccaac79" OrganizationName="ResMan" />

        <Identification IDType="PersonID" IDValue="31d638fb-500d-4f22-b907-386b85ff9358" OrganizationName="ResMan" />

        <Name>

          <FirstName>Amy</FirstName>

          <MiddleName>Lady</MiddleName>

          <LastName>Prospect</LastName>

        </Name>

<Address AddressType="current">

          <AddressLine1>123 Main St</AddressLine1>

          <City>Provo</City>

          <State>UT</State>

          <PostalCode>84601</PostalCode>

        </Address>

        <Email>amy@prospect.com</Email>

        <Phone PhoneType="cell">

          <PhoneNumber>(801) 555-5555</PhoneNumber>

        </Phone>

  </Customer>

  <Customer Type="prospect">

<!-- New roommate record on prospect as it only has a ProspectID -->

        <Identification IDType="ProspectID" IDValue="60396bb1-96c6-4570-abf9-29666ccaac79" OrganizationName="ResMan" />

        <Name>

          <FirstName>Nicole</FirstName>

          <LastName>Prospect</LastName>

        </Name>

<Address AddressType="current">

          <AddressLine1>125 Main St</AddressLine1>

          <City>Provo</City>

          <State>UT</State>

          <PostalCode>84601</PostalCode>

        </Address>

        <Email>nicole@Prospect.com</Email>

        <Phone PhoneType="cell">

          <PhoneNumber>(801) 555-9999</PhoneNumber>

        </Phone>

  </Customer>

</Customers>

 

Customers Node Response


In the response, each Customer node will include two Identification nodes, one with an ID Type of “ProspectID” (identifies the group of prospects) and one with an ID Type of “PersonID” (identifies an individual person).  The OrganizationName attribute for both Identification nodes will have a value of “ResMan”.

<Customers>

<Customer Type="prospect">

                <Identification IDType="ProspectID" IDValue="60396bb1-96c6-4570-abf9-29666ccaac79" OrganizationName="ResMan" />

                <Identification IDType="PersonID" IDValue="31d638fb-500d-4f22-b907-386b85ff9358" OrganizationName="ResMan" />

                <Name>

          <FirstName>Amy</FirstName>  

          <LastName>Prospect</LastName>

        </Name>

<Address AddressType="current">

          <AddressLine1>123 Main St</AddressLine1>

          <City>Provo</City>

          <State>UT</State>

          <PostalCode>84601</PostalCode>

        </Address>

        <Email>amy@prospect.com</Email>

        <Phone PhoneType="cell">

          <PhoneNumber>(801) 555-5555</PhoneNumber>

        </Phone>

</Customer>

</Customers>

Customers Node Possible Errors


If any errors occur while parsing the XML sent to the API, they will be returned in two ways; aggregated in the ErrorDescription node and in the Response node. The ErrorDescription node contains a list of error messages logged while parsing the XML. The Response node contains the original XML as well as Error nodes where errors were found.

The following errors will be logged and returned:

Below is an example response if a customer node is missing a Type attribute:

<ResMan>

  <MethodName>PostLeadManagement4_0</MethodName>

  <Status>Error</Status>

  <AccountID>400</AccountID>

  <PropertyID>07413576-f764-44c6-be35-df4139deec01</PropertyID>

  <ErrorDescription>Missing Customer Type attribute</ErrorDescription>

  <Response>

        <LeadManagement>

          <Prospects>

            <Prospect>

              <Customers>

                <Customer>

                  <Name>

                    <FirstName>Amy</FirstName>

                    <MiddleName>X</MiddleName>

                    <LastName>Prospect</LastName>

                  </Name>

...

<Error>Missing Customer Type attribute</Error>

              </Customers>

...

            </Prospect>

          </Prospects>

        </LeadManagement>

  </Response>

</ResMan>

CustomerPreferences Node


This node contains specific information about the kind of unit the prospect might be interested in leasing.

When sending the CustomerPreferences node, please follow the guidelines below:

<CustomerPreferences>

          <TargetMoveInDate>2013-8-30</TargetMoveInDate>

          <DesiredFloorplan>2B2b</DesiredFloorplan>

          <FloorLevelDesired>1</FloorLevelDesired>

          <DesiredUnit>

                <MarketingName>1008</MarketingName>

          </DesiredUnit>

          <DesiredRent Exact="850" />

          <DesiredNumBedrooms Exact="2" />

          <DesiredNumBathrooms Exact="2" />

          <DesiredDeposit Exact="50" />

<Pets PetType="Cat" Count="1" Size="Small" Weight="8" />

          <Comment>Needs to move in quickly</Comment>

</CustomerPreferences>

  

CustomerPreferences Node Response


The XML returned in the response will be the same as the XML sent unless there are any errors while parsing the original XML.

CustomerPreferences Node Possible Errors


If any errors occur while parsing the XML sent to the API, they will be returned in two ways; aggregated in the ErrorDescription node and in the Response node. The ErrorDescription node contains a list of error messages logged while parsing the XML. The Response node contains the original XML as well as Error nodes where errors were found.

The following errors will be logged and returned:

Below is an example response if a Pets node is missing the Count and a Type attributes.

<ResMan>

  <MethodName>PostLeadManagement4_0</MethodName>

  <Status>Error</Status>

  <AccountID>400</AccountID>

  <PropertyID>07413576-f764-44c6-be35-df4139deec01</PropertyID>

  <ErrorDescription>

        Missing Pet Count attribute

        Missing Pet Type attribute

  </ErrorDescription>

  <Response>

        <LeadManagement>

          <Prospects>

            <Prospect>

...

              <CustomerPreferences>

                <DesiredUnit>

                          <MarketingName>1008</MarketingName>

                </DesiredUnit>

                <DesiredRent Exact="850.00" />

                <DesiredNumBedrooms Exact="1" />

                <Pets>

<Error>Missing Pet Count attribute</Error>

<Error>Missing Pet Type attribute</Error>

</Pets>

              </CustomerPreferences>

...

            </Prospect>

          </Prospects>

        </LeadManagement>

  </Response>

</ResMan>

CustomerPreferences Node Unused Nodes


There is some data supported in the MITS specification that is not currently supported by ResMan. The following CustomerPreference elements or attributes will not be used if sent:

Events Node


This node contains at least one Event node. Each Event node will either create or update a note record for the prospect in ResMan.

When sending the Event nodes, please follow the guidelines below:

Adding a New Event


The example below demonstrates how to add three new events to a prospect record.

<Events>

          <Event EventDate="2013-09-06T13:23:35.944" EventType="WalkIn">

        <Agent>

          <AgentID IDValue="DAD9E28F-8BC2-4328-84F0-000662F435A0" />

          <AgentName>

            <FirstName>Andrew</FirstName>

            <LastName>Oliver</LastName>

          </AgentName>

        </Agent>

        <FirstContact>true</FirstContact>

        <TransactionSource>FBCCF0C7-AF4A-4512-9378-8A5A1CB1F0C1</TransactionSource>

          </Event>

          <Event EventDate="2013-09-06T13:23:35.944" EventType="Application">

        <Agent>

          <AgentID IDValue="DAD9E28F-8BC2-4328-84F0-000662F435A0" />

          <AgentName>

            <FirstName>Andrew</FirstName>

            <LastName>Oliver</LastName>

          </AgentName>

        </Agent>

        <FirstContact>false</FirstContact>        

        <Comments>Submit Application</Comments>

        <Quotes>

          <Quote>

                    <QuotedRent Exact="850" />

          </Quote>

        </Quotes>

          </Event>

        <Event EventDate="2013-09-06T13:23:35.944" EventType="Show">

                <EventID IDType="Unit" IDValue="1008" OrganizationName="ResMan" />

        <Agent>

          <AgentID IDValue="DAD9E28F-8BC2-4328-84F0-000662F435A0" />

          <AgentName>

            <FirstName>Andrew</FirstName>

            <LastName>Oliver</LastName>

          </AgentName>

        </Agent>

        <FirstContact>false</FirstContact>

        <TransactionSource>FBCCF0C7-AF4A-4512-9378-8A5A1CB1F0C1</TransactionSource>

          </Event>

</Events>

The table below shows the resulting Contact Type and Interaction Type from the EventType included in the event node.

Updated 12/16/2020: Added new event type

EventType

ContactType

InteractionType

EmailToProspect

Email

FollowUp

EmailFromILS

Email

FollowUp

EmailFromProspect

Email

FollowUp

Email

Email

FollowUp

CallToProspect

Phone

FollowUp

CallFromProspect

Phone

FollowUp

Phone

Phone

FollowUp

Show

FaceToFace

UnitShown

WalkIn

FaceToFace

UnitNotShown

Appointment

Other

FollowUp

Contact

Other

FollowUp

Other

Other

FollowUp

Cancel

Other

Other

ReActivate

Other

Other/FollowUp

TextToProspect

Text Message

Text

TextFromProspect

Text Message

Text

Updating an Existing Event


The example below demonstrates how to update an existing event; note the EventID node specifies a ResMan EventID with the OrganizationName specified as ResMan.

<Events>

  <Event EventDate="2013-09-24T13:23:35.944" EventType="WalkIn">

        <EventID IDType="EventID" IDValue="d2e6e6ff-a334-4d4a-9804-13789f4afe7c" OrganizationName="ResMan" />

        <FirstContact>true</FirstContact>

        <Agent>

          <AgentID IDValue="DAD9E28F-8BC2-4328-84F0-000662F435A0" />

        </Agent>

<FirstContact>true</FirstContact>

        <TransactionSource>FBCCF0C7-AF4A-4512-9378-8A5A1CB1F0C1</TransactionSource>

<Comments>Looking to move in on 8/1/2013</Comments>

  </Event>

</Events>

 

Event Node Response


The XML returned in the response will have a new EventID node with an ID Type of “EventID” and an OrganizationName of ResMan.

<Events>

          <Event EventDate="2013-09-06T13:23:35.944" EventType="WalkIn">

<EventID IDType="EventID" IDValue="0bcb0975-33b4-40a7-8120-aa80d5b1b685" OrganizationName="ResMan" />

        <Agent>

          <AgentID IDValue="DAD9E28F-8BC2-4328-84F0-000662F435A0" />

          <AgentName>

            <FirstName>Andrew</FirstName>

            <LastName>Oliver</LastName>

          </AgentName>

        </Agent>

        <FirstContact>true</FirstContact>

        <TransactionSource>FBCCF0C7-AF4A-4512-9378-8A5A1CB1F0C1</TransactionSource>

          </Event>

          <Event EventDate="2013-09-06T13:23:35.944" EventType="Application">

                <EventID IDType="EventID" IDValue="0bc615aa-0bbd-42ca-8557-456b0b353b65" OrganizationName="ResMan" />

        <Agent>

          <AgentID IDValue="DAD9E28F-8BC2-4328-84F0-000662F435A0" />

          <AgentName>

            <FirstName>Andrew</FirstName>

            <LastName>Oliver</LastName>

          </AgentName>

        </Agent>

        <FirstContact>false</FirstContact>

        <TransactionSource>FBCCF0C7-AF4A-4512-9378-8A5A1CB1F0C1</TransactionSource>

        <Comments>Submit Application</Comments>

        <Quotes>

          <Quote>

                    <QuotedRent Exact="850" />

          </Quote>

        </Quotes>

          </Event>

</Events>

Event Node Possible Errors


If any errors occur while parsing the XML sent to the API, they will be returned in two ways; aggregated in the ErrorDescription node and in the Response node. The ErrorDescription node contains a list of error messages logged while parsing the XML. The Response node contains the original XML as well as Error nodes where errors were found.

The following errors will be logged and returned:

Below is an example response if the Event node is missing the Agent node.

<ResMan>

  <MethodName>PostLeadManagement4_0</MethodName>

  <Status>Error</Status>

  <AccountID>400</AccountID>

  <PropertyID>07413576-f764-44c6-be35-df4139deec01</PropertyID>

  <ErrorDescription>

        Missing Agent node

  </ErrorDescription>

  <Response>

        <LeadManagement>

          ...

              <Events>

                <Event EventDate="2013-09-06T13:23:35.944" EventType="WalkIn">

<Agent>        

<AgentID IDValue="DAD9E28F-8BC2-4328-84F0-000662F435A0" />

          <AgentName>

            <FirstName>Andrew</FirstName>

            <LastName>Oliver</LastName>

          </AgentName>

        </Agent>

                  <FirstContact>true</FirstContact>

<TransactionSource>FBCCF0C7-AF4A-4512-9378-8A5A1CB1F0C1</TransactionSource>

                  <Error>Missing Agent node</Error>

                </Event>

              </Events>

</LeadManagement>

  </Response>

</ResMan>

Event Node Unused Nodes


There is some data supported in the MITS specification that is not currently supported by ResMan. The following Event elements or attributes will not be used if sent:

Event Types

The table below lists the possible MITS Event Types and what action will be performed during that particular event.

MITS Event Type

Action Performed

Cancel

The prospect will be marked as lost

Appointment

A new calendar appointment will be created


SearchProspects


This method is to be used to find existing prospect records in ResMan based on specific search criteria.

Request


Data is requsted by performing a HTTP Post to https://api.myresman.com/MITS/SearchProspects  supplying the listed parameters below.  

Parameters


Name

Description

Example

Required

AccountID

The AccountID associated with the property

400

Yes

PropertyID

The PropertyID associated with the property

07413576-f764-44c6-be35-df4139deec01

Yes

FirstName

The first name of the prospect

Robert

No

LastName

The last name of the prospect

Parr

No

Phone

The phone number of the prospect

(716) 763-5624

No

Email

The email of the prospect

robert@email.com

No

Address

The address of the prospect

123 Ewe Turn

No

StartDate

The date to begin searching for events

2013-12-01

No

EndDate

The date to stop searching for events

2013-12-31

No

ProspectID

The prospect id of the prospect

20d3c1d4-e3bd-47a5-9309-e884e98c96d6

No

PersonID

The person id of the one of the roommates on the prospect record

430af556-d211-42fd-a3cf-7a237a021e40

No

ModifiedStartDateTime

The date and time before the prospect was last modified (UTC Time)

2013-12-30 21:44:13.206

No

ModifiedEndDateTime

The date and time after the prospect was last modified (UTC Time)

2013-12-31 22:45:14.207

No

IncludeHouseholdStatus

The Household Status for the prospect

true/false

No

While none of the search parameters above are required, at least one must be provided or the call will fail with an error message of “At least one search parameter must be supplied”.

If IncludeHouseholdStatus is enabled, household statuses will only show if they are an applicant or resident.

The following demonstrates one way of submitting a request to the SearchProspects method using C#.

 

NameValueCollection postData = new NameValueCollection();

 

// Account and property specific data

postData["AccountID"] = "400";

postData["PropertyID"] = "07413576-f764-44c6-be35-df4139deec01";

 

// Search parameters

postData["FirstName"] = "Robert";

postData["LastName"] = "Parr";

 

string url = "https://api.myresman.com/MITS/SearchProspects";

 

WebClient client = new WebClient();                

byte[] response = client.UploadValues(url, "POST", postData);

string strResponse = System.Text.Encoding.Default.GetString(response);

Response


The response will be provided in xml following the MITS Lead Management 4.0 standard, and it will contain information about the prospects found, including contact information, preferences, and any events recorded about the prospect.

Name

Description

Customer

Information about a person on the prospect record

CustomerPreferences

Specific preferences that the prospect is looking for

Event

Information about any contact with the prospect

Possible Event Types

The table below lists the possible MITS Event Types that will be returned and what action was performed during that particular event.  Note that there may be other event types returned in the response that are ResMan specific and don’t necessarily correlate to a MITS specific Event Type.

MITS Event Type

Action Performed

Cancel

The prospect was marked as lost

Application

The prospect was converted to an applicant

Approve

The application was approved

ApplicationDenied

The application was denied

CancelApplication

The application was cancelled

LeaseSign

The lease was signed

MoveIn

The applicants were moved into a unit

MoveOut

The residents were moved out of the unit

The following are non-MITS types

Non-MITS Event Type

Action Performed

EmailToProspect

Email was sent.

EmailFromILS

Tracking email from an ILS.

EmailFromProspect

Email from a prospect

Email

Unspecified email.

CallToProspect

Phone call outbound to a prospect.

CallFromProspect

Phone call inbound to a prospect.

Phone

Unspecified phone (includes text)

Show

A unit was shown.

WalkIn

An on site face to face visit.

Appointment

A scheduled appointment (future or past)

Contact

Unspecified contact

Other

Other

Possible Customer Types

The table below lists the possible MITS customer types that will be returned. Note that this includes records that were prospects at one time and may now be in other phases of the resident life-cycle.

Customer Type

Description

Prospect

A prospect record that’s currently active.

Applicant

This person is in the application process.

Current_Resident

The person was moved into a unit.

Former_Resident

The resident was moved out of a unit.

Lost

A prospect record that was marked as lost and is now inactive.

Below is an example of the response that can be expected from this method.

<ResMan>

  <Status>Success</Status>

  <Response>[Encoded MITS Lead Management 4.0 XML Response]</Response>

</ResMan>

Example MITS Lead Management 4.0 XML Response

<Prospect>

<Customers>

<Customer Type="prospect">

<Identification IDType="ProspectID" IDValue="20d3c1d4-e3bd-47a5-9309-e884e98c96d6" OrganizationName="ResMan" />

<Identification IDType="PersonID" IDValue="fb9c14a8-1e37-4df9-95e2-aa71f78531de" OrganizationName="ResMan" />

<Identification IDType="LeaseID" IDValue="4f31f057-4a3d-4b41-8afa-d73b270199ab" OrganizationName="ResMan" />

                          <Name>

       <FirstName>Robert</FirstName>

                            <LastName>Parr</LastName>

                          </Name>

                          <Address AddressType="current">

                            <AddressLine1>123 Ewe Turn</AddressLine1>

                            <City>Dallas</City>

                            <State>TX</State>

                            <PostalCode>77510</PostalCode>

                            <Country>USA</Country>

                          </Address>

                          <Phone>

                            <PhoneNumber>(716) 763-5624</PhoneNumber>

                          </Phone>

                          <Email>robert@email.com</Email>

                        <HouseholdStatus>Head of Household</HouseholdStatus>

                </Customer>

<Customer Type="prospect">

<Identification IDType="ProspectID" IDValue="20d3c1d4-e3bd-47a5-9309-e884e98c96d6" OrganizationName="ResMan" />

<Identification IDType="PersonID" IDValue="39029787-bf89-40e8-ac9f-000e22fd3974" OrganizationName="ResMan" />

<Identification IDType="LeaseID" IDValue="4f31f057-4a3d-4b41-8afa-d73b270199ab" OrganizationName="ResMan" />

                          <Name>

       <FirstName>Lisa</FirstName>

                            <LastName>Parr</LastName>

                          </Name>

                          <Address AddressType="current">

                            <AddressLine1>123 Ewe Turn</AddressLine1>

                            <City>Dallas</City>

                            <State>TX</State>

                            <PostalCode>77510</PostalCode>

                            <Country>USA</Country>

                          </Address>

                        <HouseholdStatus>Dependant</HouseholdStatus>

                </Customer>

  </Customers>

  <CustomerPreferences>

                <TargetMoveInDate>2013-12-05</TargetMoveInDate>

                <DesiredUnit>

                          <MarketingName>100</MarketingName>

                </DesiredUnit>

                <DesiredRent Min="1000" Max="1111" />

                <DesiredNumBedrooms Min="1" Max="2" />

                <DesiredNumBathrooms Min="2" Max="2" />

                <FloorLevelDesired>1</FloorLevelDesired>

  </CustomerPreferences>

  <Events>

                <Event EventDate="2013-12-05T12:00:00-07:00" Type="WalkIn">

<EventID IDType="EventID" IDValue="817922d5-d3f4-4ec1-a45e-2268b2c008e1" OrganizationName="ResMan" />

                          <Agent>

                            <AgentID IDValue="a7862f1c-2967-4680-ae2e-51fe9ce78247" />

                            <Name>

                                      <FirstName>John</FirstName>

                                      <LastName>Manager</LastName>

                            </Name>

                          </Agent>

                          <EventReasons>Initial contact</EventReasons>

                          <FirstContact>true</FirstContact>

                          <TransactionSource>579d1389-a0e4-4910-9424-200d7d6e8533</TransactionSource>

                </Event>

  </Events>

</Prospect>

Example MITS Lead Management 4.0 XML Response for a Prospect with a roomate

<Prospect>

                    <Customers>

                        <Customer Type="applicant">

                            <Identification IDType="ProspectID"                  

                                                         IDValue="75494445-cb3a-4a70-8593-e17dad7e9e7a" OrganizationName="ResMan" />

                            <Identification IDType="PersonID"

                          IDValue="e6dbd523-b38d-4707-95c5-e48ab781f7ac" OrganizationName="ResMan" />

                            <Identification IDType="LeaseID"

                          IDValue="e2a733d9-9406-467f-8790-d6d90c7bf103" OrganizationName="ResMan" />

                            <Name>

                                <FirstName>Emilie</FirstName>

                                <LastName>Chavez</LastName>

                            </Name>

                            <Address AddressType="current" />

                            <Phone>

                                <PhoneNumber>(555) 876-6748</PhoneNumber>

                            </Phone>

                            <Email>emilie.chavez@myresman.com</Email>

                                                           <HouseholdStatus>Head of Household</HouseholdStatus>

                        </Customer>

                        <Customer Type="applicant">

                            <Identification IDType="ProspectID"

                          IDValue="75494445-cb3a-4a70-8593-e17dad7e9e7a" OrganizationName="ResMan" />

                            <Identification IDType="PersonID"

                          IDValue="0ed8afe7-2366-4ad3-a803-75c8d9e1e882" OrganizationName="ResMan" />

                            <Identification IDType="LeaseID"

                          IDValue="e2a733d9-9406-467f-8790-d6d90c7bf103" OrganizationName="ResMan" />

                            <Name>

                                <FirstName>Jay</FirstName>

                                <LastName>Chavez</LastName>

                            </Name>

                            <Address AddressType="current" />

                        </Customer>

                    </Customers>

                    <CustomerPreferences>

                        <TargetMoveInDate>2020-02-04</TargetMoveInDate>

                    </CustomerPreferences>

                    <Events>

                        <Event EventType="LeaseSign" EventDate="2020-02-04T00:00:00+00:00">

                            <EventID IDType="EventID" IDValue="5e7a3eff-1686-4dfd-86f2-9b576373f9a0"

                             OrganizationName="ResMan" />

                            <Agent>

                                <AgentID IDValue="c3c7a631-6b28-4b55-9e9b-c09c5a013d3c" />

                                <AgentName>

                                    <FirstName>Minnie</FirstName>

                                    <LastName>Manager</LastName>

                                </AgentName>

                            </Agent>

                            <EventReasons>Lease Signed</EventReasons>

                            <FirstContact>true</FirstContact>

                            <Comments>Emilie Chavez</Comments>

                          <TransactionSource>ae08a692-23af-471c-8912-53d71c45908a</TransactionSource>

                        </Event>

                        <Event EventType="Unit Not Shown" EventDate="2020-02-04T13:33:52+00:00">

                            <EventID IDType="EventID" IDValue="5d0f09bb-4f50-4251-b3af-540c1232ba4f”

                            OrganizationName="ResMan" />

                            <Agent>

                                <AgentID IDValue="cfa3a9da-d96d-4c6c-bcde-22a8940e76fe" />

                                <AgentName>

                                    <FirstName>Alivia</FirstName>

                                    <LastName>Graham</LastName>

                                </AgentName>

                            </Agent>

                            <EventReasons>Initial contact</EventReasons>

                            <FirstContact>false</FirstContact>

                        </Event>

                        <Event EventType="LeaseSign" EventDate="2020-02-04T00:00:00+00:00">

                            <EventID IDType="EventID" IDValue="90c56afe-bb48-4c43-a274-a3e1261e88e7" OrganizationName="ResMan" />

                            <Agent>

                                <AgentID IDValue="c3c7a631-6b28-4b55-9e9b-c09c5a013d3c" />

                                <AgentName>

                                    <FirstName>Minnie</FirstName>

                                    <LastName>Manager</LastName>

                                </AgentName>

                            </Agent>

                            <EventReasons>Lease Signed</EventReasons>

                            <FirstContact>false</FirstContact>

                            <Comments>Jay Chavez</Comments>

                        </Event>

                    </Events>

                </Prospect>