Xem tổng chi phí của Flow/Campaign/Sequence
HTTP request
Method: POST
Content type: application/json
Response type: Text/json
Example Request
Tham số header
Tham số | Kiểu dữ liệu | Bắt buộc | Mô tả |
---|---|---|---|
Api-Key | string | có | API key lấy trên LadiFlow |
Tham số Body
Tham số | Kiểu dữ liệu | Bắt buộc | Mô tả |
---|---|---|---|
from_date | string | Có | Thời gian bắt đầu lấy dữ liệu |
to_date | string | Không | Thời gian kết thúc lấy dữ liệu |
type | string | Không | |
source | string | Có | Loại chiến dịch: - FLOW - CAMPAIGN - SEQUENCE |
flow_id | string | Không | ID của Flow Nếu có giá trị ID flow thì source = FLOW |
trigger_id | string | Không | ID của trigger trong flow Nếu có giá trị ID trigger thì source=Flow và có giá trị flow_id |
flow_config_id | string | Không | ID của hành động trong flow Nếu có giá trị ID trigger thì source=Flow và có giá trị flow_id |
campaign_id | string | Không | ID của Campaign Nếu có giá trị ID flow thì source = CAMPAIGN |
sequence_id | string | Không | ID của Sequence Nếu có giá trị ID flow thì source = SEQUENCE |
Example response
Cấu trúc thuộc tính data
Thuộc tính | Kiểu dữ liệu | Mô tả |
---|---|---|
data | Object | total_credits: số điểm đã tiêu total_money: số tiền đã tiêu |
message | string | Thông điệp |
code | number | Mã phản hồi |
Last updated