Versions Compared

Key

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

...

  • CRUD API in mod-circulation-storage (implemented, see API documentation)
  • API in mod-feesfines for more complex operations on Actual Cost Records (API documentation)
    Jira Legacy
    serverSystem JiraJIRA
    columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverId01505d01-b853-3c2e-90f1-ee9b165564fc
    keyUXPROD-3565
    )

Actual Cost Fee/Fine API in mod-feesfines

...

Code Block
languagejs
titleRequest
{
  "actualCostRecordId": "89105c06-dbdb-4aa0-9695-d4d19c733270",
  "amount": "9.99",
  "servicePointId": "a5cea7c9-17b5-44b1-add3-ec43311451a8",
  "additionalInfoForStaff": "Additional information for staff",
  "additionalInfoForPatron": "Additional information for patron"
}

...

  • create a fee/fine ("account") with requested amount
  • create corresponding "charge" fee/fine action
  • mark actual cost record as billed
  • link actual cost record to the created fee/fine ("account") by adding "accountId" to it
  • copy additional information from billing request to actual cost record
  • return updated actual cost record in response

...