Expand my Community achievements bar.

Don’t miss the Workfront AMA: System Smarts & Strategic Starts! Ask your questions about keeping Workfront running smoothly, planning enhancements, reporting, or adoption, and get practical insights from Adobe experts.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

Creating a Project Expense using the Workfront API

Avatar

Level 3

Has anybody created a new Project Expense using the Workfront API and do you have any examples.

I'm unsure of what data needs to go into objID and expObjCode, I think expObjCode is possibly EXPNS but not 100%.

 
I do have experience using the API but this has me baffled.
 
UPDATED
I have now got this working for anybody interested, in order to create a new Expense using the api, your json needs to look something like this.
{
    "actualAmount": "10",
    "billingRecordID": "If you have one, this expense will be assigned to that billing record",
    "description": "Any Name",
    "expObjCode": "PROJ",
    "expenseTypeID": "The ID of your expense type",
    "isBillable": true or false,
    "topObjID": "This is the project id",
    "projectID": "This is the project id"
}
 
Thanks
0 Replies