Get Jobs

The “get jobs” API endpoint allows users to retrieve information about their active jobs or gigs on the Voomerr platform. The endpoint requires the user’s ID and the desired currency as input parameters. The API returns a JSON response containing an array of the user’s jobs, including details such as the job ID, gig name, gig image, job status, payment amount and date, and delivery details such as address, latitude, longitude, and delivery type. This API endpoint can be used by users to retrieve information about their current and past jobs on Voomerr, helping them to track their earnings and manage their deliveries.

Endpoint #

The Voomerr Get Jobs endpoint is POST https://admin.voomerr.com/api/get_jobs.php

Request Parameters #

Parameter Type Required Description
user_id string Yes The ID of the user to retrieve jobs for.
currency string Yes The currency of the jobs to retrieve.

Response Parameters #

Parameter Type Description
success bool Indicates whether the request was successful.
message string A message indicating the result of the operation.
jobs array An array of job objects.
job_id string The ID of the job.
gig_name string The name of the gig associated with the job.
gig_image string The URL of the gig image associated with the job.
status string The status of the job.
payment object The payment details for the job.
amount float The payment amount for the job.
currency string The currency of the payment for the job.
payment_date string The payment date for the job.
delivery object The delivery details for the job.
address string The delivery address for the job.
latitude float The latitude of the delivery address.
longitude float The longitude of the delivery address.
delivery_type string The delivery type for the job.

Sample Request #

json
POST https://admin.voomerr.com/api/get_jobs.php
{
"user_id": "12345",
"currency": "USD"
}

Sample Response #

css
{
"success": true,
"message": "Jobs retrieved successfully.",
"jobs": [
{
"job_id": "7890123",
"gig_name": "Sample Gig",
"gig_image": "https://example.com/gig_image.jpg",
"status": "Pending",
"payment": {
"amount": 50.0,
"currency": "USD",
"payment_date": "2022-02-28"
},
"delivery": {
"address": "123 Main St, Anytown",
"latitude": 40.123456,
"longitude": -75.123456,
"delivery_type": "Delivery"
}
},
{
"job_id": "4567890",
"gig_name": "Another Gig",
"gig_image": "https://example.com/another_gig_image.jpg",
"status": "Delivered",
"payment": {
"amount": 100.0,
"currency": "USD",
"payment_date": "2022-02-25"
},
"delivery": {
"address": "456 Maple Ave, Anytown",
"latitude": 40.123456,
"longitude": -75.123456,
"delivery_type": "Pickup"
}
}
]
}

Powered by BetterDocs