Getting list of vehicle applications from garage
Getting list of vehicle rental applications from garage with pagination
Request
GET
https://fleet-api.taxi.yandex.net/v1/parks/vehicles/applications/list
Query parameters
|
Name |
Description |
|
cursor |
Type: string Cursor for obtaining the next data chunk Example: |
|
limit |
Type: integer Limit of elements in response Default: Example: Min value: Max value: |
Headers
|
Name |
Description |
|
X-API-Key* |
Type: string API-key Example: Min length: |
|
X-Client-ID* |
Type: string Client ID Example: Min length: |
|
X-Park-ID* |
Type: string Partner ID Example: |
Responses
200 OK
List of vehicle applications
Body
application/json
{
"items": [
{
"lead_id": "550e8400-e29b-41d4-a716-446655440000",
"driver_id": "33de650c6a1a40bfa78dd981817da866",
"phone_pd_id": "1a2b3c4d5e6f7g8h9i0j",
"park_id": "ee6f33c4562b4e1f8646d157bd70b2c4",
"vehicle_id": "5011ade6ba054dfdb7143c8cc9460dbc",
"rule_revision_id": "rev_20231215_001",
"region_id": "213",
"posting_id": "posting_12345678",
"schema": {
"price": "1500.0000",
"working_days": 6,
"non_working_days": 1
},
"application_id": "app_2023_12345",
"client_id": "client_garage",
"is_multibooking_enabled": true,
"is_created_by_phonecall": false,
"source": "yandex_garage",
"external_lead_id": "ext_lead_987654321",
"car_tariff": "econom",
"booking_type": "rent",
"selfreg_campaign_id": "550e8400-e29b-41d4-a716-446655440000",
"created_at": "2023-12-15T09:00:00+03:00",
"updated_at": "2023-12-15T14:30:00+03:00",
"request_to_change_car_completed_at": "2023-12-16T10:15:30+03:00"
}
],
"cursor": "eyJsZWFkX2lkIjoiNTUwZTg0MDAtZTI5Yi00MWQ0LWE3MTYtNDQ2NjU1NDQwMDAwIn0="
}
|
Name |
Description |
|
items* |
Type: VehicleApplicationItem[] List of applications |
|
cursor |
Type: string Cursor for next page Example: |
VehicleApplicationItem
|
Name |
Description |
||||||
|
lead_id* |
Type: string<uuid> Application ID Example: |
||||||
|
park_id* |
Type: string Park ID Example: |
||||||
|
phone_pd_id* |
Type: string Phone ID (personal data) Example: |
||||||
|
rule_revision_id* |
Type: string Rent rule revision ID Example: |
||||||
|
vehicle_id* |
Type: string Vehicle ID Example: |
||||||
|
application_id |
Type: string External application ID Example: |
||||||
|
booking_type |
Type: string Booking type Example: |
||||||
|
car_tariff |
Type: string Car tariff Example: |
||||||
|
client_id |
Type: string Client ID Example: |
||||||
|
created_at |
Type: string<date-time> Application creation date and time Example: |
||||||
|
driver_id |
Type: string Driver ID Example: |
||||||
|
external_lead_id |
Type: string External lead ID Example: |
||||||
|
is_created_by_phonecall |
Type: boolean Is created by phone call Example: |
||||||
|
is_multibooking_enabled |
Type: boolean Is multibooking enabled Example: |
||||||
|
posting_id |
Type: string Posting ID Example: |
||||||
|
region_id |
Type: string Region ID Example: |
||||||
|
request_to_change_car_completed_at |
Type: string<date-time> Date and time when request to change car was completed Example: |
||||||
|
schema |
Type: object
Rental scheme |
||||||
|
selfreg_campaign_id |
Type: string<uuid> Self-registration campaign ID Example: |
||||||
|
source |
Type: string Application source Example: |
||||||
|
updated_at |
Type: string<date-time> Application update date and time Example: |
400 Bad Request
Invalid request parameters
Body
application/json
{
"code": "string",
"message": "Textual description of the error"
}
|
Name |
Description |
|
message* |
Type: string Human-readable error message Example: |
|
code |
Type: string Machine-readable error code |
401 Unauthorized
Request authorization parameters are missing
Body
application/json
{
"code": "string",
"message": "Textual description of the error"
}
|
Name |
Description |
|
message* |
Type: string Human-readable error message Example: |
|
code |
Type: string Machine-readable error code |
403 Forbidden
Insufficient rights to execute the request
Body
application/json
{
"code": "string",
"message": "Textual description of the error"
}
|
Name |
Description |
|
message* |
Type: string Human-readable error message Example: |
|
code |
Type: string Machine-readable error code |
429 Too Many Requests
Limit of requests was exceeded
Body
application/json
{
"code": "string",
"message": "Textual description of the error"
}
|
Name |
Description |
|
message* |
Type: string Human-readable error message Example: |
|
code |
Type: string Machine-readable error code |
500 Internal Server Error
Internal server error
Body
application/json
{
"code": "string",
"message": "Textual description of the error"
}
|
Name |
Description |
|
message* |
Type: string Human-readable error message Example: |
|
code |
Type: string Machine-readable error code |
No longer supported, please use an alternative and newer version.