Gofive OpenAPI
empeoVenio
eTaxGo
empeoVenio
eTaxGo
  1. CaseManagement
  • 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
    • Customer Search
      POST
    • Customers Enquiry
      POST
    • Get a Customer By CustomerId
      GET
    • Get a Customer By CustomerCode
      GET
    • Get a Customer By CustomerName
      GET
    • Get Customer By TaxID
      GET
    • Check Customer Existence
      POST
    • 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
  • Conversation
    • Conversation Enquiry
  • Expense
    • Create Expense
    • Update Expense
    • Expense Enquiry
    • Get a Expense
  • 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
  • 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
    • Check Serial Verification Status
    • Create or Update Codeguard Products
    • Update Product Stock
    • Get Units
  • Quotation
    • Create Update Quotation
    • Convert Quotation To SalesOrder
    • Quotation Enquiry
    • Get a Quotation By QuotationNo
    • Cancel Quotation
    • Get Pdf By QuotationNo
  • SalesOrder
    • Create Or Update SalesOrder
    • SalesOrder Enquiry
    • Get a SalesOrder By Id
    • Get a SalesOrder By No
    • Get Sale Order Attachment by Id
    • Get Sale Order Attachment By No
    • Reject SaleOrder
    • Approve Sale Order
    • Update SalesOrder Payment
    • Get Pdf By SalesOrderNo
    • Update SalesOrder Tracking Number
  • Webhooks
    • Webhook Payload
  • Task
    • Task Enquiry
    • CreateTask
  • Setting
    • Get HeaderTemplate
  • Chat
    • Post Send message
  • Storage
    • Upload files attachments
    • Get file attachments
    • Delete file attachments
  • Calendio
    • Create Venio Calendio Event
    • Edit Venio Calendio Event
    • Get Venio Calendio Events
    • Create empeo Calendio Event
    • Edit empeo Calendio Event
    • Get empeo Calendio Events
    • Get Venio Calendio Event by Id
    • Get empeo Calendio Event by Id
    • Create Appointment
    • Appointment Enquiry
    • Edit Appointment
    • Get Appointment By Id
    • Add Calendio Custom Field
    • Calendio Custom Field Enquiry
    • Get Calendio Custom Field by Id
    • Available slots Enquiry
    • Calendio Bookings Enquiry
    • Reschedule Calendio Booking time
    • Cancel Calendio Booking
  • CaseManagement
    • Create Or Update Case
      POST
    • Case Enquiry
      POST
    • Get Case Categories
      GET
    • Get Case Stages
      GET
    • Get Case By No
      GET
  1. CaseManagement

Create Or Update Case

Developing
POST
https://api.gofive.co.th/v2/cases

Request

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

Body Params application/jsonRequired

Example
{
  "caseNo": null,                            //(optional) ไม่ส่ง/null = สร้างใหม่ (201), ส่ง = อัปเดตเคสเดิม (200)
  "subject": "Subject",                      //(required) หัวข้อเคส
  "description": "Description",              //(required) รายละเอียดเคส
  "categoryId": 1,                           //(required) รหัสหมวดหมู่เคส (จาก GET v2/cases/categories)
  "customerCode": "CustomerCode",            //(optional) รหัสลูกค้า
  "dateCase": "2026-06-24T09:00:00",         //(required) วันที่เกิดเคส
  "dateDue": "2026-06-25T17:00:00",          //(required) วันที่แล้วเสร็จ
  "stageId": 1,                              //(optional) ส่ง = ย้ายไป stage ที่ส่ง (จาก GET v2/cases/stages)
  "caseTag": ["caseTag1", "caseTag2"],       //(optional) แท็ก,(กรณี update) [] = ล้างทั้งหมด, ไม่ส่ง = ไม่เปลี่ยน
  "activityId": "activityId",                //(optional) รหัสกิจกรรมที่เชื่อมต่อ
  "dealId": "deald",                         //(optional) รหัสดีลที่เชื่อมต่อ
  "chatId": "chatId",                        //(optional) รหัสห้องแช็ตที่เชื่อมต่อ
  "owner": "staffCode",                      //(required) staffCode เจ้าของเคส
  "participants": ["staffCode1","staffCode2"]//(optional) staffCode ผู้เข้าร่วม,(กรณี update) ไม่ส่ง = ไม่เปลี่ยน
}

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 'https://api.gofive.co.th/v2/cases' \
--header 'Ocp-Apim-Subscription-Key: <Your Subscription-Key>' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
  "caseNo": null,                            //(optional) ไม่ส่ง/null = สร้างใหม่ (201), ส่ง = อัปเดตเคสเดิม (200)
  "subject": "Subject",                      //(required) หัวข้อเคส
  "description": "Description",              //(required) รายละเอียดเคส
  "categoryId": 1,                           //(required) รหัสหมวดหมู่เคส (จาก GET v2/cases/categories)
  "customerCode": "CustomerCode",            //(optional) รหัสลูกค้า
  "dateCase": "2026-06-24T09:00:00",         //(required) วันที่เกิดเคส
  "dateDue": "2026-06-25T17:00:00",          //(required) วันที่แล้วเสร็จ
  "stageId": 1,                              //(optional) ส่ง = ย้ายไป stage ที่ส่ง (จาก GET v2/cases/stages)
  "caseTag": ["caseTag1", "caseTag2"],       //(optional) แท็ก,(กรณี update) [] = ล้างทั้งหมด, ไม่ส่ง = ไม่เปลี่ยน
  "activityId": "activityId",                //(optional) รหัสกิจกรรมที่เชื่อมต่อ
  "dealId": "deald",                         //(optional) รหัสดีลที่เชื่อมต่อ
  "chatId": "chatId",                        //(optional) รหัสห้องแช็ตที่เชื่อมต่อ
  "owner": "staffCode",                      //(required) staffCode เจ้าของเคส
  "participants": ["staffCode1","staffCode2"]//(optional) staffCode ผู้เข้าร่วม,(กรณี update) ไม่ส่ง = ไม่เปลี่ยน
}'

Responses

🟢200Success
application/json
Bodyapplication/json

Example
{}
🟠401User authentication required V2.
Modified at 2026-06-25 03:27:46
Previous
Cancel Calendio Booking
Next
Case Enquiry
Built with