Gofive OpenAPI
empeoVenioeTaxGo
empeoVenioeTaxGo
  1. Case
  • 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
  • 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
  1. Case

Get Case Categories

GET
https://api.gofive.co.th/v1/case/categories
เรียกดูข้อมูลหมวดหมู่ทั้งหมดของ case

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 Subscriptin-key>

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 GET 'https://api.gofive.co.th/v1/case/categories' \
--header 'Ocp-Apim-Subscription-Key: <Your Subscriptin-key>' \
--header 'Content-Type: application/json'

Responses

🟢200Success
application/json
Body
status
object 
required
code
string 
required

สถานะของ Business Code ถ้า
Success = 1000
Error 1 ตัว = 4001
Error มากกว่า 1 ตัว = 4002    
หรือเป็น Subcode ที่ต้องการจะแสดงเพื่อสื่อความหมายของ Error โดย subcode จะเป็นตัวเดียวกับ business error code หรือไม่ก็ได้ เพื่อความสะดวกในการแสดงผล

description
string 
required
คำอธิบายข้อความที่จะแสดง
data
object 
required
data
object 
required
statusCode
integer 
required

สถานะของ Business Code ถ้า
Success = 1000
Error 1 ตัว = 4001
Error มากกว่า 1 ตัว = 4002    
หรือเป็น Subcode ที่ต้องการจะแสดงเพื่อสื่อความหมายของ Error โดย subcode จะเป็นตัวเดียวกับ business error code หรือไม่ก็ได้ เพื่อความสะดวกในการแสดงผล

httpStatusCode
integer 
required
สถานะ code ของ httpเช่น
200 Ok
400 BadRequest
401 Unauthorized
404 Record not found
500 Internal Server Error
Example
{
    "status": {
        "code": "1000",
        "description": "Success"
    },
    "data": {
        "data": [
            {
                "feedbackCategoryId": 2140000121,
                "feedbackCategoryName": "SALE",
                "teamId": 0,
                "isActive": true,
                "companyId": 507,
                "createdByUserId": "00000000-0000-0000-0000-000000000000",
                "dateCreated": "2022-08-30T09:25:03+0700",
                "updatedByUserId": "00000000-0000-0000-0000-000000000000",
                "dateUpdated": "2022-08-30T09:25:03+0700",
                "feedbackCategoryDetails": []
            },
            {
                "feedbackCategoryId": 2140000122,
                "feedbackCategoryName": "Service",
                "teamId": 0,
                "isActive": true,
                "companyId": 507,
                "createdByUserId": "00000000-0000-0000-0000-000000000000",
                "dateCreated": "2022-08-30T09:25:03+0700",
                "updatedByUserId": "00000000-0000-0000-0000-000000000000",
                "dateUpdated": "2022-08-30T09:25:03+0700",
                "feedbackCategoryDetails": []
            },
            {
                "feedbackCategoryId": 2140000123,
                "feedbackCategoryName": "Other",
                "teamId": 0,
                "isActive": true,
                "companyId": 507,
                "createdByUserId": "00000000-0000-0000-0000-000000000000",
                "dateCreated": "2022-08-30T09:25:03+0700",
                "updatedByUserId": "23108b99-ee24-43c4-b9e7-58dc6a4e16a2",
                "dateUpdated": "2024-10-25T17:56:28+0700",
                "feedbackCategoryDetails": []
            },
            {
                "feedbackCategoryId": 2140007059,
                "feedbackCategoryName": "Regression Case",
                "teamId": 4484,
                "isActive": true,
                "companyId": 507,
                "createdByUserId": "23108b99-ee24-43c4-b9e7-58dc6a4e16a2",
                "dateCreated": "2023-11-21T15:48:38+0700",
                "updatedByUserId": "23108b99-ee24-43c4-b9e7-58dc6a4e16a2",
                "dateUpdated": "2023-11-21T15:48:38+0700",
                "feedbackCategoryDetails": []
            }
        ],
        "statusCode": 1000,
        "httpStatusCode": 200
    }
}
🟠401Unauthorized
🟠401User authentication required V2.
Modified at 2025-03-03 06:31:34
Previous
Get Case by CaseNo
Next
Get Contract By No
Built with