POST /visits/{id}/kpivalue
Changes the value of KPI in visit.
Address: POST https://instance_name/api/data/v1.3/visits/{id}/kpivalue/
Content-type: application/json
Path parameters
id
integer
Request body parameters
kpi
number
value
number
target_value
number
KPI target value.
category
string
Request example
curl –i –X POST
https://test.inspector-cloud.com/api/data/v1.3/visits/98495168681/kpivalue/
-H ‘Authorization: Token <<your_token>>’
–F "kpi=86" \
–F "value=90" \
–F "value=80" \
–F "category=tea" \
Response example
Response code: 200 Visit KPI value changed