API Live Demos

Selected Example: recommended-repairs-for-customer-or-vehicle

Back to examples list

Request Information:

Method: GET
URL: /recommended_repairs
Query Parameters:
customer_id: 1
pageSize: 5
Headers:
Authorization: Bearer ***
Accept: application/json
Content-Type: application/json

API Response:

{
    "data": [
        {
            "id": 2683859,
            "shopid": "6062",
            "repair_order_id": 1001,
            "complaint_id": 1001,
            "description": "Customer Declined: You name it this car has it",
            "total_recommended": 150,
            "original_complaint_id": 0,
            "original_repair_order_id": 0,
            "technician_notes": "",
            "timestamp": "2021-11-18T22:30:18.000000Z",
            "updated_at": null
        }
    ],
    "links": {
        "first": "https://dev.shopboss.io/api/v1/recommended_repairs?customer_id=1&pageSize=5&page=1",
        "last": "https://dev.shopboss.io/api/v1/recommended_repairs?customer_id=1&pageSize=5&page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "« Previous",
                "active": false
            },
            {
                "url": "https://dev.shopboss.io/api/v1/recommended_repairs?customer_id=1&pageSize=5&page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next »",
                "active": false
            }
        ],
        "path": "https://dev.shopboss.io/api/v1/recommended_repairs",
        "per_page": 5,
        "to": 1,
        "total": 1
    }
}

API Live Demos - api-live-demos.test