Spotkania
Zwraca listę wszystkich spotkań w systemie, na których zostały wysłanie podsumowania
Metoda: GET
Ścieżka: /api/v1/meetings
Parametry
| Nazwa | Typ | Opis |
|---|---|---|
| id_user | integer |
Id użytkownika |
| page | integer |
Numer strony |
| per_page | integer |
Ilość wyników na strone |
Parametry odpowiedzi
| Nazwa | Typ | Opis |
|---|---|---|
| id | integer | Unikalny identyfikator spotkania |
| hash | string | Hash spotkania |
| id_user | integer | Id handlowca |
| id_person | string | Id osoby |
| id_comapny | string | Id firmy |
| id_thread | string | Id wątku |
| status | string | Status spotkania (finished - spotkanie wysłane do klienta, saved - spotkanie zapisane, interrupted - spotkanie przerwane) |
| start_date | string | Data rozpoczęcia spotkania |
| end_date | string | Data zakończenia spotkania |
| address | string | Adres spotkania |
| visits | integer | Liczba wyświetleń podsumowania |
| visits_owner | integer | Liczba wyświetleń podsumowania przez odbiorcę |
| visits_copy | integer | Liczba wyświetleń podsumowania przez kopię |
| gps_lat | string | Współrzędne gps LAT |
| gps_lng | string | Współrzędne gps LNG |
| type | string | Typ spotkania (anonymous, standard) |
| created_at | string | Data utworzenia podsumowania |
| modified_at | string | Data ostatniej aktualizacji |
Odpowiedź w formacie JSON
{
"status": 200,
"data": {
"list": [
{
"id": "integer",
"hash": "string",
"id_user": "integer",
"id_person": "string",
"id_comapny": "string",
"id_thread": "string",
"status": "string",
"start_date": "string",
"end_date": "string",
"address": "string",
"visits": "integer",
"visits_owner": "integer",
"visits_copy": "integer",
"gps_lat": "string",
"gps_lng": "string",
"type": "string",
"created_at": "string",
"modified_at": "string"
}
],
"pagination": {
"page": "integer",
"pages_count": "integer",
"per_page": "integer",
"total": "integer"
}
}
}
Odpowiedź w formacie JSON
{
"status": 400,
"description": "Nieprawidłowe parametry"
}
Odpowiedź w formacie JSON
{
"status": 403,
"description": "Niepoprawne dane logowania"
}