Normally to get these Parts via the API I get the sections, then get the Cost Centers for each section
Code: Select all
GET /jobs/62612/sections/
RESULT:
[
{
"ID": 42962,
"Name": "",
"Description": "",
"DisplayOrder": 1
}
]
GET /jobs/62612/sections/42962
RESULT
{
"ID": 42962,
"Name": "",
"Description": "",
"IsVariation": false,
"IsVariationRetention": false,
"DisplayOrder": 1,
"DateModified": "2023-07-28T16:20:07+12:00"
}
GET /jobs/62612/sections/42962/costCenters/
RESULT []
I have an identical job which works fine:
Code: Select all
GET /jobs/63772/sections/44337/costCenters/
RESULT
[
{
"ID": 44994,
"CostCenter": {
"ID": 13,
"Name": "****"
},
"JobID": 63772,
"Name": "***",
"DisplayOrder": 1,
"Total": {
"ExTax": 86.91,
DEVELOPER CENTER