NextMotion icon

NextMotion

Interact with NextMotion API for patient care management

Actions163

Accounting Distribution → Update

AI-generated

Summary

Update an existing accounting distribution by specifying its ID along with a new display name and a model array defining two distribution lines.

Inputs

  • Accounting Distribution ID (required) — The unique identifier of the accounting distribution to update.
  • Name (required) — The new display name for the accounting distribution.
  • Model (JSON) (required) — A JSON array containing two distribution lines that represent the accounting distribution model.

Output shape

a single updated accounting distribution object

The response returns the updated accounting distribution including the new name and model. The operation requires the accounting distribution ID and both the name and model must be provided to perform update.

Examples

Example 1: Update accounting distribution with ID '123e4567-e89b-12d3-a456-426614174000' to have a new name and distribution model.

Input the accountingDistributionId as '123e4567-e89b-12d3-a456-426614174000', specify the new accountingDistributionName string, and provide a JSON array (of two distribution lines) for accountingDistributionModel.

Links

Discussion