- Edit Visit
Get list of appointments
Create a New Appointment
Get an Appointment
Edit Appointment
Delete Appointment
Change Appointment attendance status
Get a List of Partner Appointments
Get a visit
Get Visit Details
Receipt PDF for the visit
Get comments
Leave a Comment
Create Recurring Appointments
Update Recurring Appointments
Delete Recurring Appointments
Edit Visit
Security
BearerPartnerUser
Visit status (2 - The user confirmed the appointment, 1 - The user came, the services were provided, 0 - the user is waiting, -1 - the user did not show)
Example:1
Array of objects of new commodity transactions
Example:
[ { "id": 12345, "amount": 100, "account_id": 23322 } ]
Array of commodity transactions objects
Example:
[ { "id": 2168657, "title": "Vital Creme Shampoo Plus", "barcode": "123", "article": "120277", "amount": -1, "cost_per_unit": 15, "price": 15, "cost": 12, "operation_unit_type": 2, "master_id": 55436, "storage_id": 91303, "good_id": 232658, "discount": 20 } ]
Array of objects with services
Example:
[ { "id": 389045, "title": "Hand massage (10 min)", "cost": 255, "cost_per_unit": 300, "discount": 15, "first_cost": 300, "record_id": 10403702 } ]
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/visits/{visit_id}/{record_id}
- Productionhttps://api.alteg.io/api/v1/visits/{visit_id}/{record_id}
curl -i -X PUT \
https://developer.alteg.io/_mock/en/b2b-v1/openapi/visits/12345/67890 \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: */*' \
-d '{
"attendance": 1,
"comment": "",
"new_transactions": [
{
"id": 12345,
"amount": 100,
"account_id": 23322
}
],
"deleted_transaction_ids": [],
"fast_payment": 1,
"goods_transactions": [
{
"id": 2168657,
"title": "Vital Creme Shampoo Plus",
"barcode": "123",
"article": "120277",
"amount": -1,
"cost_per_unit": 15,
"price": 15,
"cost": 12,
"operation_unit_type": 2,
"master_id": 55436,
"storage_id": 91303,
"good_id": 232658,
"discount": 20
}
],
"services": [
{
"id": 389045,
"title": "Hand massage (10 min)",
"cost": 255,
"cost_per_unit": 300,
"discount": 15,
"first_cost": 300,
"record_id": 10403702
}
]
}'