- Introduction
- Activity
- Authentication API
- Customer
- Case
- 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
Get HeaderTemplate
GET
https://api.gofive.co.th/v2/setting/headerTemplate
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Header Params
Ocp-Apim-Subscription-Key
string
required
Example:
<Your Subscription-Key>
Content-Type
string
required
Example:
application/json
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/v2/setting/headerTemplate' \
--header 'Ocp-Apim-Subscription-Key: <Your Subscription-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
array [object {6}]
required
headerTemplateId
integer
required
companyName
string
required
taxNo
string
required
address
string
required
mobile
string | null
optional
fax
string | null
optional
Example
{
"status": {
"code": "1000",
"description": "Success"
},
"data": [
{
"headerTemplateId": 34,
"companyName": "New Header",
"taxNo": "1110188823356",
"address": "2/250",
"mobile": "0960020555",
"fax": "024685577"
}
]
}
🟠401Unauthorized
🟠403Forbidden
🟠401User authentication required V2.
Modified at 2024-12-11 17:52:11