Get request
Changed onget/v2/customer_portal/request
Request
- Base URLhttps://dc-region.zuperpro.com/api
- URLhttps://dc-region.zuperpro.com/api/v2/customer_portal/request
- AuthAPI key in header x-api-key
Query parameters
pageinteger required
countinteger required
sort`'DESC' | 'ASC' required
sort_by'created_at' | 'request_id' | 'request_title' | 'updated_at' required
filter.request_status'OPEN' | 'IN_PROGRESS' | 'CLOSED' | 'ON_HOLD' | 'CANCELED' | 'OTHERS'
filter.status_uidstring
filter.created_at_fromstring date
filter.created_at_tostring date
filter.preferred_date_fromstring date
filter.preferred_date_tostring date
filter.keywordstring
Response
200
Example response
{
"type": "success",
"data": [
{
"request_uid": "705626a6-e311-4c75-9119-64d5925a6899",
"request_title": "test",
"request_description": "<p>test</p>",
"customer": {
"customer_uid": "3b9a2a60-3d5f-11ed-a77f-7d639323b89a",
"customer_first_name": "Ashin",
"customer_last_name": "customer OG",
"customer_email": "ashinthankachan1999@gmail.com",
"customer_contact_no": {
"mobile": "8301907278",
"home": "123123",
"work": "8301907278"
},
"is_active": true
},
"service_address": {
"landmark": "near jain college",
"city": "Thoraipakkam ",
"state": "Tamil Nadu ",
"street": "Jain College, D B Jain College main enterence, Jothi Nagar",
"zip_code": "600097",
"geo_cordinates": [
12.9469543
],
"_id": "665455169409a5749d8ed46b"
},
"billing_address": {
"landmark": "near jain college",
"city": "Thoraipakkam ",
"state": "Tamil Nadu ",
"street": "Jain College, D B Jain College main enterence, Jothi Nagar",
"zip_code": "600097",
"geo_cordinates": [
12.9469543
],
"_id": "665455169409a5749d8ed46c"
},
"request_service": {
"service_uid": "7be1334a-5101-4d41-abea-d4130d4280b4",
"service_name": "Test service",
"estimated_price": 5,
"is_active": true
},
"request_status": {
"status_type": "OPEN",
"status_color": "#3498db",
"status_uid": "26d89664-72c0-4280-b9fb-e9f4b38f8143",
"status_name": "New Request",
"_id": "665455169409a5749d8ed46d"
},
"created_at": "2024-05-27T09:40:38.804Z",
"updated_at": "2024-05-29T09:40:54.323Z",
"request_id": 505
}
],
"current_page_records": 1,
"total_records": 13,
"current_page": 1,
"total_pages": 13
}Changes
- info
endpoint added
- info