Update allocation schedule
Replace an allocation schedule. Send the full setup. A line you omit is removed. This save does not post a journal. For allocation_type percentage, the line percentage_amount values must total 100. For allocation_type fixed or statistical, keep each line fixed_amount. A statistical schedule does not recompute those amounts from statistical journals.
Additional validations
- For
allocation_typepercentage, the linepercentage_amountvalues must total 100. - For
allocation_typestatistical, sendsource_typetransaction, exactly one source line, and thefixed_amountto post on each line. - The schedule company, each destination company, and each source record must be companies you can access.
Authorizations
Headers
Optional. A unique value (a UUID works well) identifying this operation. If the request is repeated with the same key, the original response is replayed instead of the operation running again, so a retry cannot create a duplicate record. Results are replayable for 48 hours. Reusing a key with a different request body returns 422.
255Body
Response
OK