Get All Submission Forms

Changed on
get/assets/inspection_form

Request

  • Base URL
    https://dc-region.zuperpro.com/api
  • URL
    https://dc-region.zuperpro.com/api/assets/inspection_form
  • Auth
    API key in header x-api-key

Query parameters

pageinteger required
countinteger required
sort'DESC' | 'ASC' required
sort_by'asset_form_name' | 'created_at' required
filter.keywordstring
filter.is_activeboolean
filter.assetstring[]
filter.asset_formstring[]
filter.jobstring[]
filter.created_bystring[]
filter.created_at_fromstring date
filter.created_at_tostring
filter.updated_at_fromstring
filter.updated_at_tostring
filter.asset_form_submission_uidstring[]

Response

200

typestring
total_recordsinteger
current_pageinteger
total_pagesinteger

Example response

{
  "type": "success",
  "data": [
    {
      "asset_form_submission_uid": "091b7820-3848-11ee-868f-bd4e7851a181",
      "asset_form_name": "V3 Checklist",
      "asset_form_description": "V3 Checklist",
      "asset_form_uid": "37d0f2d0-1fbb-11ee-87d8-7b1e18a46a84",
      "job": {
        "job_uid": "01707470-3845-11ee-868f-bd4e7851a181",
        "prefix": "#Q3_0001",
        "job_title": "Job status flow Android",
        "job_priority": "HIGH",
        "scheduled_start_time": "2023-08-25T20:30:00.000Z",
        "scheduled_end_time": "2023-08-27T20:30:00.000Z",
        "due_date": "2023-08-11T18:29:59.000Z",
        "customer_address": {
          "city": "Chennai",
          "street": "Turyaa Chennai, Old Mahabalipuram Road, Elango Nagar, Perungudi",
          "first_name": "Mark",
          "last_name": "Arnold",
          "phone_number": "+1 09600970166",
          "email": "gprasath630@gmail.com"
        },
        "customer_billing_address": {
          "city": "Chennai",
          "street": "Turyaa Chennai, Old Mahabalipuram Road, Elango Nagar, Perungudi",
          "first_name": "Mark",
          "last_name": "Arnold",
          "phone_number": "+1 09600970166",
          "email": "gprasath630@gmail.com"
        },
        "work_order_number": 12077
      },
      "data": [
        {
          "label": "New V3 Web App checklist",
          "type": "HEADER",
          "_id": "64d63295f8e6167e2b3243f5"
        }
      ],
      "is_active": true,
      "created_by": {
        "user_uid": "50689376-6348-41dd-81e3-9d75dc73027d",
        "first_name": "Maruthu",
        "last_name": "Raja",
        "email": "Maruthu@zuper.co",
        "designation": "Test",
        "emp_code": "5000",
        "work_phone_number": "8220131280",
        "profile_picture": "https://s3.ap-south-1.amazonaws.com/staging.in.pro.zuper/attachments/6c287db0-ff7c-11e7-b3a8-29b417a4f3fa/b8903d40-eb13-11ed-87d1-291dff240ce4.jpg",
        "hourly_labor_charge": 20,
        "is_active": true,
        "created_at": "2023-05-05T06:57:26.000Z",
        "updated_at": "2023-05-05T07:09:24.000Z"
      },
      "created_at": "2023-08-11T13:07:33.668Z",
      "updated_at": "2023-08-11T13:07:33.670Z",
      "id": "undefined"
    }
  ],
  "total_records": 495,
  "current_page": 1,
  "total_pages": 50
}

Changes