Get /api/v202509/batch/{batchId}/log

Operation: GetBatchLogsV202509 Permissions: BillsAndBatches (View)

Summary

Retrieves all move operation logs for a specific batch

Path and Query Parameters

Parameter Description Type Location
batchId Batch identifierRequired integer Path

Response Parameters

HTTP 200


Body Parameters

Content Type: application/json

Type Reference: BatchLogResponseV202509

Parameter Description Type
batchId The batch identifier integer
billsAddedFromLogs Logs of bills that were added to this batch from another batch. TargetBatchLogResponseV202509 [Array]
   sourceBatch BatchChild
      batchId The batch id. integer
      batchCode The batch code. string
   moveOperationId Unique identifier for the operation that moved the bills.
There can be multiple bills moved in a single operation, so this ID is the same for all bills moved in that operation.
string
   createdDate Date/time offset of the operation string
   billIds Bill IDs that were moved in this operation. array
   createdBy UserChild
      userId The user identifier integer
      userCode The user code string
      fullName The user’s full name string
billsMovedToLogs Logs of bills that were moved from this batch to another batch. SourceBatchLogResponseV202509 [Array]
   targetBatch BatchChild
      batchId The batch id. integer
      batchCode The batch code. string
   moveOperationId Unique identifier for the operation that moved the bills.
There can be multiple bills moved in a single operation, so this ID is the same for all bills moved in that operation.
string
   createdDate Date/time offset of the operation string
   billIds Bill IDs that were moved in this operation. array
   createdBy UserChild
      userId The user identifier integer
      userCode The user code string
      fullName The user’s full name string

Responses

HTTP 200

Body

Content Type: application/json
{
  "batchId": 1,
  "billsAddedFromLogs": [
    {
      "sourceBatch": {
        "batchId": 1,
        "batchCode": "string"
      },
      "moveOperationId": "string",
      "createdDate": "2025-12-05",
      "billIds": [
        1
      ],
      "createdBy": {
        "userId": 1,
        "userCode": "string",
        "fullName": "string"
      }
    }
  ],
  "billsMovedToLogs": [
    {
      "targetBatch": {
        "batchId": 1,
        "batchCode": "string"
      },
      "moveOperationId": "string",
      "createdDate": "2025-12-05",
      "billIds": [
        1
      ],
      "createdBy": {
        "userId": 1,
        "userCode": "string",
        "fullName": "string"
      }
    }
  ]
}