Put /api/v202507/bill/batch/{batchId}

Operation: MoveBatchV202507 Permissions: BillsAndBatches (Edit)

Summary

Moves the set of bills to the specified batch
The bills being moved should be in an open or closed batch
The specified batch should be an open batch
The specified batch should belong to the current user

Path and Query Parameters

Parameter Description Type Location
batchId Batch to move toRequired integer Path

Request Body Parameters

Content-Type: application/json

Parameter Description Type
Request Body Array integer [Array]

Request Body

[
  1
]

Response Parameters

HTTP 200


Body Parameters

Content Type: application/json

Type Reference: UpdateResult

Parameter Description Type
selected Required (defined) integer
updated Required (defined) integer

Responses

HTTP 200

Body

Content Type: application/json
{
  "selected": 1,
  "updated": 1
}