Quick Entry
Suggestions from the note
Rule-based suggestions from the conversation note (no outside calls, works on every plan): product, price and payment terms, quantity (tonnes → kg), trial result, next step and its date, people and records named in the note. Each applies to a block (block + fields) or to the next step (next).
Authorization
AuthorizationheaderrequiredBearer token: API key (sk_…), OAuth access token (mcp_…) or mobile session (xk_…).
Module: Visits / ActivitiesScope:
crm.readBody application/json
notestringrequiredNote text (max 4,000 characters).
customer_idintegeroptionalCompany (to match people and records).
Errors
| HTTP | error | Meaning |
|---|---|---|
403 | module | The module is off in the licence or for the user. |
Request
curl -X POST https://ornek.solk.app/api/v1/qe/suggest \
-H "Authorization: Bearer $SOLK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"customer_id": 1,
"note": "Aylık 15 ton, 1,85 €/kg ve 60 gün vade konuşuldu. Hat 3'\''te deneme olumlu. Perşembe numune göndereceğiz."
}'const res = await fetch("https://ornek.solk.app/api/v1/qe/suggest", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SOLK_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"customer_id": 1,
"note": "Aylık 15 ton, 1,85 €/kg ve 60 gün vade konuşuldu. Hat 3'te deneme olumlu. Perşembe numune göndereceğiz."
}),
});
const data = await res.json();import os, requests
r = requests.post(
"https://ornek.solk.app/api/v1/qe/suggest",
headers={"Authorization": f"Bearer {os.environ['SOLK_API_KEY']}"},
json={
"customer_id": 1,
"note": "Aylık 15 ton, 1,85 €/kg ve 60 gün vade konuşuldu. Hat 3'te deneme olumlu. Perşembe numune göndereceğiz."
},
)
print(r.json())Response
{
"items": [
{
"block": "teklif",
"fields": {
"offer_price": "1,85"
},
"id": "price",
"kind": "block",
"label": "Teklif: 1,85 €/kg"
},
{
"block": "teklif",
"fields": {
"payment_days": "60"
},
"id": "days",
"kind": "block",
"label": "Vade: 60 gün"
}
],
"ok": true
}Example responses were captured from a v43b installation running sample data; lists are shortened to two items.