Gofive OpenAPI
empeoVenioeTaxGo
empeoVenioeTaxGo
  1. Customer
  • Introduction
  • Activity
    • Get a Activity
      GET
    • Activities Enquiry
      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
  • Case
    • Add Case
      POST
    • Edit Case by CaseNo
      PUT
    • Get Case by CaseNo
      GET
    • Get Case Categories
      GET
  • 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
  1. Customer

Create Customer Satisfaction

POST
https://api.gofive.co.th/v3/customers/satisfaction
VenioCRM/Customer
เพิ่มข้อมูล Customer Satisfaction

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params
Content-Type
string 
required
Example:
application/json
Ocp-Apim-Subscription-Key
string 
required
รหัส subscription keyลูกค้า
Example:
<Your Subscription-Key>
Body Params application/json
AnswerBy
string 
optional
ชื่อของผู้ที่ให้คำตอบ ในตัวอย่างนี้กำหนดเป็น "Bob Name."
The person who provided the answer. In this example, "Bob Name"
SourceName
string 
required
ชื่อของแหล่งที่มา ในตัวอย่างนี้กำหนดเป็น "NPS [Venio]." คุณสามารถเพิ่มคำตอบเข้าไปยังแหล่งที่มาได้ด้วยการ ใช้ชื่อแหล่งที่มาเดิม
หากคุณใช้ชื่อแหล่งที่มา ใหม่เพิ่มเข้ามา เช่น
NPS [E-TaxGo] คุณจะได้แบ่งเป็นแหล่งที่มาหมวดหมู่ใหม่
SourceType
integer 
required
ประเภทของแหล่งข้อมูลความพึงพอใจของลูกค้า
1 แทนประเภทสำหรับ CSAT.
2 แทนประเภทสำหรับ NPS.
Point
integer 
required
คะแนนความพึงพอใจที่ลูกค้าให้ เป็นจำนวนเต็ม
ข้อกำหนดสำหรับ SourceType
1.The Point for CSAT 1 - 5.
2.The Point for NPS 1 - 10.
Comment
string 
optional
ความคิดเห็นหรือข้อเสนอแนะเพิ่มเติมจากลูกค้า ความยาวไม่เกิน 2500 ตัวอักษร
CustomerCode
string 
required
รหัสลูกค้า
DateCreated
string 
required
วันที่และเวลาเมื่อข้อมูลเกี่ยวกับความพึงพอใจถูกสร้างขึ้น
รูปแบบที่สามารถรับได้
yyyy-MM-dd
yyyy-MM-dd HH:mm:ss
===========================
yyyy: Year with four digits. (AD counting years)
MM: Month with two digits.
dd: Day with two digits.
HH: Hours in 24-hour format with two digits.
mm: Minutes with two digits.
ss: Seconds with two digits.
Example
{
  "AnswerBy": "์Bob Name",
  "SourceName": "NPS [Venio]",
  "SourceType": 2,
  "Point": 6,
  "Comment": "appreciated",
  "CustomerCode": "C2300317",
  "DateCreated": "2023-12-04 12:00:00.000"
}

Request 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/v3/customers/satisfaction' \
--header 'Ocp-Apim-Subscription-Key: <Your Subscription-Key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "AnswerBy": "์Bob Name",
    "SourceName": "NPS [Venio]",
    "SourceType": 2,
    "Point": 6,
    "Comment": "appreciated",
    "CustomerCode": "C2300317",
    "DateCreated": "2023-12-04 12:00:00.000"
}'

Responses

🟢200OK
application/json
Body
status
object 
required
code
string 
required
description
string 
required
data
object 
required
id
integer 
required
answerBy
string 
required
dateCreated
string 
required
sourceId
integer 
required
point
integer 
required
comment
string 
required
customerCode
string 
required
customerId
integer 
required
source
object 
required
Example
{
  "status": {
    "code": "1000",
    "description": "Success"
  },
  "data": {
    "id": 12,
    "answerBy": "์Bob Name",
    "dateCreated": "2023-12-04T12:00:00+0700",
    "sourceId": 5,
    "point": 6,
    "comment": "appreciated",
    "customerCode": "C2300317",
    "customerId": 149252,
    "source": {
      "sourceId": 5,
      "dateCreated": "2023-12-04T12:00:00+0700",
      "sourceName": "NPS [Venio]",
      "sourceType": 2,
      "companyId": 1005
    }
  }
}
🟠401Unauthorized
🟠403Forbidden
🟠400Bad Request
🔴500(E9905)
🟠401User authentication required V2.
Previous
Get a Customer By CustomerName
Next
Add Customer Event
Built with