Delete several capex proposals at once, each exactly as delete_capex_plan_line deletes one.
Delete several capex proposals at once, each exactly as delete_capex_plan_line deletes one.
Each proposal is deleted or refused on its own: a proposal can be deleted while it is a draft, with finance.capex_scheme.delete, or while it is back with you for revision, with finance.capex_scheme.create as well, which withdraws the request it is in. A refused proposal is left as it was and the others are still deleted. At most 1,000 proposals.
Returns one row per id sent, in the order sent: line_id, scheme_code (its Proposal ID, where you can reach its plan), ok, and for a refused proposal the refusal’s error_code, message and hint. One that cannot be found, or is on a plan you cannot reach, is refused with NO_SUCH_LINE, and an id sent twice is deleted once, the second refused with DUPLICATE_LINE.
Headers
Preference
params=single-object Body
Delete several capex proposals at once, each exactly as delete_capex_plan_line deletes one.
Each proposal is deleted or refused on its own: a proposal can be deleted while it is a draft, with finance.capex_scheme.delete, or while it is back with you for revision, with finance.capex_scheme.create as well, which withdraws the request it is in. A refused proposal is left as it was and the others are still deleted. At most 1,000 proposals.
Returns one row per id sent, in the order sent: line_id, scheme_code (its Proposal ID, where you can reach its plan), ok, and for a refused proposal the refusal's error_code, message and hint. One that cannot be found, or is on a plan you cannot reach, is refused with NO_SUCH_LINE, and an id sent twice is deleted once, the second refused with DUPLICATE_LINE.
Response
OK

