Add new visit
POST
/extapi/v1.1/visitsMenambahkan visit baru untuk tanggal, customer dan team yang tercantum di parameter.
Visit baru akan ditambahkan sebagai visit urutan terakhir bila sudah ada visit-visit sebelumnya.
Request
Query Params
team_token
string
required
Team token from api /extapi/v1.0/team_token
Example:
eyJkYl9pZCI6Mjk4MSwidGVhbV9pZCI6MjQ3Mjh9.LpZ9LEpy123lwzYjzypStjdk123
Body Params application/json
date
string <date>
required
Example:
2024-01-01
customer_id
integer
required
team_id
integer
optional
If omitted, will create visit for the current API user team
Example
{
"date": "2024-01-01",
"customer_id": 0,
"team_id": 0
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{}
Last modified: a month ago