Created
May 9, 2017 16:21
-
-
Save rawaludin/1e5557f875f65679bcd0abfaaa7b8bb7 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": { | |
"properties": { | |
"links": { | |
"self": "http://localhost:8000/api/v1/persons/51/relationships/properties", | |
"related": "http://localhost:8000/api/v1/persons/51/properties" | |
}, | |
"data": [ | |
{ | |
"type": "properties", | |
"id": "177" | |
}, | |
{ | |
"type": "properties", | |
"id": "310" | |
} | |
] | |
} | |
} | |
}, | |
"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": true, | |
"ownership_status": 3, | |
"description": "Suscipit placeat quidem et.", | |
"is_primary": true | |
}, | |
"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", | |
"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 | |
}, | |
"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", | |
"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" | |
}, | |
"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" | |
} | |
} | |
} | |
} | |
], | |
"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