Get a list of locker providers

GET /lockers/providers

Retrieve a list of Locker providers available in the system.

Responses

  • 200 application/json

    List of locker providers retrieved successfully.

    Hide response attributes Show response attributes object
    • name string Required

      The name of the locker provider.

    • lockerModel string Required

      The model of the locker provided by the provider.

    • lockerVersion string Required

      The version of the locker model provided by the provider.

    • The unique identifier of the locker on the Provider's system.

  • 401 application/json

    The requested resource requires authentication.

    Hide response attributes Show response attributes object
    • A code representing the type of error.

    • message string

      A message describing the error.

  • 500 application/json

    The server encountered an internal error.

    Hide response attributes Show response attributes object
    • A code representing the type of error.

    • message string

      A message describing the error.

GET /lockers/providers
curl \
 --request GET 'https://api.staging.glsnxt.com/ooh/carrier-connector/v1/lockers/providers' \
 --header "X-API-Key: $API_KEY"
Response examples (200)
[
  {
    "name": "Provider X",
    "lockerModel": "Model XYZ",
    "lockerVersion": "v2.1",
    "lockerUid": "PROVIDER_LOCKER_ABC123"
  }
]
Response examples (401)
{
  "errorCode": "UNAUTHORIZED",
  "message": "The requested resource requires authentication"
}
Response examples (500)
{
  "errorCode": "SERVER_ERROR",
  "message": "The server encountered an internal error"
}