Skip to main content

Hi all,

Via the Rest API, is there a standard way to delete just the line items on Journal Transactions or Expense Claims? If you pass in an item in the Details param, it will add to the Details which makes sense. I’d like to avoid completely deleting the old transaction / claim then making a new one.

 

Thanks for your help!

@ryanmiter  there is “delete” field on each detail object. If you pass it as true, it’ll delete the detail. 


Got it - thank you!


Hey Dmitrii - is that field only on a certain API version? I’m looking at the Web Services Endpoints screen and don’t see “Delete” in there on API version 22.200.001


Actually I think I’ve figured this out - this isn’t a typical object field, we have to pass it in like this:

{
"id": "862bb93c-d734-ef11-8435-0eb71309dd15",
"delete": true
}

 


Reply