Gofive OpenAPI
empeoVenioeTaxGo
empeoVenioeTaxGo
  1. Customer
  • 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
      POST
    • Edit Case by CaseNo
      PUT
    • Get Case by CaseNo
      GET
    • Get Case Categories
      GET
  • Contract
    • Get Contract By No
      GET
    • Get Contract Types
      GET
    • Get Contract Templates
      GET
    • Create or Update Contract
      POST
    • Create or Update Contract Service Agreement
      POST
    • Send Contract Document
      POST
  • Deal
    • Create Deal
    • Update Deal
    • Deal Enquiry
    • Get Deal
    • Get Deal Board
    • Get Deal Stage
    • Get Deal Interest
    • Get DealLabel
    • Get Deal Missed Reason Categories
  • 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. Customer

Customers Enquiry

POST
https://api.gofive.co.th/v1/customers/enquiry
ดึงข้อมูล customer

Request

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

Body Params application/json

Example
{
    "customerType": 11100,
    "latitude": 0,
    "longitude": 0,
    "distanceLimit": 0,
    "states": 0,
    "actionStates": 0,
    "ownerTeams": 0,
    "displayColumns": [
        "string"
    ],
    "topicInterests": [
        0
    ],
    "owners": [
        "string"
    ],
    "primaryOwner": "string",
    "classifications": [
        0
    ],
    "groups": [
        0
    ],
    "statuses": [
        true
    ],
    "probabilities": [
        0
    ],
    "pageLength": 0,
    "skip": 0,
    "orderBy": "string",
    "keyword": "string"
}

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 POST 'https://api.gofive.co.th/v1/customers/enquiry' \
--header 'Ocp-Apim-Subscription-Key: <Your-Subscription-Key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "customerType": 11100,
    "latitude": 0,
    "longitude": 0,
    "distanceLimit": 0,
    "states": 0,
    "actionStates": 0,
    "ownerTeams": 0,
    "displayColumns": [
        "string"
    ],
    "topicInterests": [
        0
    ],
    "owners": [
        "string"
    ],
    "primaryOwner": "string",
    "classifications": [
        0
    ],
    "groups": [
        0
    ],
    "statuses": [
        true
    ],
    "probabilities": [
        0
    ],
    "pageLength": 0,
    "skip": 0,
    "orderBy": "string",
    "keyword": "string"
}'

Responses

🟢200OK
application/json
Body

Example
{
    "data": {
        "value": [
            {
                "customerId": 1,
                "customerName": "string",
                "owners": [
                    {
                        "id": "string",
                        "title": "string",
                        "teamId": 1,
                        "pictureUrl": "string"
                    }
                ],
                "topicInterests": [
                    {
                        "topicId": 1,
                        "topicName": "string"
                    },
                    {
                        "topicId": 2,
                        "topicName": "string"
                    },
                    {
                        "topicId": 3,
                        "topicName": "string"
                    }
                ],
                "latestUpdateByUser": "string",
                "latestUpdateType": "string",
                "dateLatestUpdated": "2022-11-21T15:51:26+0700",
                "activityStats": [
                    {
                        "type": "0"
                    },
                    {
                        "type": "0"
                    }
                ],
                "onGoingStats": [
                    {
                        "type": "0"
                    },
                    {
                        "type": "0"
                    },
                    {
                        "type": "0"
                    },
                    {
                        "type": "0"
                    }
                ],
                "thisYearStats": [
                    {
                        "type": "0"
                    },
                    {
                        "type": "0"
                    }
                ],
                "pictureUrl": "string",
                "uniqueName": "string",
                "dateAcquired": 1,
                "sourceOfLead": "string",
                "currentStateId": 1,
                "currentStateName": "string"
            }
        ],
        "statusCode": 200
    },
    "statusCode": 1000,
    "httpStatusCode": 200
}
🟠401Unauthorized
🟢200Bad Request
🟠401User authentication required V2.
Modified at 2025-04-01 16:23:49
Previous
Get a Customer By CustomerCode
Next
Get a Customer By CustomerName
Built with