Định nghĩa dữ liệu
Các trường dữ liệu thêm dành cho module báo giá
HTTP Request
[GET] /api/v6/quotes/custom_fields
Query Parameters
Fields
Fields | Type | Description |
---|---|---|
id | integer | Định danh |
field_name | string | Tên trường |
field_description | string | Mô tả trường |
field_htmltype | string | Loại trường |
Filtering
Fields | Support | Type | Description |
---|---|---|---|
id | eq,in | integer | Định danh khách hàng |
valid | is,in | integer | Hợp lệ hay không |
Sort
Sort (field) | Direction |
---|---|
id | asc,desc |
Limit & Offset
Type | Description | |
---|---|---|
Limit | integer | Lấy bao nhiêu bản ghi |
Offset | integer | Bỏ qua bao nhiêu bản ghi |
Example
HTTP Request
GET api/v6/quotes/custom_fields?fields=field_name,field_description,field_htmltype HTTP/1.1
Host: example.getflycrm.com
Content-Type: application/json
Status
200 OK
Response
{
"data": [
{
"id": 109,
"field_name": "b1",
"field_description": "B1",
"field_htmltype": "textinput"
},
{
"id": 110,
"field_name": "b2",
"field_description": "B2",
"field_htmltype": "textinput"
}
],
"has_more": false,
"offset": 0,
"limited": 20,
"sorted": {
"field_order": "ASC"
}
}