Table of Contents
The Get Jobs History API allows users to retrieve their job history details for a particular user in a specified currency. This can be useful for keeping track of past jobs and their associated details.
Endpoint #
The Voomerr Request Extra Time endpoint is POST https://admin.voomerr.com/api/get_jobs_history.php
Parameters #
Parameter | Type | Required | Description |
---|---|---|---|
user_id | string | Yes | The unique identifier of the user |
currency | string | Yes | The currency of the jobs to retrieve |
Response #
The response from the API will be in JSON format and will contain the following fields:
Field | Type | Description |
---|---|---|
success | boolean | Indicates whether the API request was successful or not |
message | string | A message indicating the result of the API request |
jobs | array | An array of jobs associated with the user |
job_id | string | The unique identifier 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 current status of the job (e.g. Pending, Delivered) |
payment | object | An object containing details about the payment for the job |
amount | float | The amount paid for the job in the specified currency |
currency | string | The currency in which the job was paid |
delivery | object | An object containing details about the delivery for the job |
address | string | The delivery address for the job |
latitude | float | The latitude of the delivery location |
longitude | float | The longitude of the delivery location |
Example Request #
json
POST https://admin.voomerr.com/api/get_jobs_history.php
{
"user_id": "123456",
"currency": "USD"
}
Example Response #
css
{
"success": true,
"message": "Job history retrieved successfully.",
"jobs": [
{
"job_id": "123456",
"gig_name": "Sample Gig",
"gig_image": "https://example.com/gig_image.jpg",
"status": "Delivered",
"payment": {
"amount": 50.0,
"currency": "USD"
},
"delivery": {
"address": "123 Main St, Anytown",
"latitude": 40.123456,
"longitude": -75.123456
}
},
{
"job_id": "789012",
"gig_name": "Another Gig",
"gig_image": "https://example.com/another_gig_image.jpg",
"status": "Pending",
"payment": {
"amount": 25.0,
"currency": "USD"
},
"delivery": {
"address": "456 Main St, Anytown",
"latitude": 40.654321,
"longitude": -75.654321
}
}
]
}