- Introduction
- Activity
- Authentication API
- Customer
- Case
- Contract
- Deal
- Employee
- 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
- SalesOrder
- Webhooks
- Task
- Setting
- Chat
Get Contract Types
Developing
GET
https://api.gofive.co.th/v1/contract/types
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
Example:
<Your-Subscription-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/contract/types' \
--header 'Ocp-Apim-Subscription-Key: <Your-Subscription-Key>' \
--header 'Content-Type: application/json'
Responses
🟢200Success
application/json
Body
status
object
required
code
string
required
description
string
required
data
array[object (ContractTypeDto) {4}]
required
contractType
string
required
isActive
boolean
required
labelColorCode
string
required
activityType
object
required
Example
{
"status": {
"code": "1000",
"description": "Success"
},
"data": [
{
"contractTypeName": "string",
"isActive": true,
"labelColorCode": "#B8D3FE",
"activityType": {
"activityTypeId": 2140003785,
"activityTypeName": "string"
}
},
{
"contractTypeName": "string",
"isActive": true,
"labelColorCode": "#70A7FD",
"activityType": {
"activityTypeId": 2140004889,
"activityTypeName": "string"
}
}
]
}
🟠401User authentication required V2.
Modified at 2025-06-24 14:05:26