Skip to content

Instantly share code, notes, and snippets.

@andevsoftware
Last active March 12, 2016 12:35
Show Gist options
  • Save andevsoftware/13e47a6d773d5a384463 to your computer and use it in GitHub Desktop.
Save andevsoftware/13e47a6d773d5a384463 to your computer and use it in GitHub Desktop.
ApiSerializer Test Json
{
"leads":{
"id":38,
"amountHours":0,
"contactId":428,
"childName":"Test",
"childLastname":"Bad",
"notes":"do as lorem",
"phaseStatus":4,
"childcareType":2,
"locationId":29,
"assignedUserId":17,
"createdUserId":5,
"startDate":"2015-11-09T00:00:00Z",
"nextContactDate":"2015-10-06T00:00:00Z",
"dateOfBirth":null,
"updatedAt":"2016-03-12T12:17:33Z",
"createdAt":"2015-09-29T00:00:00Z",
"assignedUser":{
"id":17,
"firstName":"management",
"lastName":"gebruiker",
"email":"[email protected]",
"role":2,
"hidden":1,
"active":1
},
"createdUser":{
"id":5,
"firstName":"Olivier",
"lastName":"Andriessen",
"email":"[email protected]",
"role":1,
"hidden":0,
"active":1
},
"contact":{
"id":428,
"clientNumber":"",
"familyName":"Test",
"parentingType":1,
"address":"",
"zipcode":"",
"city":"?",
"phonenumber":"0123855429",
"mobileMother":"",
"mobileFather":"",
"emailAddress":"",
"createdAt":"2015-09-29T09:04:42Z",
"updatedAt":"2015-10-08T12:00:49Z",
"state":1,
"occasion":""
},
"location":{
"id":29,
"name":"DAP (PG)",
"address":"Overste 163",
"zipcode":"1234 HG",
"city":"SCHEP",
"phonenumber":"0648456950",
"emailAddress":"[email protected]",
"createdAt":"2015-09-24T21:13:53Z",
"updatedAt":"2015-09-24T21:13:53Z"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment