GET
/
terminal
/
agent
All Terminals
curl --request GET \
  --url https://nini.monieswitch.com/terminal/agent \
  --header 'Authorization: Bearer <token>'
{
  "status": true,
  "message": "Operation is successful",
  "data": [
    {
      "id": "28cc1855-2ff4-4a40-9df2-32aefb06eada",
      "name": "Lambe 01",
      "code": "Terminal 2",
      "createdAt": "2024-12-27T15:20:45.828Z",
      "store": {
        "id": "9ab67f41-10c9-4f52-adfc-31f460980966",
        "name": "Lambe Shop",
        "code": "Store 3"
      },
      "activeAgent": null
    },
    {
      "id": "00319ac9-ab60-48be-9604-fc62004b0f55",
      "name": "Lambe 01",
      "code": "Terminal 1",
      "createdAt": "2024-12-27T14:38:18.534Z",
      "store": {
        "id": "9ab67f41-10c9-4f52-adfc-31f460980966",
        "name": "Lambe Shop",
        "code": "Store 3"
      },
      "activeAgent": {
        "id": "5231edc7-95be-4913-8102-32400fe8b45b",
        "firstName": "Janet",
        "lastName": "Richard",
        "email": "[email protected]"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page
integer
size
integer
name
string
storeId
integer

Response

200 - application/json

All Terminals - Successful

The response is of type object.