Request
Body
Required
-
address
string -
latitude
number(double) -
longitude
number(double) -
provider
string(uuid) -
category
string Values are
MECHANIC
,PLUMBER
,ELECTRICIAN
,BUSINESS
,PERSONAL_SHOPPER
,HOUSE_KEEPING
,CARPENTER
,GENERATOR_REPAIR
,HOME_INSTALLER
,GUEST
, orUSER
. -
audio
object Additional properties are allowed.
-
problem
string -
car
string -
amount
integer(int32) -
place_id
string -
shopping_location
object Additional properties are allowed.
-
shopping_items
array[object]
POST
/trip/request
curl \
--request POST 'https://sandbox.serchservice.com/api/v1/trip/request' \
--header "Content-Type: application/json" \
--data '{"address":"string","latitude":42.0,"longitude":42.0,"provider":"string","category":"MECHANIC","audio":{"path":"string","media":"string","bytes":"string"},"problem":"string","car":"string","amount":42,"place_id":"string","shopping_location":{"address":"string","latitude":42.0,"longitude":42.0,"place_id":"string"},"shopping_items":[{"item":"string","amount":42,"quantity":42}]}'
Request examples
{
"address": "string",
"latitude": 42.0,
"longitude": 42.0,
"provider": "string",
"category": "MECHANIC",
"audio": {
"path": "string",
"media": "string",
"bytes": "string"
},
"problem": "string",
"car": "string",
"amount": 42,
"place_id": "string",
"shopping_location": {
"address": "string",
"latitude": 42.0,
"longitude": 42.0,
"place_id": "string"
},
"shopping_items": [
{
"item": "string",
"amount": 42,
"quantity": 42
}
]
}
Response examples (200)
{
"status": "100 CONTINUE",
"code": 42,
"message": "string",
"data": {
"id": "string",
"mode": "string",
"snt": "string",
"skill": "string",
"car": "string",
"category": "string",
"image": "string",
"audio": "string",
"problem": "string",
"amount": "string",
"address": "string",
"placeId": "string",
"latitude": 42.0,
"longitude": 42.0,
"label": "string",
"status": "ACTIVE",
"type": "REQUEST",
"provider": {
"id": "string",
"name": "string",
"avatar": "string",
"role": "string",
"category": "string",
"image": "string",
"rating": 42.0,
"phone": "string",
"bookmark": "string",
"trip_rating": 42.0
},
"user": {
"id": "string",
"name": "string",
"avatar": "string",
"role": "string",
"category": "string",
"image": "string",
"rating": 42.0,
"phone": "string",
"bookmark": "string",
"trip_rating": 42.0
},
"shared": {
"id": 42,
"category": "string",
"status": "ACTIVE",
"authentication": "string",
"profile": {
"id": "string",
"name": "string",
"avatar": "string",
"role": "string",
"category": "string",
"image": "string",
"rating": 42.0,
"phone": "string",
"bookmark": "string",
"trip_rating": 42.0
},
"timelines": [
{
"status": "REQUESTED",
"header": "string",
"description": "string",
"label": "string",
"is_over": true,
"created_at": "2025-05-04T09:42:00Z",
"updated_at": "2025-05-04T09:42:00Z"
}
],
"location": {
"latitude": 42.0,
"longitude": 42.0,
"bearing": 42.0,
"place": "string"
},
"show_cancel": true,
"show_auth": true,
"show_end": true,
"show_share": true,
"show_grant": true,
"show_deny": true,
"show_leave": true,
"show_notify_on_my_way": true,
"show_notify_arrival": true,
"phone_number": "string",
"first_name": "string",
"last_name": "string",
"cancel_reason": "string",
"is_provider": true
},
"timelines": [
{
"status": "REQUESTED",
"header": "string",
"description": "string",
"label": "string",
"is_over": true,
"created_at": "2025-05-04T09:42:00Z",
"updated_at": "2025-05-04T09:42:00Z"
}
],
"quotations": [
{
"id": 42,
"amount": "string",
"account": "string",
"name": "string",
"avatar": "string",
"rating": 42.0,
"distance": "string"
}
],
"authentication": "string",
"location": {
"latitude": 42.0,
"longitude": 42.0,
"bearing": 42.0,
"place": "string"
},
"show_cancel": true,
"show_auth": true,
"show_end": true,
"show_share": true,
"show_grant": true,
"show_deny": true,
"show_leave": true,
"show_notify_on_my_way": true,
"show_notify_arrival": true,
"requested_id": "string",
"is_provider": true,
"waiting_for_quotation_response": true,
"try_service_payment_again": true,
"service_fee": "string",
"user_share_fee": "string",
"pending_payment_data": {
"authorization_url": "string",
"access_code": "string",
"reference": "string"
},
"try_payment_again": true,
"shopping_location": {
"address": "string",
"latitude": 42.0,
"longitude": 42.0,
"place_id": "string"
},
"shopping_items": [
{
"id": 42,
"item": "string",
"quantity": 42,
"amount": "string",
"slip": "string"
}
],
"total_amount": 42,
"total_shopping_amount": "string",
"total_amount_spent_in_shopping": "string",
"created_at": "2025-05-04T09:42:00Z",
"updated_at": "2025-05-04T09:42:00Z"
}
}