Skip to content

Pump Test Types

This module is used to separate the pump test types.

INFO

Make sure to add /api prefix in the API endpoint.

Get Pump Test Types Index Endpoint

http
GET /testTypes
GET /testTypes

Headers

  • Content-Type: application/json
  • Authorization: Bearer {token}

Response

200 OK
json
{
    "data": [
        {
            "id": 1,
            "text": "Tera"
        },
        {
            "id": 2,
            "text": "Density"
        },
        {
            "id": 3,
            "text": "Sirkulasi"
        },
        {
            "id": 4,
            "text": "Sample C"
        }
    ]
}
{
    "data": [
        {
            "id": 1,
            "text": "Tera"
        },
        {
            "id": 2,
            "text": "Density"
        },
        {
            "id": 3,
            "text": "Sirkulasi"
        },
        {
            "id": 4,
            "text": "Sample C"
        }
    ]
}

Used on pages

  • pumptests/create

Released under the MIT License.