Skip to content

Instantly share code, notes, and snippets.

@kenngyc
Created June 26, 2018 11:29
Show Gist options
  • Save kenngyc/7536f5cf1cdd0ebd3bbac5f6209fff64 to your computer and use it in GitHub Desktop.
Save kenngyc/7536f5cf1cdd0ebd3bbac5f6209fff64 to your computer and use it in GitHub Desktop.
Example defined fieldset retrieve
{
"data": [
{
"type": "customers",
"id": "1",
"attributes": {
"first_name": "Fancie",
"last_name": "Yglesia",
"account_no": "3559891215235202",
"balance": "256.34",
},
"relationships": {},
"links": {
"self": "/v2/customers/1"
}
},
{
"type": "customers",
"id": "2",
"attributes": {
"first_name": "Blancha",
"last_name": "Kroon",
"account_no": "3530646602541099",
"balance": "571.91",
},
"relationships": {},
"links": {
"self": "/v2/customers/2"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment