Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
/rest/v2/pi/forecast/cache

...

  • GET: checkWorksetCache

...

  • PUT: populateWorksetCache : input parms: Scenario Key, Workset Key, output: success/fail

...

  • DELETE: deleteWorksetCache : input parms: Scenario, output: success/fail
/rest/v2/pi/forecast/:forecast_id/glcategory/:glcategory_id/lineitem/:lineitem_id

...

  • GET: getWorksetExpenseLines: lineitem_id is omitted | input parms: worksetKey (req), startDate (opt), endDate (opt), output: array of expense line

...

  • POST: (update) updateExpenseWrk: input parms: worksetKey, costObjectKey, lineItemName, description, isRollOff [Y|N], amount, isAmortized [Y|N]

...

  • PUT: (create) updateExpenseWrk: lineitem_id is omitted | input parms: worksetKey, costObjectKey, lineItemName, description, isRollOff [Y|N], amount, isAmortized [Y|N]
/rest/v2/pi/forecast/:forecast_id/glcategory/:glcategory_id
  •  GET: getExpSubtotal: input parms: worksetKey (req), startDate (opt), endDate (opt)

getWorkset: output: Scenario Key, Workset Key, described in RAFTTHREE-605.

getCalendar: GET, returns calendar data, described in https://jira-mit-edu.ezproxyberklee.flo.org/jira/browse/RAFTTHREE-571

addExpenseLine : POST, input parms, scenarioKey, worksetKey, GLCat, Name (default:GlCat), startDate, endDate, rollsOff [Y|N], amortize [Y|N], Single Cost Object Key, returns speculationId (expense line key)

upDateExpenseLine : PUT, input parms, speculationId,scenarioKey, worksetKey, GLCat, Name (default:GlCat), startDate, endDate, rollsOff [Y|N], amortize [Y|N], Single Cost Object Key, returns status

deleteExpenseLine : DELETE, speculationId, returns status

getExpenseLines :  GET,  input parms: Scenario, Budget, Workset, GL category, startDate,endDate, output: array of expense line

...

getExpenseSummary - Response JSON   (This needs review)

 

getExpenseSubtotal : input parms: Scenario, Budget, Workset, GL category, startDate (optional, defaults to workset start Date), endDate (optional, defaults to workset end date), output: array of subtotals, Auth total line only appears when dates are workset begin and end date (because calculated total is based on Auth total minus subtotal lines = calc total )

...