yield_star_client 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. data/.gitignore +8 -0
  2. data/.rspec +2 -0
  3. data/.rvmrc +3 -0
  4. data/Gemfile +4 -0
  5. data/README.md +38 -0
  6. data/Rakefile +17 -0
  7. data/lib/yield_star_client/amenity_methods.rb +77 -0
  8. data/lib/yield_star_client/client.rb +84 -0
  9. data/lib/yield_star_client/errors.rb +52 -0
  10. data/lib/yield_star_client/floor_plan_methods.rb +78 -0
  11. data/lib/yield_star_client/lease_term_rent_methods.rb +185 -0
  12. data/lib/yield_star_client/property_methods.rb +138 -0
  13. data/lib/yield_star_client/rent_methods.rb +179 -0
  14. data/lib/yield_star_client/unit_methods.rb +95 -0
  15. data/lib/yield_star_client/validations.rb +18 -0
  16. data/lib/yield_star_client/version.rb +3 -0
  17. data/lib/yield_star_client.rb +74 -0
  18. data/spec/fixtures/faults/authentication_fault.xml +15 -0
  19. data/spec/fixtures/faults/generic_fault.xml +9 -0
  20. data/spec/fixtures/faults/internal_error_fault.xml +15 -0
  21. data/spec/fixtures/faults/operation_fault.xml +15 -0
  22. data/spec/fixtures/get_available_units/multiple_floor_plans.xml +53 -0
  23. data/spec/fixtures/get_available_units/no_floor_plans.xml +11 -0
  24. data/spec/fixtures/get_available_units/single_floor_plan.xml +28 -0
  25. data/spec/fixtures/get_floor_plan/full_floor_plan.xml +19 -0
  26. data/spec/fixtures/get_floor_plan/simple_floor_plan.xml +14 -0
  27. data/spec/fixtures/get_floor_plan_amenities/multiple_amenities.xml +19 -0
  28. data/spec/fixtures/get_floor_plan_amenities/no_amenities.xml +10 -0
  29. data/spec/fixtures/get_floor_plan_amenities/single_amenity.xml +15 -0
  30. data/spec/fixtures/get_floor_plans/multiple_floor_plans.xml +28 -0
  31. data/spec/fixtures/get_floor_plans/no_floor_plan.xml +10 -0
  32. data/spec/fixtures/get_floor_plans/single_floor_plan.xml +15 -0
  33. data/spec/fixtures/get_lease_term_rent/multiple_rates.xml +41 -0
  34. data/spec/fixtures/get_lease_term_rent/no_rates.xml +13 -0
  35. data/spec/fixtures/get_lease_term_rent/single_rate.xml +21 -0
  36. data/spec/fixtures/get_lease_term_rent_plus/multiple_rates.xml +43 -0
  37. data/spec/fixtures/get_lease_term_rent_plus/no_rates.xml +14 -0
  38. data/spec/fixtures/get_lease_term_rent_plus/single_rate.xml +22 -0
  39. data/spec/fixtures/get_properties/multiple_properties.xml +38 -0
  40. data/spec/fixtures/get_properties/no_property.xml +10 -0
  41. data/spec/fixtures/get_properties/single_property.xml +14 -0
  42. data/spec/fixtures/get_property/full_property.xml +25 -0
  43. data/spec/fixtures/get_property/simple_property.xml +14 -0
  44. data/spec/fixtures/get_property_parameters/full_parameters.xml +38 -0
  45. data/spec/fixtures/get_property_parameters/no_parameters.xml +10 -0
  46. data/spec/fixtures/get_property_parameters/simple_parameters.xml +14 -0
  47. data/spec/fixtures/get_renewal_lease_term_rent/multiple_rates.xml +28 -0
  48. data/spec/fixtures/get_renewal_lease_term_rent/no_rates.xml +10 -0
  49. data/spec/fixtures/get_renewal_lease_term_rent/single_rate.xml +21 -0
  50. data/spec/fixtures/get_rent_summary/multiple_summaries.xml +41 -0
  51. data/spec/fixtures/get_rent_summary/no_summaries.xml +11 -0
  52. data/spec/fixtures/get_rent_summary/single_summary.xml +24 -0
  53. data/spec/fixtures/get_unit/full_unit.xml +22 -0
  54. data/spec/fixtures/get_unit/simple_unit.xml +16 -0
  55. data/spec/fixtures/get_unit_amenities/multiple_amenities.xml +20 -0
  56. data/spec/fixtures/get_unit_amenities/no_amenities.xml +11 -0
  57. data/spec/fixtures/get_unit_amenities/single_amenity.xml +15 -0
  58. data/spec/fixtures/get_units/multiple_units.xml +32 -0
  59. data/spec/fixtures/get_units/no_units.xml +10 -0
  60. data/spec/fixtures/get_units/single_unit.xml +16 -0
  61. data/spec/spec_helper.rb +16 -0
  62. data/spec/support/fault_handler_shared_examples.rb +68 -0
  63. data/spec/support/validator_shared_examples.rb +79 -0
  64. data/spec/yield_star_client/amenity_methods_spec.rb +165 -0
  65. data/spec/yield_star_client/client_spec.rb +150 -0
  66. data/spec/yield_star_client/errors_spec.rb +93 -0
  67. data/spec/yield_star_client/floor_plan_methods_spec.rb +126 -0
  68. data/spec/yield_star_client/lease_term_rent_methods_spec.rb +391 -0
  69. data/spec/yield_star_client/property_methods_spec.rb +189 -0
  70. data/spec/yield_star_client/rent_methods_spec.rb +271 -0
  71. data/spec/yield_star_client/unit_methods_spec.rb +168 -0
  72. data/spec/yield_star_client/validations_spec.rb +19 -0
  73. data/spec/yield_star_client_spec.rb +89 -0
  74. data/yield_star_client.gemspec +34 -0
  75. metadata +348 -0
