Created
November 21, 2015 20:57
-
-
Save jking6884/8c91c28c86fd26969de2 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": { | |
"id": 1, | |
"type": "user", | |
"attributes": { | |
"first" : payload.general.first, | |
"last" : payload.general.last, | |
}, | |
relationships: { | |
userRealty: { | |
data: { | |
id: '1', | |
"type": "user-realty", | |
"relationships" : { | |
userRealtyLicenses: { | |
id: '1', | |
"type" : "user-realty-license" | |
} | |
} | |
} | |
} | |
} | |
}, | |
included: [{ | |
id: '1', | |
type: 'user-realty', | |
"attributes": { | |
mlsName: payload.realty.mls_name, | |
mlsUserId: payload.realty.mls_user_id, | |
licenseNum: payload.realty.license_num | |
} | |
}, | |
{ | |
id:'1', | |
type: 'user-realty-license', | |
"attributes": { | |
"type":"license", | |
"state" : "georgia" | |
} | |
}, | |
{ | |
id:'2', | |
type: 'user-realty-license', | |
"attributes": { | |
"type":"license", | |
"state" : "alabama" | |
} | |
}] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment