Created
May 12, 2017 08:55
-
-
Save rawaludin/1af8fcca86370a96b639585b218a3ccf 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": "persons", | |
"id": "51", | |
"attributes": { | |
"prefix": "Prof.", | |
"first_name": "Violet", | |
"middle_name": "Eldridge", | |
"last_name": "Grant", | |
"preferred_name": "Violet Grant", | |
"legal_name": "Violet Eldridge Grant", | |
"suffix": "MD", | |
"date_of_birth": "2009-09-26", | |
"contact_types": [ | |
"buyer" | |
], | |
"motivations": [ | |
"moving-up", | |
"personal" | |
], | |
"primary_motivation_note": "Occaecati veritatis qui est quia voluptates aperiam.", | |
"is_pre_approved": true, | |
"is_primary": true, | |
"status": 1, | |
"profile_photo": "", | |
"stage": "past_client", | |
"lead_type": "own", | |
"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": "1982-07-17 09:04:55", | |
"last_contact_date": null, | |
"created_at": "2017-05-09 16:09:16", | |
"updated_at": "2017-05-09 16:09:16", | |
"company_name": "Kovacek, Ferry and D'Amore", | |
"company_address": "4931 Dovie Walks\nWest Dwightchester, WV 75012", | |
"company_title": "Rough Carpenter", | |
"company_department": "Warehouse", | |
"primary_email": "enicolas@stokes.org", | |
"primary_phone": "+1 514-794-7791" | |
}, | |
"links": { | |
"self": "http://localhost:8000/api/v1/persons/51" | |
}, | |
"relationships": { | |
"opportunities": { | |
"links": { | |
"self": "http://localhost:8000/api/v1/persons/51/relationships/opportunities", | |
"related": "http://localhost:8000/api/v1/persons/51/opportunities" | |
}, | |
"data": [ | |
{ | |
"type": "opportunities", | |
"id": "51" | |
}, | |
{ | |
"type": "opportunities", | |
"id": "352" | |
} | |
] | |
} | |
} | |
}, | |
"included": [ | |
{ | |
"type": "addresses", | |
"id": "508", | |
"attributes": { | |
"address_line_1": "1001 Tennyson Pass, Georgetown TX 78740", | |
"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/508" | |
} | |
}, | |
{ | |
"type": "addresses", | |
"id": "136", | |
"attributes": { | |
"address_line_1": "341 Schoen Summit", | |
"address_line_2": "Apt. 460", | |
"address_line_3": "Suite 242", | |
"address_line_4": "Suite 358", | |
"city": "Port Florencio", | |
"city_locality": "Deanton", | |
"state_region": "NE", | |
"country": "US", | |
"postal_code": "22959-4762", | |
"lat": -9.575276, | |
"lng": 65.162927, | |
"neighborhood": "Neighborhood", | |
"is_current": false, | |
"ownership_status": 1, | |
"description": "Eum quidem modi assumenda aut voluptatem voluptatum.", | |
"is_primary": false | |
}, | |
"links": { | |
"self": "http://localhost:8000/api/v1/addresses/136" | |
} | |
}, | |
{ | |
"type": "properties", | |
"id": "177", | |
"attributes": { | |
"name": "Gail Property 1", | |
"label": "property", | |
"property_type": "Single Family Detached" | |
}, | |
"links": { | |
"self": "http://localhost:8000/api/v1/properties/177" | |
}, | |
"relationships": { | |
"address": { | |
"links": { | |
"self": "http://localhost:8000/api/v1/properties/177/relationships/address", | |
"related": "http://localhost:8000/api/v1/properties/177/address" | |
}, | |
"data": { | |
"type": "addresses", | |
"id": "508" | |
} | |
} | |
} | |
}, | |
{ | |
"type": "properties", | |
"id": "310", | |
"attributes": { | |
"name": "Dolor voluptate sit natus aliquid non.", | |
"label": "dolores", | |
"property_type": "Lots and Land" | |
}, | |
"links": { | |
"self": "http://localhost:8000/api/v1/properties/310" | |
}, | |
"relationships": { | |
"address": { | |
"links": { | |
"self": "http://localhost:8000/api/v1/properties/310/relationships/address", | |
"related": "http://localhost:8000/api/v1/properties/310/address" | |
}, | |
"data": { | |
"type": "addresses", | |
"id": "136" | |
} | |
} | |
} | |
}, | |
{ | |
"type": "opportunities", | |
"id": "51", | |
"attributes": { | |
"role": 4, | |
"sale": "1", | |
"purchase": "1", | |
"min_bedrooms": 1943, | |
"max_bedrooms": 7088, | |
"min_baths": 6.1, | |
"max_baths": 217909058.7, | |
"min_price": 255487147.14, | |
"max_price": 3380.54, | |
"min_area": 6818, | |
"max_area": 9833, | |
"area_units": "sqft", | |
"min_stories": 3505, | |
"max_stories": 6376, | |
"min_land_size": 0, | |
"max_land_size": 1108.56, | |
"land_size_units": "A", | |
"property_use": "multi-family", | |
"currency": "USD", | |
"min_lot_size": 7536, | |
"max_lot_size": 6043, | |
"year_built_min": 1373, | |
"year_built_max": 2793, | |
"max_hoa_monthly_fee": 2.47, | |
"lease_renew_date": "2016-08-08", | |
"lease_expiration_date": "2016-09-14", | |
"rent_amount": 312.48, | |
"rent_term": 7076 | |
}, | |
"links": { | |
"self": "http://localhost:8000/api/v1/opportunities/51" | |
}, | |
"relationships": { | |
"properties": { | |
"links": { | |
"self": "http://localhost:8000/api/v1/opportunities/51/relationships/properties", | |
"related": "http://localhost:8000/api/v1/opportunities/51/properties" | |
}, | |
"data": [ | |
{ | |
"type": "properties", | |
"id": "177" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"type": "opportunities", | |
"id": "352", | |
"attributes": { | |
"role": 2, | |
"sale": "1", | |
"purchase": "1", | |
"min_bedrooms": null, | |
"max_bedrooms": null, | |
"min_baths": null, | |
"max_baths": null, | |
"min_price": null, | |
"max_price": null, | |
"min_area": null, | |
"max_area": null, | |
"area_units": null, | |
"min_stories": null, | |
"max_stories": null, | |
"min_land_size": null, | |
"max_land_size": null, | |
"land_size_units": null, | |
"property_use": null, | |
"currency": null, | |
"min_lot_size": null, | |
"max_lot_size": null, | |
"year_built_min": null, | |
"year_built_max": null, | |
"max_hoa_monthly_fee": null, | |
"lease_renew_date": null, | |
"lease_expiration_date": null, | |
"rent_amount": null, | |
"rent_term": null | |
}, | |
"links": { | |
"self": "http://localhost:8000/api/v1/opportunities/352" | |
}, | |
"relationships": { | |
"properties": { | |
"links": { | |
"self": "http://localhost:8000/api/v1/opportunities/352/relationships/properties", | |
"related": "http://localhost:8000/api/v1/opportunities/352/properties" | |
}, | |
"data": [ | |
{ | |
"type": "properties", | |
"id": "310" | |
} | |
] | |
} | |
} | |
} | |
], | |
"meta": { | |
"constants": { | |
"ES": [ | |
{ | |
"id": "es_interactions", | |
"label": "INTERACTIONS" | |
}, | |
{ | |
"id": "es_addresses", | |
"label": "ADDRESSES" | |
}, | |
{ | |
"id": "contact_type_ids", | |
"label": "CONTACT_TYPE_KEY" | |
} | |
], | |
"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