Liveforce
  1. Deals Management API Overview
Liveforce
  • Introduction
  • Staff API Overview
    • List Staff Members
      GET
    • Get Staff Member Details
      GET
    • Create a Staff Member
      POST
    • Update a Staff Member
      PUT
  • Leads API Overview
    • List Leads
      GET
    • Get Lead Details
      GET
    • Leads Summary
      GET
    • Leads Count by Status
      GET
    • Leads Types
      GET
    • Lead Notes List
      GET
    • Lead Note Detail
      GET
    • Lead Notes Create
      POST
    • Lead Notes Update
      PUT
    • Lead Files
      GET
    • Upload Lead File
      POST
    • Generate Report
      GET
    • Generate CSV Report
      GET
  • Call Logs API Overview
    • List Call Logs
    • Get Call Log Detail
  • Tickets API Overview
    • List Tickets
    • Create a Ticket
    • Get Ticket Details
    • List Ticket Statuses
  • Deals Management API Overview
    • List Deals
      GET
    • Create a Deal
      POST
    • Update a Deal
      PUT
    • Get a Deal Details
      GET
    • List Deals Sources
      GET
    • List Deals Pipeline
      GET
    • Add a Deal Comment
      POST
    • Update a Deal Comment
      PUT
    • Add an Attachment
      POST
    • Delete an Attachment
      DELETE
    • List a Deal Services
      GET
    • Get a Deal Service Detail
      GET
    • Add a Deal Service
      POST
    • Update a Deal Service
      PUT
  1. Deals Management API Overview

Get a Deal Details

GET
/deals/details/{deal_id}
Fetches details of a specific deal by its ID.

Request

Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:
Authorization: Basic *****************

Responses

🟢200Success
application/json
Body
message
string 
required
data
object 
required
deals_details
object 
required
activity_log
object 
required
staff
array [object {37}] 
required
Example
{
    "message": "Success",
    "data": {
        "deals_details": {
            "id": "38",
            "title": "Deal 8",
            "deal_value": "10.00",
            "source_id": "1",
            "status": "open",
            "notes": null,
            "pipeline_id": "1",
            "currency": "USD",
            "created_at": "2024-08-13 17:18:30",
            "days_to_close": "2024-08-13",
            "user_id": "[\"1\"]",
            "project_id": null,
            "invoice_id": null,
            "client_id": "null",
            "rel_type": "deal",
            "rel_id": "1",
            "stage_id": "1",
            "default_deal_owner": "1",
            "convert_to_project": null,
            "lost_reason": null,
            "tax": null,
            "total_tax": null,
            "dealorder": "1",
            "full_name": "hilal khan",
            "source_name": "Facebook",
            "pipeline_name": "Sales",
            "stage_name": "Qualified To Buy",
            "comments": [],
            "assignees": [
                {
                    "staffid": "1",
                    "firstname": "hilal",
                    "lastname": "khan",
                    "full_name": "hilal khan"
                }
            ],
            "customers": {
                "id": "",
                "name": "",
                "link": "",
                "addedfrom": 0,
                "subtext": "",
                "type": "deal"
            },
            "attachments": []
        },
        "activity_log": {
            "August 2024": [
                {
                    "id": "12",
                    "deal_id": "38",
                    "description": "not_deal_activity_edited",
                    "additional_data": "",
                    "date": "2024-08-13 17:18:30",
                    "staffid": "1",
                    "full_name": "hilal khan",
                    "custom_activity": "0"
                },
                {
                    "id": "11",
                    "deal_id": "38",
                    "description": "not_deal_activity",
                    "additional_data": "",
                    "date": "2024-08-13 17:17:09",
                    "staffid": "1",
                    "full_name": "hilal khan",
                    "custom_activity": "0"
                }
            ]
        },
        "staff": [
            {
                "staffid": "2",
                "email": "[email protected]",
                "firstname": "john",
                "lastname": "doe",
                "facebook": null,
                "linkedin": null,
                "phonenumber": "090078601",
                "skype": null,
                "password": "$2a$08$gKGVW8iTdiPXwZA0Y1dHLuPLsMxtsjHaTD2HXVD/eI4HmeCOrYFXa",
                "datecreated": "2024-08-09 15:05:02",
                "profile_image": null,
                "last_ip": null,
                "last_login": null,
                "last_activity": null,
                "last_password_change": null,
                "new_pass_key": null,
                "new_pass_key_requested": null,
                "admin": "0",
                "role": null,
                "active": "1",
                "default_language": null,
                "direction": null,
                "media_path_slug": "john-doe",
                "is_not_staff": "0",
                "hourly_rate": "0.00",
                "two_factor_auth_enabled": "0",
                "two_factor_auth_code": null,
                "two_factor_auth_code_requested": null,
                "email_signature": null,
                "google_auth_secret": null,
                "stripe_customer_id": null,
                "stripe_obj": null,
                "is_paid": "0",
                "is_answered": "0",
                "is_signed_document": "0",
                "session_token": null,
                "full_name": "john doe"
            },
            {
                "staffid": "1",
                "email": "[email protected]",
                "firstname": "hilal",
                "lastname": "khan",
                "facebook": null,
                "linkedin": null,
                "phonenumber": "",
                "skype": null,
                "password": "$2a$08$fkEo5NXredNaKz3Mt4XB3Or9xvH4e3/aQlVpS6qQE2SIBAnH5HO7W",
                "datecreated": "2024-07-24 12:46:34",
                "profile_image": null,
                "last_ip": "127.0.0.1",
                "last_login": "2024-08-13 12:24:41",
                "last_activity": "2024-08-13 16:07:03",
                "last_password_change": null,
                "new_pass_key": null,
                "new_pass_key_requested": null,
                "admin": "1",
                "role": null,
                "active": "1",
                "default_language": null,
                "direction": null,
                "media_path_slug": null,
                "is_not_staff": "0",
                "hourly_rate": "0.00",
                "two_factor_auth_enabled": "0",
                "two_factor_auth_code": null,
                "two_factor_auth_code_requested": null,
                "email_signature": null,
                "google_auth_secret": null,
                "stripe_customer_id": null,
                "stripe_obj": null,
                "is_paid": "0",
                "is_answered": "0",
                "is_signed_document": "0",
                "session_token": "ed47a9fbc06086ea62e27684648ddfdfe1b2dfd94847c1b9e583f5c197dbc362",
                "full_name": "hilal khan"
            }
        ]
    }
}
🟠401Unauthorized
🟠404Not found
Modified at 2024-09-05 09:39:52
Previous
Update a Deal
Next
List Deals Sources
Built with