Oops my bad, @vince . Here’s the response payload (I’ve prettified it):
{
"data": [
{
"type": "job_master",
"id": "07dc6ca0-2e98-48be-8b99-529775399c0b",
"attributes": {
"id": "07dc6ca0-2e98-48be-8b99-529775399c0b",
"role": "Sales",
"link": null,
"source": "very",
"weight": "2",
"jobCategory": "Sales",
"shortId": null,
"unpublishedAt": null,
"address": null,
"contactName": "Kemp",
"contactPhoneNumber": "9811112223",
"mediaURL": null,
"latLng": {
"x": 23,
"y": 22
},
"baseSalary": 24000,
"maxEarnings": 45000,
"joiningBonus": 3000,
"referralBonus": null,
"benefits": {
"timings": "8 hours"
},
"benefitsMetaData": null,
"isPartTimeAvailable": true,
"description": "This is a sample job detail",
"requirements": {
"documents": "DL"
},
"optionalQuestions": null
},
"relationships": {
"createdByMitra": {
"data": {
"type": "mitra",
"id": "c46f2ba9-1838-45e3-883a-56baca35d9be"
},
"links": {
"related": {
"href": "/forest/job_master/07dc6ca0-2e98-48be-8b99-529775399c0b/relationships/createdByMitra"
}
}
},
"company": {
"data": {
"type": "company",
"id": "ff176ba8-c3d0-4ec9-af8f-0c46c24b81da"
},
"links": {
"related": {
"href": "/forest/job_master/07dc6ca0-2e98-48be-8b99-529775399c0b/relationships/company"
}
}
},
"city": {
"data": {
"type": "city",
"id": "2ab47e25-6ed0-4d4c-8c65-c45f4307003b"
},
"links": {
"related": {
"href": "/forest/job_master/07dc6ca0-2e98-48be-8b99-529775399c0b/relationships/city"
}
}
},
"assignedToMitra": {
"data": {
"type": "mitra",
"id": "c46f2ba9-1838-45e3-883a-56baca35d9be"
},
"links": {
"related": {
"href": "/forest/job_master/07dc6ca0-2e98-48be-8b99-529775399c0b/relationships/assignedToMitra"
}
}
},
"locality": {
"data": {
"type": "locality",
"id": "2ee0fc02-7f4b-4d3e-ac0e-2ae3e1f6c81b"
},
"links": {
"related": {
"href": "/forest/job_master/07dc6ca0-2e98-48be-8b99-529775399c0b/relationships/locality"
}
}
}
}
}
],
"included": [
{
"type": "customer",
"id": "c46f2ba9-1838-45e3-883a-56baca35d9be",
"attributes": {
"id": "c46f2ba9-1838-45e3-883a-56baca35d9be",
"name": "Hermit",
"phoneNumber": "98723247238",
"photoUrl": null,
"status": "Active",
"dateOfJoining": "2020-06-04T13:21:54.484Z",
"createdAt": "2020-06-04T13:21:54.484Z",
"updatedAt": "2020-06-04T13:21:54.484Z",
"deletedAt": null,
"type": null,
"latLng": [],
"assignedToMitraJobCityWorkLocations": [],
"createdByMitraJobs": []
},
"relationships": {}
},
{
"type": "company",
"id": "ff176ba8-c3d0-4ec9-af8f-0c46c24b81da",
"attributes": {
"id": "ff176ba8-c3d0-4ec9-af8f-0c46c24b81da",
"name": "Crescent Inc",
"hqAddress": null,
"contactName": null,
"contactPhoneNumber": null,
"createdAt": "2020-03-05T18:37:57.673Z",
"updatedAt": "2020-03-05T18:37:57.736Z",
"deletedAt": null,
"logoUrl": null,
"jobs": []
}
},
{
"type": "city",
"id": "2ab47e25-6ed0-4d4c-8c65-c45f4307003b",
"attributes": {
"id": "2ab47e25-6ed0-4d4c-8c65-c45f4307003b",
"name": "Bengaluru",
"createdAt": "2020-07-16T09:27:07.563Z",
"updatedAt": "2020-07-16T09:27:07.563Z",
"deletedAt": null,
"photoUrl": null,
"latLng": [],
"localities": [],
"jobCities": [],
"userLocations": [],
"userWorkCities": [],
"pinCodes": []
}
},
{
"type": "locality",
"id": "2ee0fc02-7f4b-4d3e-ac0e-2ae3e1f6c81b",
"attributes": {
"id": "2ee0fc02-7f4b-4d3e-ac0e-2ae3e1f6c81b",
"name": "California (Houston)",
"aliases": null,
"createdAt": "2020-07-16T09:27:11.447Z",
"updatedAt": "2020-07-16T09:27:11.447Z",
"deletedAt": null,
"latLng": {
"x": 13.2257,
"y": 77.575
},
"pinCodes": [],
"jobCityWorkLocations": [],
"jobCityOnboardingLocations": [],
"userLocations": [],
"userWorkLocalities": []
}
}
]
}
Is there something I’m missing?