Pobranie oferty
Zwraca dane oferty po unikalnym identyfikatorze
Metoda: GET
Ścieżka: /api/v1/offers/{id}
Parametry
| Nazwa | Typ | Opis |
|---|---|---|
| id | string |
Id oferty |
Parametry odpowiedzi
| Nazwa | Typ | Opis |
|---|---|---|
| id | string | Unikalny identyfikator oferty |
| title | string | Tytul oferty |
| description | string | Opis oferty |
| status | string | Status oferty |
| available_to | string | Data ważności oferty |
| currency | string | Waluta |
| id_user | integer | Id użytkownika |
| id_meeting | string | Id spotkania |
| id_customer | string | Id klienta |
| id_company | string | Id organizacji |
| id_thread | string | Id wątku |
| created_at | string | Data utworzenia oferty |
| modified_at | string | Data ostatniej modyfikacji oferty |
Odpowiedź w formacie JSON
{
"status": 200,
"data": {
"id": "string",
"title": "string",
"description": "string",
"status": "string",
"available_to": "string",
"currency": "string",
"id_user": "integer",
"id_meeting": "string",
"id_customer": "string",
"id_company": "string",
"id_thread": "string",
"created_at": "string",
"modified_at": "string"
}
}
Odpowiedź w formacie JSON
{
"status": 400,
"description": "Nieprawidłowe parametry"
}
Odpowiedź w formacie JSON
{
"status": 403,
"description": "Niepoprawne dane logowania"
}