Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

service
    raft.services.CostObject,calls.forecast.publish.url: '/rest/v2/forecast/:id/copy'
      raft.services.CostObject,calls.forecast.publish.urltypel: put

Forecast Cache

Wiki Markup
\[GET\] /rest/v2/forecast/cache
--> retrieves forecast stored in cache
Ledger::getCacheLedger

...

service
    raft.services.Scenario.calls.cache.speculation.expense.addTBH.url: 'rest/v2/speculation/tbh
    raft.services.Scenario.calls.cache.speculation.expense.add.type: 'postput';

Wiki Markup
\[POST\] /rest/v2/speculation/tbh/:speculationId
 --> update/save TBH
Ledger::updateTBHLedger(speculation)
returns ForecastData ...*Currently subject to cleanup/parm pruning

params:
    costObjectKey (required)
    scenarioKey (required)
    speculationName (optional)
    description (optional) (maps to front end "comment")
    appointmentSubtypeKey (required)
    personnelKey (required)
    hrPositionKey (required)
    startDate (required) – start date of the view
    endDate (required) – end date of the view
    speculationStartDate (required) – start date of the speculation
    speculationEndDate (required) – end date of the speculation
    percent (required)
    onOffCampus (required) ON|OFF
    appointmentChange: (Y|N) (required) if appointmentChange is Y, one or more of the following four fields is required
    fullName
    baseAmount
    payBasis
    hourlyRate
    workWeek

service
    raft.services.Scenario.calls.cache.speculation.person.update.url: 'rest/v2/speculation/person/:speculationId'
    Not found in service file     raft.services.Scenario.calls.cache.speculation.person.update.type: post

Person

Wiki Markup
\[GET\] /rest/v2/person/:personId \--> return person data (perhaps only data subset)
*MOVE TO STRIKE* updated person data appears in the returned speculation from an update call

...