Get Asset Inspection Forms
Changed onget/assets/inspection_form/master
Request
- Base URLhttps://dc-region.zuperpro.com/api
- URLhttps://dc-region.zuperpro.com/api/assets/inspection_form/master
- AuthAPI 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
ilter.is_activeboolean
filter.asset_categorystring[]
filter.created_bystring[]
filter.created_at_fromstring date
filter.created_at_tostring date
filter.updated_at_fromstring date
filter.updated_at_tostring date
filter.asset_form_uidstring[]
filter.without_categoryboolean
Response
200
Example response
{
"type": "success",
"data": [
{
"asset_form_uid": "6f3a8700-5b97-11ee-b665-fff525290acf",
"asset_form_name": "EV Battery-Replacement",
"asset_form_description": "battery replacement",
"asset_form_fields": [
{
"label": "Single Picture",
"description": "Take a Picture",
"type": "IMAGE",
"original_template": {
"id": 32,
"component": "image",
"editable": true,
"label": "Single Picture",
"description": "Take a Picture",
"validation": "/.*/",
"group": "Default",
"restrict_to_camera": true
},
"meta_options": {
"restrict_to_camera": true
},
"_id": "65152f8ef42678bea523d169"
}
],
"is_active": true,
"created_by": {
"user_uid": "57a967fe-30c1-41a6-a4e5-5a04f5b8c936",
"first_name": "Lavanya",
"last_name": "G",
"email": "lavanya.g@zuper.co",
"designation": "Admin",
"emp_code": "Z200",
"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-08T07:13:05.000Z",
"updated_at": "2023-09-08T07:13:05.000Z"
},
"created_at": "2023-09-25T11:34:05.937Z",
"updated_at": "2023-09-28T07:47:26.155Z",
"__v": 1,
"id": "undefined"
}
],
"total_records": 29,
"current_page": 1,
"total_pages": 1
}Changes
- info
endpoint added
- info