Harbor Gateway
  1. Transactions
Harbor Gateway
  • Harbor Gateway API
    • Harbor Gateway
    • Health & Status
      • Admin interface
      • Health check
    • Transactions
      • List all transactions
        GET
      • Create a transaction
        POST
      • Get transaction details
        GET
      • Release transaction
        DELETE
      • Open locker by transaction ID
        POST
    • Lockers
      • List all lockers
      • Get locker details
      • Open locker by ID
      • Open all lockers
    • System
      • Get system information
      • Update system configuration
      • Get system logs
    • Schemas
      • Locker
      • TransactionResponse
      • LockController
      • System
      • LogEntry
      • OperationResponse
      • LockerOperationResponse
      • MultiStatusOperationResponse
      • OpenAllLockersResponse
      • Error
  1. Transactions

Open locker by transaction ID

POST
/transactions/{transactionId}/open
Opens the locker associated with the transaction without disassociating it. Physical operation with 20-second timeout per attempt, up to 3 attempts with 1-second delays (maximum total time ~62 seconds). Retries occur on network/communication errors only; hardware malfunctions are not retried. Does not check outOfService or operational status (optimistic opening - useful for troubleshooting/maintenance).

Request

Path Params

Responses

🟢200OK
application/json
Locker opened successfully
Body

🟠404Not Found
🔴500Internal Server Error
🔴503Service Unavailable
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/transactions//open'
Response Response Example
200 - Example 1
{
    "success": true,
    "lockerId": 0,
    "doorOpen": true,
    "message": "string"
}
Modified at 2025-11-27 00:04:50
Previous
Release transaction
Next
List all lockers
Built with