API: Asset/Count : Ability to decrement
Would it be possible to allow negative values in the field "incrementBy" for the Asset/Count call?
This should then also apply to the "totalCount" field, so you can specify a smaller new total.
To achieve this today, we would have to use 3 calls, ie. to decrement by 1 :
- Asset/{ID/Serial} -> to get current count
- Asset/ResetRunningCount -> count = 0
- Asset/Count -> set totalCount = runningCount - 1
We have a use case where we utilize assets as an availability measure.
Please sign in to leave a comment.
Comments
0 comments