Discussions

Ask a Question
Back to All

Employee endpoint doesn't return all selected attributes

For our demo environment we suddenly are missing certain attributes that are selected. Attributes that are selected but aren't returned from api (might be more):

  • subcompany
  • office
  • department
  • team
  • supervisor

{
"type": "Employee",
"attributes": {
"id": {
"label": "ID",
"value": 8431438,
"type": "integer",
"universal_id": "id"
},
"first_name": {
"label": "First name",
"value": "William",
"type": "standard",
"universal_id": "first_name"
},
"last_name": {
"label": "Last name",
"value": "Pane",
"type": "standard",
"universal_id": "last_name"
},
"email": {
"label": "Email",
"value": "[email protected]",
"type": "standard",
"universal_id": "email"
},
"gender": {
"label": "Gender",
"value": "male",
"type": "standard",
"universal_id": "gender"
},
"status": {
"label": "Status",
"value": "active",
"type": "standard",
"universal_id": "status"
},
"position": {
"label": "Position",
"value": "Senior Recruiter",
"type": "standard",
"universal_id": "position"
},
"hire_date": {
"label": "Hire date",
"value": "2013-10-01T00:00:00+02:00",
"type": "date",
"universal_id": "hire_date"
},
"termination_date": {
"label": "Termination date",
"value": null,
"type": "date",
"universal_id": "termination_date"
},
"cost_centers": {
"label": "Cost center",
"value": [
{
"type": "CostCenter",
"attributes": {
"id": 511699,
"name": "Cost center 2",
"percentage": 100
}
}
],
"type": "standard",
"universal_id": "cost_centers"
}
}
}

Is this a bug or did I miss a breaking api change?