foundations icon indicating copy to clipboard operation
foundations copied to clipboard

Allow setting the `nominalAccountId` in Work order item `POST`/`PATCH` request

Open sprtk-ches opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. The nominal account id cannot be set/updated though the API

Describe the solution you'd like Add the nominalAccountId as an optional field in the POST /worksOrders/{id}/items and PATCH /worksOrders/{id}/items/{itemId} endpoints

Example

{
  "notes": "Please book the electrical certificate for either Thursday or Friday.",
  "chargeTo": "landlord",
  ....
  "nominalAccountId" : "genman"
}

Describe alternatives you've considered There are no alternatives. This should have already been an option after #8517

sprtk-ches avatar Aug 09 '24 08:08 sprtk-ches