Get Jobs by status
Changed onget/jobs/status
Request
- Base URLhttps://dc-region.zuperpro.com/api
- URLhttps://dc-region.zuperpro.com/api/jobs/status
- AuthAPI key in header x-api-key
Query parameters
pageinteger
countinteger
statusstring
Response
200
Example response
{
"type": "success",
"data": [
{
"job_uid": "8531cc5a-ab53-48a3-8693-521fc26158e0",
"customer": {
"customer_uid": "394c44e7-089c-4f4d-8f8e-5eed1f8822e0",
"customer_first_name": "HI",
"customer_last_name": "hi",
"customer_contact_no": {
"mobile": "321321312312",
"home": "2132132121321",
"work": "3123123123123"
},
"is_active": true
},
"job_title": "test",
"job_category": {
"category_uid": "09c41e65-5669-4b06-99f9-bffbd6b246e0",
"category_name": "assist",
"category_color": "#000",
"estimated_duration": {
"hours": 1
}
},
"job_priority": "LOW",
"job_type": "NEW",
"scheduled_start_time": "2024-08-01T03:00:00.000Z",
"scheduled_end_time": "2024-08-01T04:00:00.000Z",
"scheduled_duration": 60,
"current_job_status": {
"status_uid": "42e0bb65-6bd4-4bc4-b19f-a61c6e412910",
"status_name": "New",
"status_type": "NEW",
"status_color": "#02B875"
},
"job_status": [
{
"status_uid": "42e0bb65-6bd4-4bc4-b19f-a61c6e412910",
"status_name": "New",
"status_type": "NEW",
"status_color": "#02B875",
"created_at": "2024-08-01T06:44:53.119Z",
"synced_at": "2024-08-01T06:44:53.120Z"
}
],
"customer_address": {
"city": "Chennai ",
"state": "Tamil Nadu ",
"street": "Chennai International Airport (MAA), Airport Road, Meenambakkam",
"country": "India",
"zip_code": "600027",
"first_name": "HI",
"last_name": "hi",
"phone_number": "321321312312",
"email": "sda@sd.com",
"geo_cordinates": [
12.9811068
],
"point_coordinates": {
"type": "Point",
"coordinates": [
80.159623
]
}
},
"customer_billing_address": {
"city": "Chennai ",
"state": "Tamil Nadu ",
"street": "Chennai International Airport (MAA), Airport Road, Meenambakkam",
"country": "India",
"zip_code": "600027",
"first_name": "HI",
"last_name": "hi",
"phone_number": "321321312312",
"email": "sda@sd.com",
"geo_cordinates": [
12.9811068
],
"point_coordinates": {
"type": "Point",
"coordinates": [
80.159623
]
}
},
"created_by": {
"user_uid": "b9c91ee7-850f-47b7-b2cd-a6b78f4254d3",
"first_name": "Jayasoorya",
"last_name": "R",
"email": "jayasoorya.r@zuper.co",
"home_phone_number": "9898989898",
"designation": "Admin",
"emp_code": "001",
"work_phone_number": "9898989898",
"profile_picture": "https://s3.ap-south-1.amazonaws.com/staging.in.pro.zuper/attachments/4ddf323f-19ed-4b56-81cc-70d0bdf628c5/ea2602d9-0379-4ffb-a2c0-916dc2558c56.JPG",
"is_active": true,
"created_at": "2024-06-14T07:34:28.000Z",
"updated_at": "2024-09-18T04:03:31.000Z"
},
"created_at": "2024-08-01T06:44:53.125Z",
"work_order_number": 251,
"id": "undefined"
}
],
"total_records": 7,
"current_page": 1,
"total_pages": 4
}Changes
- info
endpoint added
- info