post
https://{targetURL}/api/v1/sampleSeries//quantity/subtract
Decreases the tracked amount on every sample in the series by the supplied delta. All samples in the series must already have a quantity configured and use the same quantity type. Subtraction cannot drop any sample's amount below zero — that is rejected with 400 and no sample is updated. For a single sample, use POST /samples/{sampleID}/quantity/subtract.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
200Amount was successfully subtracted from the samples
204No Content
400Not all samples have a quantity set, have the same quantity type or the amount dropped below 0
401You do not have the permission to edit one or all of the samples.
404The series was not found