# API: Get estimate details

# getEstimateDetails

Get estimate details.

# Required parameters

Parameter Description
id Estimate ID

# Request

GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=getEstimateDetails&id=ID

# PHP Samples

# Response

{
    "success": true,
    "estimate": {
        "id": "1",
        "status": "Draft",
        "subject": "Server maintenance [hours]",
        "client_id": "3",
        "date_created": "2011-08-10",
        "date_expires": "2011-08-17",
        "subtotal": "60.00",
        "credit": "0.00",
        "tax": "0.00",
        "taxrate": "20.00",
        "tax2": "0.00",
        "taxrate2": "0.00",
        "total": "60.00",
        "currency_id": "0",
        "rate": "1.0000",
        "notes": "",
        "notes_private": "",
        "hash": "c51ce410c124a10e0db5e4b97fc2af39",
        "items": [
            {
                "id": "1",
                "estimate_id": "1",
                "item_id": "0",
                "type": "Other",
                "description": "Server maintenance [hours]",
                "amount": "20.00",
                "taxed": "0",
                "qty": "3",
                "linetotal": 60
            }
        ],
        "client": {
            "id": "3",
            "email": "[email protected]",
            "lastlogin": "2011-06-24 03:26:55",
            "ip": "127.0.0.1",
            "host": "127.0.0.1",
            "status": "Active",
            "parent_id": "0",
            "firstname": "John",
            "lastname": "Doe",
            "companyname": "",
            "address1": "Doeville",
            "address2": "",
            "city": "Doevan",
            "state": "Arkansas",
            "postcode": "1A-2V",
            "country": "US",
            "phonenumber": "1-123-456879",
            "datecreated": "2011-06-24",
            "notes": "",
            "language": "english",
            "company": "0",
            "credit": "100.00",
            "taxexempt": "0",
            "latefeeoveride": "0",
            "overideduenotices": "0",
            "client_id": "3",
            "cardnum": "",
            "currency_id": "1",
            "privileges": null,
            "howdidyou": "Other"
        }
    },
    "call": "getEstimateDetails",
    "server_time": 1317713146
}
Last Updated: 10/7/2024, 2:36:43 PM