Created
May 9, 2017 16:47
-
-
Save rawaludin/3131642ffc1ce26cbf63ae00b7c1a83d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": { | |
"type": "opportunities", | |
"id": "7", | |
"attributes": { | |
"sale": "0", | |
"purchase": "1", | |
"min_bedrooms": 2777, | |
"max_bedrooms": 9677, | |
"min_baths": 188844161.8, | |
"max_baths": 41.7, | |
"min_price": 21744.57, | |
"max_price": 107.26, | |
"min_area": 9109, | |
"max_area": 391, | |
"area_units": "m2", | |
"min_stories": 85, | |
"max_stories": 5629, | |
"min_land_size": 680208989.42, | |
"max_land_size": 487.82, | |
"land_size_units": "HA", | |
"property_use": "commercial", | |
"currency": "USD", | |
"min_lot_size": 3442, | |
"max_lot_size": 8397, | |
"year_built_min": 4263, | |
"year_built_max": 3673, | |
"max_hoa_monthly_fee": 862784.72, | |
"lease_renew_date": "2017-05-05", | |
"lease_expiration_date": "2016-11-27", | |
"rent_amount": 306452135.7, | |
"rent_term": 4359 | |
}, | |
"links": { | |
"self": "http://localhost:8000/api/v1/opportunities/7" | |
}, | |
"relationships": { | |
"persons": { | |
"links": { | |
"self": "http://localhost:8000/api/v1/opportunities/7/relationships/persons", | |
"related": "http://localhost:8000/api/v1/opportunities/7/persons" | |
}, | |
"data": [ | |
{ | |
"type": "persons", | |
"id": "7" | |
} | |
] | |
}, | |
"properties": { | |
"links": { | |
"self": "http://localhost:8000/api/v1/opportunities/7/relationships/properties", | |
"related": "http://localhost:8000/api/v1/opportunities/7/properties" | |
}, | |
"data": [ | |
{ | |
"type": "properties", | |
"id": "27" | |
}, | |
{ | |
"type": "properties", | |
"id": "251" | |
} | |
] | |
} | |
} | |
}, | |
"included": [ | |
{ | |
"type": "addresses", | |
"id": "501", | |
"attributes": { | |
"address_line_1": "188 Martin St, Austin, TX 78759", | |
"address_line_2": null, | |
"address_line_3": null, | |
"address_line_4": null, | |
"city": null, | |
"city_locality": null, | |
"state_region": null, | |
"country": null, | |
"postal_code": null, | |
"lat": null, | |
"lng": null, | |
"neighborhood": null, | |
"is_current": true, | |
"ownership_status": 2, | |
"description": null, | |
"is_primary": true | |
}, | |
"links": { | |
"self": "http://localhost:8000/api/v1/addresses/501" | |
} | |
}, | |
{ | |
"type": "addresses", | |
"id": "504", | |
"attributes": { | |
"address_line_1": "830 Twin Lakes Dr, Cedar Park, TX 78613", | |
"address_line_2": null, | |
"address_line_3": null, | |
"address_line_4": null, | |
"city": null, | |
"city_locality": null, | |
"state_region": null, | |
"country": null, | |
"postal_code": null, | |
"lat": null, | |
"lng": null, | |
"neighborhood": null, | |
"is_current": true, | |
"ownership_status": 2, | |
"description": null, | |
"is_primary": true | |
}, | |
"links": { | |
"self": "http://localhost:8000/api/v1/addresses/504" | |
} | |
}, | |
{ | |
"type": "persons", | |
"id": "7", | |
"attributes": { | |
"prefix": "Prof.", | |
"first_name": "Adam", | |
"middle_name": "Corrine", | |
"last_name": "Ryan", | |
"preferred_name": "Adam Ryan", | |
"legal_name": "Adam Corrine Ryan", | |
"suffix": "Jr.", | |
"date_of_birth": "1993-06-11", | |
"contact_types": [ | |
"past clients" | |
], | |
"motivations": [ | |
"downsizing", | |
"schools" | |
], | |
"primary_motivation_note": "Error ex reiciendis ut nisi.", | |
"is_pre_approved": true, | |
"is_primary": true, | |
"status": 1, | |
"profile_photo": "", | |
"stage": "lead", | |
"lead_type": "rent", | |
"is_starred": false, | |
"available_to_contact_date": null, | |
"buyer_type": null, | |
"pre_approved_amount": null, | |
"number_in_household": null, | |
"background_info": null, | |
"touch_count": null, | |
"initial_contact_date": "2010-08-25 08:05:56", | |
"last_contact_date": null, | |
"created_at": "2017-05-09 16:09:16", | |
"updated_at": "2017-05-09 16:09:16", | |
"company_name": null, | |
"company_address": "929 Stroman Dam Suite 572\nEast Mikelchester, DC 20451", | |
"company_title": "Ship Mates", | |
"company_department": "Warehouse", | |
"primary_email": "ikshlerin@gmail.com", | |
"primary_phone": "+1 514-794-7791", | |
"role": 3, | |
"sale": "0", | |
"purchase": "1", | |
"min_bedrooms": 2777, | |
"max_bedrooms": 9677, | |
"min_baths": 188844161.8, | |
"max_baths": 41.7, | |
"min_price": 21744.57, | |
"max_price": 107.26, | |
"min_area": 9109, | |
"max_area": 391, | |
"area_units": "m2", | |
"min_stories": 85, | |
"max_stories": 5629, | |
"min_land_size": 680208989.42, | |
"max_land_size": 487.82, | |
"land_size_units": "HA", | |
"property_use": "commercial", | |
"currency": "USD", | |
"min_lot_size": 3442, | |
"max_lot_size": 8397, | |
"year_built_min": 4263, | |
"year_built_max": 3673, | |
"max_hoa_monthly_fee": 862784.72, | |
"lease_renew_date": "2017-05-05", | |
"lease_expiration_date": "2016-11-27", | |
"rent_amount": 306452135.7, | |
"rent_term": 4359 | |
}, | |
"links": { | |
"self": "http://localhost:8000/api/v1/persons/7" | |
} | |
}, | |
{ | |
"type": "properties", | |
"id": "27", | |
"attributes": { | |
"name": "Pete Property 1", | |
"label": "property", | |
"property_type": "Single Family Detached" | |
}, | |
"links": { | |
"self": "http://localhost:8000/api/v1/properties/27" | |
}, | |
"relationships": { | |
"address": { | |
"links": { | |
"self": "http://localhost:8000/api/v1/properties/27/relationships/address", | |
"related": "http://localhost:8000/api/v1/properties/27/address" | |
}, | |
"data": { | |
"type": "addresses", | |
"id": "501" | |
} | |
} | |
} | |
}, | |
{ | |
"type": "properties", | |
"id": "251", | |
"attributes": { | |
"name": "Helen Property 1", | |
"label": "property", | |
"property_type": "Condominium" | |
}, | |
"links": { | |
"self": "http://localhost:8000/api/v1/properties/251" | |
}, | |
"relationships": { | |
"address": { | |
"links": { | |
"self": "http://localhost:8000/api/v1/properties/251/relationships/address", | |
"related": "http://localhost:8000/api/v1/properties/251/address" | |
}, | |
"data": { | |
"type": "addresses", | |
"id": "504" | |
} | |
} | |
} | |
} | |
], | |
"meta": { | |
"constants": { | |
"AREA_UNITS": [ | |
{ | |
"id": "m2", | |
"label": "M2" | |
}, | |
{ | |
"id": "sqft", | |
"label": "SQFT" | |
} | |
], | |
"LAND_SIZE_UNITS": [ | |
{ | |
"id": "A", | |
"label": "A" | |
}, | |
{ | |
"id": "HA", | |
"label": "HA" | |
} | |
], | |
"PROPERTY_USE": [ | |
{ | |
"id": "commercial", | |
"label": "COMMERCIAL" | |
}, | |
{ | |
"id": "residential", | |
"label": "RESIDENTIAL" | |
}, | |
{ | |
"id": "multi-family", | |
"label": "MULTI_FAMILY" | |
}, | |
{ | |
"id": "agriculture", | |
"label": "AGRICULTURE" | |
}, | |
{ | |
"id": "mixed", | |
"label": "MIXED" | |
}, | |
{ | |
"id": "other", | |
"label": "OTHER" | |
} | |
], | |
"STATUS": [ | |
{ | |
"id": -1, | |
"label": "DELETED" | |
}, | |
{ | |
"id": 0, | |
"label": "INACTIVE" | |
}, | |
{ | |
"id": 1, | |
"label": "ACTIVE" | |
} | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment