Wyszukianie kalendarza
Zwraca wszystkie spotkania zaplanowane w kalendarzu, które w notatce lub nazwie posiadają szukaną frazę
Metoda: GET
Ścieżka: /api/v1/calendar/find
Parametry
| Nazwa | Typ | Opis |
|---|---|---|
| term | string |
Fraza |
| page | integer |
Numer strony |
| per_page | integer |
Ilość wyników na strone |
| start_date | string |
Oczekiwany format “Y-m-d h:i:s” np.2021-03-22 05:00:00 |
| end_date | string |
Oczekiwany format “Y-m-d h:i:s” np.2021-03-22 05:00:00 |
| created_from | string |
Oczekiwany format “Y-m-d h:i:s” np.2021-03-22 05:00:00 |
| created_to | string |
Oczekiwany format “Y-m-d h:i:s” np.2021-03-22 05:00:00 |
Parametry odpowiedzi
| Nazwa | Typ | Opis |
|---|---|---|
| id | integer | Unikalny identyfikator spotkania |
| id_user | integer | Id użytkownika |
| id_postpone | integer | Id spotkania przełożonego |
| id_parent | integer | Id spotkania z którego przełożono spotkanie |
| status | string | Status spotkania |
| created_by | integer | Id twórcy spotkania |
| modified_by | integer | Id edytora spotkania |
| canceled_by | integer | Id osoby usuwającej spotkanie |
| id_thread | string | Id wątku |
| thread_type | string | Typ wątku |
| id_person | string | Unikalny identyfikator osoby kontaktowej |
| id_company | string | Id organizacji |
| type | string | Typ spotkania (osobowe/firmowe/osobowo-firmowe) |
| step_name | string | Typ spotkania np.spotkanie/kontakt telefoniczny/… |
| meeting_status | string | Status spotkania |
| meeting_start | string | Czy spotkanie można rozpocząć |
| start_date | string | Data rozpoczęcia spotkania |
| end_date | string | Data zakończenia spotkania |
| finish_date | string | Zakończenie spotkania |
| notes | string | Notatka |
| status_reason | string | Powód odrzucenia spotkania |
| status_note | string | Notatka do odrzucenia spotkania |
| created_at | string | Data utworzenia spotkania |
| modified_at | string | Data modyfikacji spotkania |
| canceled_at | string | Data anulowania spotkania |
Odpowiedź w formacie JSON
{
"status": 200,
"data": {
"list": [
{
"id": "integer",
"id_user": "integer",
"id_postpone": "integer",
"id_parent": "integer",
"status": "string",
"created_by": "integer",
"modified_by": "integer",
"canceled_by": "integer",
"id_thread": "string",
"thread_type": "string",
"id_person": "string",
"id_company": "string",
"type": "string",
"step_name": "string",
"meeting_status": "string",
"meeting_start": "string",
"start_date": "string",
"end_date": "string",
"finish_date": "string",
"notes": "string",
"status_reason": "string",
"status_note": "string",
"created_at": "string",
"modified_at": "string",
"canceled_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"
}