For each defined cost code field as listed in the cost code structure parts, there is a list of valid values. These end points enables these values to be queried. For example, for the cost code field 'Project' the valid list of values is 'Client A Project','Digitisation'
Cost Code Structure Part Value Response - Array
Bad Request
Unauthorized - Authorization Required
Unprocessable Entity
General Error
{- "data": [
- {
- "id": "a0bc1ba8-063e-c1fd-3e8f-6b5951f33e03",
- "type": "costCodeStructurePartValues",
- "attributes": {
- "name": "Newcastle"
}, - "relationships": {
- "part": {
- "links": {
}, - "data": {
- "type": "costCodeStructureParts",
- "id": 24
}
}
},
}
]
}
Get Cost Code Structure Part Value by ID
Cost Code Structure Part Value Response
Bad Request
Unauthorized - Authorization Required
Unprocessable Entity
General Error
{- "data": {
- "0": {
- "id": "a0bc1ba8-063e-c1fd-3e8f-6b5951f33e03"
}, - "type": "costCodeStructurePartValues",
- "attributes": {
- "name": "Newcastle"
}, - "relationships": {
- "part": {
- "links": {
}, - "data": {
- "type": "costCodeStructureParts",
- "id": 24
}
}
}, - "id": "a0bc1ba8-063e-c1fd-3e8f-6b5951f33e03"
}
}