Created
May 9, 2017 16:18
-
-
Save rawaludin/633ce5cb5507299911ae05735ba96bc0 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": "properties", | |
"id": "1", | |
"attributes": { | |
"name": "Pete Property 1", | |
"label": "property", | |
"property_type": "Single Family Detached", | |
"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 | |
}, | |
"links": { | |
"self": "http://localhost:8000/api/v1/properties/1" | |
}, | |
"relationships": { | |
"address": { | |
"links": { | |
"self": "http://localhost:8000/api/v1/properties/1/relationships/address", | |
"related": "http://localhost:8000/api/v1/properties/1/address" | |
}, | |
"data": { | |
"type": "addresses", | |
"id": "501" | |
} | |
} | |
} | |
}, | |
"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" | |
} | |
} | |
], | |
"meta": { | |
"constants": { | |
"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