A cost code allocation can be assigned to an employee in order to track financial costs and produce journals destined for your accounting system
Get Cost Code Allocation by Employment ID
Cost Code Allocation Response
General Error
{- "data": {
- "id": "a0bc1ba8-063e-c1fd-3e8f-6b5951f33e03",
- "type": "costCodeAllocations",
- "attributes": {
- "percentage": 66.66
},
}
}Add or update a cost code allocation
Cost Code Allocation Response
General Error
{- "data": {
- "type": "costCodeAllocations",
- "attributes": {
- "percentage": 66.66
}, - "relationships": {
- "costCodes": {
- "data": [
- {
- "id": "285f0a36-9ff3-4399-a47a-80e9bce56921",
- "type": "costCodeStructurePartValues"
}, - {
- "id": "d57ea6c7-6d47-42bc-b34a-9468a2c2a65d",
- "type": "costCodeStructurePartValues"
}
]
}
}
}
}{- "data": {
- "id": "a0bc1ba8-063e-c1fd-3e8f-6b5951f33e03",
- "type": "costCodeAllocations",
- "attributes": {
- "percentage": 66.66
},
}
}