Creating a Project Expense using the Workfront API | Adobe Higher Education
Skip to main content
Level 2
November 18, 2022
Frage

Creating a Project Expense using the Workfront API

  • November 18, 2022
  • 0 Antworten
  • 558 Ansichten

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
Dieses Thema wurde für Antworten geschlossen.