v1

latestOpenAPI 3.1.02026-07-2438302.6 MB

Get Job Details

get/jobs/{job_uid}

Path parameters

job_uidstring required

Response

200

typestring

Example response

{
  "type": "success",
  "data": {
    "job_uid": "698d5560-6e3b-11ee-9637-5d3ccadf022e",
    "organization": {
      "organization_uid": "ca32ebd0-9c8d-11ed-9f13-9789cec5f4f1",
      "organization_name": "2503nithintest",
      "organization_email": "2503nithin@mail.com",
      "no_of_customers": 3,
      "organization_address": {
        "city": "Chennai ",
        "state": "Tamil Nadu ",
        "street": "Chennai ",
        "country": "India",
        "geo_cordinates": [
          13.0834622272901
        ]
      },
      "organization_billing_address": {
        "city": "Chennai ",
        "state": "Tamil Nadu ",
        "street": "Chennai ",
        "country": "India",
        "geo_cordinates": [
          13.0834622272901
        ]
      },
      "custom_fields": [
        {
          "label": "Sage Customer ID",
          "type": "SINGLE_LINE",
          "_id": "63d0ee1f2d8dc1a120429c1a"
        }
      ],
      "is_active": true,
      "created_at": "2023-01-25T08:53:51.507Z",
      "updated_at": "2023-09-26T07:01:51.454Z"
    },
    "prefix": "Q3_0001",
    "job_title": "test job",
    "job_category": {
      "estimated_duration": {
        "days": 2
      },
      "category_color": "#000",
      "category_name": "Recurring",
      "category_uid": "24b49530-37dc-11ec-9f98-2573cda9e3a6"
    },
    "job_priority": "LOW",
    "job_type": "NEW",
    "due_date": "2023-10-19T18:29:00.000Z",
    "current_job_status": {
      "status_uid": "f2fff4a7-1e27-406d-b091-5641ef59841b",
      "status_name": "test",
      "status_type": "NEW",
      "status_color": "#02B875"
    },
    "job_status": [
      {
        "status_uid": "f2fff4a7-1e27-406d-b091-5641ef59841b",
        "status_name": "test",
        "status_type": "NEW",
        "status_color": "#02B875",
        "done_by": {
          "user_uid": "297ff853-597b-4f24-a738-b24b4e4a41cf",
          "first_name": "Jegadheesh",
          "last_name": "R",
          "email": "jegadheesh.r@zuper.co",
          "designation": "Admin",
          "emp_code": "1234",
          "profile_picture": "https://s3.ap-south-1.amazonaws.com/prod.app.zuperpro/assets/profile_picture.jpg",
          "hourly_labor_charge": 20,
          "is_active": true,
          "created_at": "2023-09-26T10:13:03.000Z",
          "updated_at": "2023-09-26T10:13:03.000Z",
          "role": {
            "role_id": 1,
            "role_uid": "504e4eac-ff7d-11e7-8be5-0ed5f89f718b",
            "role_name": "Admin",
            "role_key": "ADMIN",
            "created_at": "2018-01-22T00:00:00.000Z",
            "updated_at": "2018-01-22T00:00:00.000Z"
          }
        },
        "_id": "6530b63a0d8d103406ac12f0",
        "created_at": "2023-10-19T04:53:14.991Z",
        "synced_at": "2023-10-19T04:53:14.991Z"
      }
    ],
    "customer_address": {
      "city": "Chennai ",
      "state": "Tamil Nadu ",
      "street": "Chennai ",
      "country": "India",
      "geo_cordinates": [
        13.0834622272901
      ],
      "first_name": "2503nithintest",
      "email": "2503nithin@mail.com"
    },
    "customer_billing_address": {
      "city": "Chennai ",
      "state": "Tamil Nadu ",
      "street": "Chennai ",
      "country": "India",
      "geo_cordinates": [
        13.0834622272901
      ],
      "first_name": "2503nithintest",
      "email": "2503nithin@mail.com"
    },
    "custom_fields": [
      {
        "label": "Job Feedback",
        "type": "SINGLE_LINE",
        "_id": "6530b63a0d8d103406ac12f1"
      }
    ],
    "attachments": [
      {
        "attachment_uid": "69a941d0-6e3b-11ee-9637-5d3ccadf022e",
        "file_name": "test images",
        "url": "https://s3.ap-south-1.amazonaws.com/staging.in.pro.zuper/attachments/6c287db0-ff7c-11e7-b3a8-29b417a4f3fa/3f994840-6e3b-11ee-9637-5d3ccadf022e.jpeg",
        "created_by": {
          "user_uid": "297ff853-597b-4f24-a738-b24b4e4a41cf",
          "first_name": "Jegadheesh",
          "last_name": "R",
          "email": "jegadheesh.r@zuper.co",
          "designation": "Admin",
          "emp_code": "1234",
          "profile_picture": "https://s3.ap-south-1.amazonaws.com/prod.app.zuperpro/assets/profile_picture.jpg",
          "hourly_labor_charge": 20,
          "is_active": true,
          "created_at": "2023-09-26T10:13:03.000Z",
          "updated_at": "2023-09-26T10:13:03.000Z",
          "role": {
            "role_id": 1,
            "role_uid": "504e4eac-ff7d-11e7-8be5-0ed5f89f718b",
            "role_name": "Admin",
            "role_key": "ADMIN",
            "created_at": "2018-01-22T00:00:00.000Z",
            "updated_at": "2018-01-22T00:00:00.000Z"
          }
        },
        "_id": "6530b63a0d8d103406ac12f9",
        "created_at": "2023-10-19T04:53:14.995Z"
      }
    ],
    "created_by": {
      "user_uid": "297ff853-597b-4f24-a738-b24b4e4a41cf",
      "first_name": "Jegadheesh",
      "last_name": "R",
      "email": "jegadheesh.r@zuper.co",
      "designation": "Admin",
      "emp_code": "1234",
      "profile_picture": "https://s3.ap-south-1.amazonaws.com/prod.app.zuperpro/assets/profile_picture.jpg",
      "hourly_labor_charge": 20,
      "is_active": true,
      "created_at": "2023-09-26T10:13:03.000Z",
      "updated_at": "2023-09-26T10:13:03.000Z",
      "role": {
        "role_id": 1,
        "role_uid": "504e4eac-ff7d-11e7-8be5-0ed5f89f718b",
        "role_name": "Admin",
        "role_key": "ADMIN",
        "created_at": "2018-01-22T00:00:00.000Z",
        "updated_at": "2018-01-22T00:00:00.000Z"
      }
    },
    "details_url": "https://staging.zuperpro.com/api/customer_portal/jobs?company_uid=6c287db0-ff7c-11e7-b3a8-29b417a4f3fa&job_uid=698d5560-6e3b-11ee-9637-5d3ccadf022e",
    "feedback_url": "https://staging.zuperpro.com/api/customer_portal/feedback?company_uid=6c287db0-ff7c-11e7-b3a8-29b417a4f3fa&job_uid=698d5560-6e3b-11ee-9637-5d3ccadf022e",
    "products": [
      {
        "line_item_uid": "4341d250-6e45-11ee-9637-5d3ccadf022e",
        "line_item_type": "ITEM",
        "product_ref_id": {
          "product_category": {
            "category_name": "Miscellaneous",
            "category_uid": "c4d9a2e0-7bc2-11e9-af27-a5e2b7a037f7"
          },
          "product_uid": "022b9930-a96a-11e9-a952-716e2bba4402",
          "updated_at": "2023-10-06T05:12:24.679Z",
          "created_at": "2019-07-18T14:40:37.955Z",
          "is_available": true,
          "meta_data": [
            {
              "label": "l1",
              "value": "v1",
              "_id": "5d3084e58083436bcb93f3b6"
            }
          ],
          "product_id": "P020",
          "product_type": "SERVICE",
          "track_quantity": true
        },
        "product_id": "P020",
        "product_uid": "022b9930-a96a-11e9-a952-716e2bba4402",
        "product_category": "c4d9a2e0-7bc2-11e9-af27-a5e2b7a037f7",
        "product_name": "Product#2",
        "quantity": 6,
        "product_type": "SERVICE",
        "group_uid": "f2c59e40-cdee-11eb-b900-5d79c9f91d92",
        "group": {
          "product_group_name": "Test Product Group",
          "product_group_uid": "f2c59e40-cdee-11eb-b900-5d79c9f91d92"
        },
        "discount_type": "FIXED",
        "_id": "6530c6c10d8d103406ac42b6",
        "product": {
          "product_uid": "022b9930-a96a-11e9-a952-716e2bba4402",
          "is_available": true,
          "meta_data": [
            {
              "label": "l1",
              "value": "v1",
              "_id": "5d3084e58083436bcb93f3b6"
            }
          ],
          "product_id": "P020",
          "product_type": "SERVICE",
          "track_quantity": true
        }
      }
    ],
    "created_at": "2023-10-19T04:53:14.996Z",
    "updated_at": "2023-10-19T06:03:45.663Z",
    "work_order_number": 13577
  }
}