Gofive OpenAPI
empeoVenioeTaxGo
empeoVenioeTaxGo
  1. Deal
  • Introduction
  • Activity
    • Activities Enquiry
      POST
    • Get a Activity By Id
      GET
    • Get a Activity By No
      GET
    • Get Key Activities
      GET
    • Create or Update Activity
      POST
  • Authentication API
    • Authorization
      POST
  • Customer
    • Create or Update customer
      POST
    • Get a Customer By CustomerCode
      GET
    • Customers Enquiry
      POST
    • Get a Customer By CustomerName
      GET
    • Create Customer Satisfaction
      POST
    • Add Customer Event
      POST
    • Get Customer Events by Customer Code
      GET
    • Edit Customer Event
      PUT
    • Delete Customer Event
      DELETE
    • Get Customer Event Types
      GET
    • Get file categories
      GET
    • Attach files category
      POST
  • Case
    • Add Case
    • Edit Case by CaseNo
    • Get Case by CaseNo
    • Get Case Categories
  • Contract
    • Get Contract By No
    • Get Contract Types
    • Get Contract Templates
    • Create or Update Contract
    • Create or Update Contract Service Agreement
    • Send Contract Document
  • Deal
    • Create Deal
      POST
    • Update Deal
      PUT
    • Deal Enquiry
      POST
    • Get Deal
      GET
    • Get Deal Board
      GET
    • Get Deal Stage
      GET
    • Get Deal Interest
      GET
    • Get DealLabel
      GET
    • Get Deal Missed Reason Categories
      GET
  • Employee
    • Employees Enquiry
    • Get a Employee
  • Expense
    • Create Expense
    • Update Expense
    • Expense Enquiry
    • Get a Expense
  • Product
    • Create Or Update Products
    • Get a Product Ticket
    • Get Products With Take & Status
    • Get a Product by ProductCode
    • Get Product Groups
    • Get Product Properties
    • Get Products By Filter
    • Verify Serial Number
    • /v3/Products/serials/status
    • Create or Update Codeguard Products
    • Update Product Stock
    • /v1/products/units
    • /v1/products/units Copy
  • Quotation
    • Create Update Quotation
    • Convert Quotation To SalesOrder
    • Quotation Enquiry
    • Get a Quotation By QuotationNo
    • Cancel Quotation
  • SalesOrder
    • Create Or Update SalesOrder
    • Get a SalesOrders By Id
    • Get a SalesOrder By SalesOrderNo
    • Get Sale Order Attachment
    • Reject SaleOrder
    • Approve Sale Order
    • Update SalesOrder Payment
    • Update SalesOrder Tracking Number
  • Webhooks
    • Webhook Payload
  • Task
    • CreateTask
  • Setting
    • Get HeaderTemplate
  • Chat
    • Post Send message
  • Storage
    • Upload files attachments
    • Get file attachments
    • Delete file attachments
  1. Deal

Get Deal

GET
https://api.gofive.co.th/v1/deals/{id}
ดึงข้อมูลจาก Deal โดย deals id

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.gofive.co.th/v1/deals/' \
--header 'Ocp-Apim-Subscription-Key: <Your-Subscription-Key>' \
--header 'Content-Type: application/json'

Responses

🟢200OK
application/json
Body

Example
{
    "data": {
        "value": {
            "dealsId": 1,
            "customerId": 1,
            "dealNo": "string",
            "dealsName": "string",
            "dealsValue": 2,
            "statusId": 703,
            "dealsIndex": 4,
            "dealsDate": "2022-03-28T16:50:15+0700",
            "expectedCloseDate": "2022-03-28T16:50:15+0700",
            "probability": 99,
            "notes": "string",
            "isActive": true,
            "boardId": 1,
            "dateCreated": "2022-03-28T16:51:25+0700",
            "createByUserId": "string",
            "dateModified": "2022-09-09T11:10:18+0700",
            "modifiedByUserId": "string",
            "measure": 3,
            "customer": {
                "customerId": 1,
                "companyId": 1,
                "customerCode": "string",
                "customerName": "string",
                "customerNameEN": "string",
                "type": 13002,
                "customerType": 11300,
                "branch": "string",
                "phone": "string",
                "mobile": "",
                "notes": "",
                "isActive": true,
                "dateChangeToCustomer": "2021-12-20T15:49:49+0700",
                "createdByUserId": "string",
                "dateCreated": "2020-08-19T16:59:42+0700",
                "modifiedByUserId": "string",
                "dateModified": "2022-09-09T11:09:18+0700",
                "customerGroupId": 1,
                "leadStatus": 110064,
                "hasPicture": true,
                "companyName": "",
                "sourceOfLead": 110090,
                "classificationId": 20,
                "customerStateId": 200008,
                "hasOwner": true,
                "pictureUrl": "string",
                "addresses": [],
                "customerInterests": []
            },
            "dealsInterests": [],
            "dealsLabels": [],
            "isEdit": true,
            "isDelete": true,
            "statusName": "string",
            "user": {
                "preferences": {},
                "userId": "string",
                "username": "string",
                "companyId": 1,
                "companyName": "string",
                "teamId": 1,
                "teamName": "string",
                "staffCode": "string",
                "title": "",
                "firstname": "string",
                "lastname": "string",
                "fullname": "string",
                "position": "string",
                "email": "string",
                "phoneNumber": "string",
                "orgString": "string",
                "orgLevel": 1,
                "latitude": 1,
                "longitude": 1,
                "location": "string",
                "locationName": "string",
                "isActive": true,
                "createdByUserId": "string",
                "hasPicture": true,
                "dateCreated": "2018-11-05T10:13:59+0700",
                "dateModified": "2023-01-19T12:02:48+0700",
                "role": "string",
                "roleId": "string",
                "level": 0,
                "siteId": 1,
                "isAgreementPDPA": true,
                "dateAgreementPDPA": "2020-08-26T07:13:22+0700",
                "emailSubscription": 1,
                "identityUserId": "string",
                "uniqueName": "string",
                "inAppSubscription": 1,
                "userType": 1011
            },
            "dealSummary": {
                "probability": 99,
                "dealValue": 2,
                "expectedCloseDate": "2022-03-28T16:50:15+0700"
            },
            "measureUnit": {
                "unitId": 3,
                "name": "ด้าม",
                "companyId": 1,
                "isActive": true,
                "createdByUserId": "string",
                "dateCreated": "2019-12-11T11:09:01+0700",
                "modifiedByUserId": "string",
                "dateModified": "2019-12-11T11:09:01+0700"
            }
        },
        "statusCode": 200
    },
    "statusCode": 1000,
    "httpStatusCode": 200
}
🟠401Unauthorized
🟠403Forbidden
🟢200Bad Request
Modified at 2023-02-22 03:19:22
Previous
Deal Enquiry
Next
Get Deal Board
Built with