@@ -0,0 +1,19 @@
1
+ <?xml version="1.0"?>
2
+ <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <S:Body>
4
+ <getFloorPlanResponse xmlns="http://yieldstar.com/ws/AppExchange/v1">
5
+ <return>
6
+ <externalPropertyId>99</externalPropertyId>
7
+ <floorPlan>
8
+ <externalPropertyId>99</externalPropertyId>
9
+ <name>The Oxford</name>
10
+ <description>An apartment</description>
11
+ <squareFootage>797</squareFootage>
12
+ <unitCount>49</unitCount>
13
+ <bedRooms>1.0</bedRooms>
14
+ <bathRooms>1.1</bathRooms>
15
+ </floorPlan>
16
+ </return>
17
+ </getFloorPlanResponse>
18
+ </S:Body>
19
+ </S:Envelope>
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0"?>
2
+ <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <S:Body>
4
+ <getFloorPlanResponse xmlns="http://yieldstar.com/ws/AppExchange/v1">
5
+ <return>
6
+ <externalPropertyId>42</externalPropertyId>
7
+ <floorPlan>
8
+ <externalPropertyId>42</externalPropertyId>
9
+ <name>simple-plan</name>
10
+ </floorPlan>
11
+ </return>
12
+ </getFloorPlanResponse>
13
+ </S:Body>
14
+ </S:Envelope>
@@ -0,0 +1,19 @@
1
+ <?xml version="1.0"?>
2
+ <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <S:Body>
4
+ <getFloorPlanAmenitiesResponse xmlns="http://yieldstar.com/ws/AppExchange/v1">
5
+ <return>
6
+ <externalPropertyId>42</externalPropertyId>
7
+ <amenity>
8
+ <name>Garbage Disposal</name>
9
+ <type>Appliance</type>
10
+ </amenity>
11
+ <amenity>
12
+ <name>Free Electricity</name>
13
+ <type>Utility</type>
14
+ <value>99.99</value>
15
+ </amenity>
16
+ </return>
17
+ </getFloorPlanAmenitiesResponse>
18
+ </S:Body>
19
+ </S:Envelope>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0"?>
2
+ <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <S:Body>
4
+ <getFloorPlanAmenitiesResponse xmlns="http://yieldstar.com/ws/AppExchange/v1">
5
+ <return>
6
+ <externalPropertyId>42</externalPropertyId>
7
+ </return>
8
+ </getFloorPlanAmenitiesResponse>
9
+ </S:Body>
10
+ </S:Envelope>
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0"?>
2
+ <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <S:Body>
4
+ <getFloorPlanAmenitiesResponse xmlns="http://yieldstar.com/ws/AppExchange/v1">
5
+ <return>
6
+ <externalPropertyId>42</externalPropertyId>
7
+ <amenity>
8
+ <name>Garage Spot</name>
9
+ <type>Parking</type>
10
+ </amenity>
11
+ </return>
12
+ </getFloorPlanAmenitiesResponse>
13
+ </S:Body>
14
+ </S:Envelope>
15
+
@@ -0,0 +1,28 @@
1
+ <?xml version="1.0"?>
2
+ <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <S:Body>
4
+ <getFloorPlansResponse xmlns="http://yieldstar.com/ws/AppExchange/v1">
5
+ <return>
6
+ <externalPropertyId>99</externalPropertyId>
7
+ <floorPlan>
8
+ <externalPropertyId>99</externalPropertyId>
9
+ <name>The Economy</name>
10
+ <description>An affordable choice for the frugal resident.</description>
11
+ <squareFootage>450</squareFootage>
12
+ <unitCount>42</unitCount>
13
+ <bedRooms>1.0</bedRooms>
14
+ <bathRooms>1.0</bathRooms>
15
+ </floorPlan>
16
+ <floorPlan>
17
+ <externalPropertyId>99</externalPropertyId>
18
+ <name>The Luxury</name>
19
+ <description>A palatial estate for the independently wealthy.</description>
20
+ <squareFootage>10000</squareFootage>
21
+ <unitCount>3</unitCount>
22
+ <bedRooms>7.0</bedRooms>
23
+ <bathRooms>7.3</bathRooms>
24
+ </floorPlan>
25
+ </return>
26
+ </getFloorPlansResponse>
27
+ </S:Body>
28
+ </S:Envelope>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0"?>
2
+ <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <S:Body>
4
+ <getFloorPlansResponse xmlns="http://yieldstar.com/ws/AppExchange/v1">
5
+ <return>
6
+ <externalPropertyId>42</externalPropertyId>
7
+ </return>
8
+ </getFloorPlansResponse>
9
+ </S:Body>
10
+ </S:Envelope>
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0"?>
2
+ <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <S:Body>
4
+ <getFloorPlansResponse xmlns="http://yieldstar.com/ws/AppExchange/v1">
5
+ <return>
6
+ <externalPropertyId>42</externalPropertyId>
7
+ <floorPlan>
8
+ <externalPropertyId>42</externalPropertyId>
9
+ <name>simple</name>
10
+ <description>A simple floor plan.</description>
11
+ </floorPlan>
12
+ </return>
13
+ </getFloorPlansResponse>
14
+ </S:Body>
15
+ </S:Envelope>
@@ -0,0 +1,41 @@
1
+ <?xml version="1.0"?>
2
+ <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <S:Body>
4
+ <getLeaseTermRentResponse xmlns="http://yieldstar.com/ws/AppExchange/v1">
5
+ <return>
6
+ <externalPropertyId>42</externalPropertyId>
7
+ <leaseTermRentUnitResponse>
8
+ <unitNumber>112358</unitNumber>
9
+ <building>123</building>
10
+ <makeReadyDate>2011-03-07</makeReadyDate>
11
+ <unitRate>
12
+ <leaseTerm>1</leaseTerm>
13
+ <endDate>2011-07-01</endDate>
14
+ <marketRent>5277</marketRent>
15
+ <finalRent>5237</finalRent>
16
+ <best>true</best>
17
+ <moveInDate>2011-06-01</moveInDate>
18
+ <totalConcession>41</totalConcession>
19
+ <monthlyFixedConcession>0</monthlyFixedConcession>
20
+ <monthlyPercentConcession>0.0</monthlyPercentConcession>
21
+ <monthsConcession>0.0</monthsConcession>
22
+ <oneTimeFixedConcession>500</oneTimeFixedConcession>
23
+ </unitRate>
24
+ <unitRate>
25
+ <leaseTerm>15</leaseTerm>
26
+ <endDate>2012-08-24</endDate>
27
+ <marketRent>1272</marketRent>
28
+ <finalRent>1230</finalRent>
29
+ <best>false</best>
30
+ <moveInDate>2011-06-01</moveInDate>
31
+ <totalConcession>625</totalConcession>
32
+ <monthlyFixedConcession>10</monthlyFixedConcession>
33
+ <monthlyPercentConcession>0.02</monthlyPercentConcession>
34
+ <monthsConcession>0.5</monthsConcession>
35
+ <oneTimeFixedConcession>500</oneTimeFixedConcession>
36
+ </unitRate>
37
+ </leaseTermRentUnitResponse>
38
+ </return>
39
+ </getLeaseTermRentResponse>
40
+ </S:Body>
41
+ </S:Envelope>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0"?>
2
+ <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <S:Body>
4
+ <getLeaseTermRentResponse xmlns="http://yieldstar.com/ws/AppExchange/v1">
5
+ <return>
6
+ <externalPropertyId>42</externalPropertyId>
7
+ <leaseTermRentUnitResponse>
8
+ <unitNumber>112358</unitNumber>
9
+ </leaseTermRentUnitResponse>
10
+ </return>
11
+ </getLeaseTermRentResponse>
12
+ </S:Body>
13
+ </S:Envelope>
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0"?>
2
+ <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <S:Body>
4
+ <getLeaseTermRentResponse xmlns="http://yieldstar.com/ws/AppExchange/v1">
5
+ <return>
6
+ <externalPropertyId>42</externalPropertyId>
7
+ <leaseTermRentUnitResponse>
8
+ <unitNumber>112358</unitNumber>
9
+ <makeReadyDate>2011-03-13</makeReadyDate>
10
+ <unitRate>
11
+ <leaseTerm>12</leaseTerm>
12
+ <endDate>2012-03-07</endDate>
13
+ <marketRent>1096</marketRent>
14
+ <finalRent>1054</finalRent>
15
+ <moveInDate>2011-03-13</moveInDate>
16
+ </unitRate>
17
+ </leaseTermRentUnitResponse>
18
+ </return>
19
+ </getLeaseTermRentResponse>
20
+ </S:Body>
21
+ </S:Envelope>
@@ -0,0 +1,43 @@
1
+ <?xml version="1.0"?>
2
+ <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <S:Body>
4
+ <getLeaseTermRentPlusResponse xmlns="http://yieldstar.com/ws/AppExchange/v1">
5
+ <return>
6
+ <externalPropertyId>42</externalPropertyId>
7
+ <leaseTermRentUnitPlusResponse>
8
+ <unitNumber>112358</unitNumber>
9
+ <building>123</building>
10
+ <makeReadyDate>2011-03-23</makeReadyDate>
11
+ <unitRate>
12
+ <leaseTerm>6</leaseTerm>
13
+ <endDate>2011-09-28</endDate>
14
+ <marketRent>1249</marketRent>
15
+ <finalRent>1207</finalRent>
16
+ <best>true</best>
17
+ <moveInDate>2011-04-01</moveInDate>
18
+ <pvEndDate>2011-04-03</pvEndDate>
19
+ <totalConcession>250</totalConcession>
20
+ <monthlyFixedConcession>0</monthlyFixedConcession>
21
+ <monthlyPercentConcession>0.0</monthlyPercentConcession>
22
+ <monthsConcession>0.0</monthsConcession>
23
+ <oneTimeFixedConcession>500</oneTimeFixedConcession>
24
+ </unitRate>
25
+ <unitRate>
26
+ <leaseTerm>12</leaseTerm>
27
+ <endDate>2012-03-26</endDate>
28
+ <marketRent>1176</marketRent>
29
+ <finalRent>1135</finalRent>
30
+ <best>false</best>
31
+ <moveInDate>2011-04-01</moveInDate>
32
+ <pvEndDate>2011-04-03</pvEndDate>
33
+ <totalConcession>500</totalConcession>
34
+ <monthlyFixedConcession>11</monthlyFixedConcession>
35
+ <monthlyPercentConcession>0.02</monthlyPercentConcession>
36
+ <monthsConcession>2.0</monthsConcession>
37
+ <oneTimeFixedConcession>500</oneTimeFixedConcession>
38
+ </unitRate>
39
+ </leaseTermRentUnitPlusResponse>
40
+ </return>
41
+ </getLeaseTermRentPlusResponse>
42
+ </S:Body>
43
+ </S:Envelope>
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0"?>
2
+ <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <S:Body>
4
+ <getLeaseTermRentPlusResponse xmlns="http://yieldstar.com/ws/AppExchange/v1">
5
+ <return>
6
+ <externalPropertyId>42</externalPropertyId>
7
+ <leaseTermRentUnitPlusResponse>
8
+ <unitNumber>112358</unitNumber>
9
+ <makeReadyDate>2011-03-23</makeReadyDate>
10
+ </leaseTermRentUnitPlusResponse>
11
+ </return>
12
+ </getLeaseTermRentPlusResponse>
13
+ </S:Body>
14
+ </S:Envelope>
@@ -0,0 +1,22 @@
1
+ <?xml version="1.0"?>
2
+ <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <S:Body>
4
+ <getLeaseTermRentPlusResponse xmlns="http://yieldstar.com/ws/AppExchange/v1">
5
+ <return>
6
+ <externalPropertyId>42</externalPropertyId>
7
+ <leaseTermRentUnitPlusResponse>
8
+ <unitNumber>112358</unitNumber>
9
+ <makeReadyDate>2011-03-23</makeReadyDate>
10
+ <unitRate>
11
+ <leaseTerm>12</leaseTerm>
12
+ <endDate>2012-03-24</endDate>
13
+ <marketRent>1149</marketRent>
14
+ <finalRent>1108</finalRent>
15
+ <moveInDate>2011-03-23</moveInDate>
16
+ <pvEndDate>2011-03-25</pvEndDate>
17
+ </unitRate>
18
+ </leaseTermRentUnitPlusResponse>
19
+ </return>
20
+ </getLeaseTermRentPlusResponse>
21
+ </S:Body>
22
+ </S:Envelope>
@@ -0,0 +1,38 @@
1
+ <?xml version="1.0"?>
2
+ <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <S:Body>
4
+ <getPropertiesResponse xmlns="http://yieldstar.com/ws/AppExchange/v1">
5
+ <return>
6
+ <externalPropertyId>99</externalPropertyId>
7
+ <property>
8
+ <externalPropertyId>2</externalPropertyId>
9
+ <name>Typical</name>
10
+ <address>123 Address Ln</address>
11
+ <city>Beverly Hills</city>
12
+ <state>CA</state>
13
+ <zip>90210</zip>
14
+ <longitude>-122.605687</longitude>
15
+ <latitude>45.544873</latitude>
16
+ <phone/>
17
+ <fax/>
18
+ <yearBuilt>2009</yearBuilt>
19
+ </property>
20
+ <property>
21
+ <externalPropertyId>3</externalPropertyId>
22
+ <name>Fully Loaded</name>
23
+ <address>550 NW Franklin Ave #200</address>
24
+ <city>Bend</city>
25
+ <state>OR</state>
26
+ <zip>97701</zip>
27
+ <longitude>-121.313936</longitude>
28
+ <latitude>44.057411</latitude>
29
+ <phone>5413063374</phone>
30
+ <fax>1234567890</fax>
31
+ <website>http://g5platform.com</website>
32
+ <unitCount>100</unitCount>
33
+ <yearBuilt>2008</yearBuilt>
34
+ </property>
35
+ </return>
36
+ </getPropertiesResponse>
37
+ </S:Body>
38
+ </S:Envelope>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0"?>
2
+ <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <S:Body>
4
+ <getPropertiesResponse xmlns="http://yieldstar.com/ws/AppExchange/v1">
5
+ <return>
6
+ <externalPropertyId>99</externalPropertyId>
7
+ </return>
8
+ </getPropertiesResponse>
9
+ </S:Body>
10
+ </S:Envelope>
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0"?>
2
+ <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <S:Body>
4
+ <getPropertiesResponse xmlns="http://yieldstar.com/ws/AppExchange/v1">
5
+ <return>
6
+ <externalPropertyId>1</externalPropertyId>
7
+ <property>
8
+ <externalPropertyId>1</externalPropertyId>
9
+ <name>Minimal</name>
10
+ </property>
11
+ </return>
12
+ </getPropertiesResponse>
13
+ </S:Body>
14
+ </S:Envelope>
@@ -0,0 +1,25 @@
1
+ <?xml version="1.0"?>
2
+ <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <S:Body>
4
+ <getPropertyResponse xmlns="http://yieldstar.com/ws/AppExchange/v1">
5
+ <return>
6
+ <externalPropertyId>99</externalPropertyId>
7
+ <property>
8
+ <externalPropertyId>99</externalPropertyId>
9
+ <name>Full Property</name>
10
+ <address>123 My Street</address>
11
+ <city>Anywhere</city>
12
+ <state>AK</state>
13
+ <zip>99999</zip>
14
+ <longitude>-95.514257</longitude>
15
+ <latitude>29.732654</latitude>
16
+ <yearBuilt>2008</yearBuilt>
17
+ <phone>555-555-5555</phone>
18
+ <fax>999-999-9999</fax>
19
+ <website>http://google.com</website>
20
+ <unitCount>100</unitCount>
21
+ </property>
22
+ </return>
23
+ </getPropertyResponse>
24
+ </S:Body>
25
+ </S:Envelope>
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0"?>
2
+ <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <S:Body>
4
+ <getPropertyResponse xmlns="http://yieldstar.com/ws/AppExchange/v1">
5
+ <return>
6
+ <externalPropertyId>42</externalPropertyId>
7
+ <property>
8
+ <externalPropertyId>42</externalPropertyId>
9
+ <name>Galaxy Apartments</name>
10
+ </property>
11
+ </return>
12
+ </getPropertyResponse>
13
+ </S:Body>
14
+ </S:Envelope>
@@ -0,0 +1,38 @@
1
+ <?xml version="1.0"?>
2
+ <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <S:Body>
4
+ <getPropertyParametersResponse xmlns="http://yieldstar.com/ws/AppExchange/v1">
5
+ <return>
6
+ <externalPropertyId>my-external-property-id</externalPropertyId>
7
+ <parameter>
8
+ <name>New Lease Term Options</name>
9
+ <value>3</value>
10
+ </parameter>
11
+ <parameter>
12
+ <name>Post Date</name>
13
+ <value>2011-03-01</value>
14
+ </parameter>
15
+ <parameter>
16
+ <name>Maximum Renewal Lease Term</name>
17
+ <value>15</value>
18
+ </parameter>
19
+ <parameter>
20
+ <name>Minimum New Lease Term</name>
21
+ <value>1</value>
22
+ </parameter>
23
+ <parameter>
24
+ <name>Minimum Renewal Lease Term</name>
25
+ <value>1</value>
26
+ </parameter>
27
+ <parameter>
28
+ <name>Maximum New Lease Term</name>
29
+ <value>15</value>
30
+ </parameter>
31
+ <parameter>
32
+ <name>Maximum Move In Days</name>
33
+ <value>55</value>
34
+ </parameter>
35
+ </return>
36
+ </getPropertyParametersResponse>
37
+ </S:Body>
38
+ </S:Envelope>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0"?>
2
+ <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <S:Body>
4
+ <getPropertyParametersResponse xmlns="http://yieldstar.com/ws/AppExchange/v1">
5
+ <return>
6
+ <externalPropertyId>my-external-property-id</externalPropertyId>
7
+ </return>
8
+ </getPropertyParametersResponse>
9
+ </S:Body>
10
+ </S:Envelope>
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0"?>
2
+ <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <S:Body>
4
+ <getPropertyParametersResponse xmlns="http://yieldstar.com/ws/AppExchange/v1">
5
+ <return>
6
+ <externalPropertyId>my-external-property-id</externalPropertyId>
7
+ <parameter>
8
+ <name>Post Date</name>
9
+ <value>2011-03-02</value>
10
+ </parameter>
11
+ </return>
12
+ </getPropertyParametersResponse>
13
+ </S:Body>
14
+ </S:Envelope>
@@ -0,0 +1,28 @@
1
+ <?xml version="1.0"?>
2
+ <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <S:Body>
4
+ <getRenewalLeaseTermRentResponse xmlns="http://yieldstar.com/ws/AppExchange/v1">
5
+ <return>
6
+ <externalPropertyId>42</externalPropertyId>
7
+ <renewalLeaseTermRentUnitResponse>
8
+ <unitNumber>112358</unitNumber>
9
+ <startDate>2011-10-24</startDate>
10
+ <unitRate>
11
+ <leaseTerm>1</leaseTerm>
12
+ <endDate>2011-11-24</endDate>
13
+ <marketRent>1331</marketRent>
14
+ <finalRent>1300</finalRent>
15
+ <best>true</best>
16
+ </unitRate>
17
+ <unitRate>
18
+ <leaseTerm>12</leaseTerm>
19
+ <endDate>2012-10-26</endDate>
20
+ <marketRent>1086</marketRent>
21
+ <finalRent>1086</finalRent>
22
+ <best>false</best>
23
+ </unitRate>
24
+ </renewalLeaseTermRentUnitResponse>
25
+ </return>
26
+ </getRenewalLeaseTermRentResponse>
27
+ </S:Body>
28
+ </S:Envelope>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0"?>
2
+ <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <S:Body>
4
+ <getRenewalLeaseTermRentResponse xmlns="http://yieldstar.com/ws/AppExchange/v1">
5
+ <return>
6
+ <externalPropertyId>42</externalPropertyId>
7
+ </return>
8
+ </getRenewalLeaseTermRentResponse>
9
+ </S:Body>
10
+ </S:Envelope>
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0"?>
2
+ <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <S:Body>
4
+ <getRenewalLeaseTermRentResponse xmlns="http://yieldstar.com/ws/AppExchange/v1">
5
+ <return>
6
+ <externalPropertyId>42</externalPropertyId>
7
+ <renewalLeaseTermRentUnitResponse>
8
+ <building>123</building>
9
+ <unitNumber>112358</unitNumber>
10
+ <unitRate>
11
+ <leaseTerm>12</leaseTerm>
12
+ <endDate>2012-10-26</endDate>
13
+ <marketRent>1086</marketRent>
14
+ <finalRent>1086</finalRent>
15
+ </unitRate>
16
+ </renewalLeaseTermRentUnitResponse>
17
+ </return>
18
+ </getRenewalLeaseTermRentResponse>
19
+ </S:Body>
20
+ </S:Envelope>
21
+
@@ -0,0 +1,41 @@
1
+ <?xml version="1.0"?>
2
+ <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <S:Body>
4
+ <getRentSummaryResponse xmlns="http://yieldstar.com/ws/AppExchange/v1">
5
+ <return>
6
+ <externalPropertyId>42</externalPropertyId>
7
+ <effectiveDate>2011-03-15</effectiveDate>
8
+ <floorPlanUnitType>
9
+ <floorPlanName>Economy</floorPlanName>
10
+ <unitType>2b1.5ba</unitType>
11
+ <bedRooms>2.0</bedRooms>
12
+ <bathRooms>1.1</bathRooms>
13
+ <avgSqFt>1147</avgSqFt>
14
+ <minMarketRent>1019</minMarketRent>
15
+ <maxMarketRent>1054</maxMarketRent>
16
+ <minConcession>500</minConcession>
17
+ <maxConcession>500</maxConcession>
18
+ <minFinalRent>1061</minFinalRent>
19
+ <maxFinalRent>1096</maxFinalRent>
20
+ </floorPlanUnitType>
21
+ <floorPlanUnitType>
22
+ <floorPlanName>Luxury</floorPlanName>
23
+ <unitType>3b3ba</unitType>
24
+ <bedRooms>3.0</bedRooms>
25
+ <bathRooms>3.0</bathRooms>
26
+ <avgSqFt>1564</avgSqFt>
27
+ <minMarketRent>1291</minMarketRent>
28
+ <maxMarketRent>1339</maxMarketRent>
29
+ <concessionType>
30
+ <myField>99</myField>
31
+ </concessionType>
32
+ <minConcession>250</minConcession>
33
+ <maxConcession>750</maxConcession>
34
+ <minFinalRent>1332</minFinalRent>
35
+ <maxFinalRent>1381</maxFinalRent>
36
+ <floorPlanDescription>big</floorPlanDescription>
37
+ </floorPlanUnitType>
38
+ </return>
39
+ </getRentSummaryResponse>
40
+ </S:Body>
41
+ </S:Envelope>
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0"?>
2
+ <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <S:Body>
4
+ <getRentSummaryResponse xmlns="http://yieldstar.com/ws/AppExchange/v1">
5
+ <return>
6
+ <externalPropertyId>42</externalPropertyId>
7
+ <effectiveDate>2011-03-11</effectiveDate>
8
+ </return>
9
+ </getRentSummaryResponse>
10
+ </S:Body>
11
+ </S:Envelope>
@@ -0,0 +1,24 @@
1
+ <?xml version="1.0"?>
2
+ <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <S:Body>
4
+ <getRentSummaryResponse xmlns="http://yieldstar.com/ws/AppExchange/v1">
5
+ <return>
6
+ <externalPropertyId>42</externalPropertyId>
7
+ <effectiveDate>2011-03-11</effectiveDate>
8
+ <floorPlanUnitType>
9
+ <floorPlanName>99</floorPlanName>
10
+ <unitType>1b1ba</unitType>
11
+ <bedRooms>1.0</bedRooms>
12
+ <bathRooms>1.0</bathRooms>
13
+ <avgSqFt>797</avgSqFt>
14
+ <minMarketRent>765</minMarketRent>
15
+ <maxMarketRent>820</maxMarketRent>
16
+ <minConcession>500</minConcession>
17
+ <maxConcession>500</maxConcession>
18
+ <minFinalRent>807</minFinalRent>
19
+ <maxFinalRent>862</maxFinalRent>
20
+ </floorPlanUnitType>
21
+ </return>
22
+ </getRentSummaryResponse>
23
+ </S:Body>
24
+ </S:Envelope>
@@ -0,0 +1,22 @@
1
+ <?xml version="1.0"?>
2
+ <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <S:Body>
4
+ <getUnitResponse xmlns="http://yieldstar.com/ws/AppExchange/v1">
5
+ <return>
6
+ <externalPropertyId>42</externalPropertyId>
7
+ <unit>
8
+ <externalPropertyId>42</externalPropertyId>
9
+ <floorPlanName>Luxury</floorPlanName>
10
+ <name>Unit 6</name>
11
+ <building>99</building>
12
+ <bedRooms>6.0</bedRooms>
13
+ <bathRooms>5.3</bathRooms>
14
+ <squareFootage>5555</squareFootage>
15
+ <unitType>foo</unitType>
16
+ <makeReadyDate>2011-03-10</makeReadyDate>
17
+ <availabilityStatus>Vacant</availabilityStatus>
18
+ </unit>
19
+ </return>
20
+ </getUnitResponse>
21
+ </S:Body>
22
+ </S:Envelope>