Lấy dữ liệu mẫu của template
HTTP request
URL: https://zns.api.gobysend.com/api/template/sample-data
Method: GET
Content Type: application/json
Response Type: application/json
Example request
curl
-X GET
-H "Content-Type: application/json"
"https://zns.api.gobysend.com/api/template/sample-data?template_id=12345"
Tham số header
Tham số
Kiểu dữ liệu
Tính bắt buộc
Mô tả
Tham số
Tham số
Kiểu dữ liệu
Tính bắt buộc
Mô tả
template_id
string
yes
ID của template cần lấy thông tin.
Example response
{
"message": "Success",
"data": {
"balance_debt": 2000,
"due_date": "01/01/1970",
"number_debt": 2000,
"customer_name": "customer_name_sample"
},
"error": 0
}
Cấu trúc respond
Thuộc tính
Kiểu dữ liệu
Mô tả
data
object
Chứa tham số và dữ liệu mẫu của template bạn cần truy xuất.
Last updated