Skip to main content

Accept inquiry event

Event nameDescription
inquiry.acceptThis event will trigger when all the jobs without pending_start state.
This event will trigger after a service provider accept this inquiry.
Example
{
"id": 7289021,
"type": "events",
"ip_address": "124.122.77.168",
"attributes_differences": {
"state": ["pending_provider", "pending_completion"],
"updated_at": [
"2022-12-13T20:39:47.233+07:00",
"2022-12-13T20:42:52.706+07:00"
],
"lock_version": [1, 2]
},
"utm_source": null,
"utm_medium": null,
"utm_campaign": null,
"utm_term": null,
"utm_content": null,
"created_at": "2022-12-13T20:42:52.914+07:00",
"name": "inquiry.accept",
"actor": {
"id": 23364,
"type": "providers",
"avatar_url": "https://seekster-company.oss-ap-southeast-1.aliyuncs.com/workforce-images/default_avatar.png",
"display_name": "Earn Earn",
"first_name": "Earn",
"last_name": "Earn",
"public_rating": null,
"phone_number": "0805953358",
"state": "approved",
"disable_leads": false,
"latitude": null,
"longitude": null,
"available_distance": 10.0,
"date_of_start": null,
"lastest_covid_result_date": null,
"accepted_latest_policy": true,
"accepted_latest_terms": true,
"rating": 0.0
},
"source": {
"id": 277679,
"type": "inquiries",
"number": "HC-069824",
"start_time": "2022-12-14T11:00:00.000+07:00",
"state": "pending_completion",
"has_logistics": false,
"created_at": "2022-12-13T20:39:25.164+07:00"
},
"client": {
"id": 245,
"name": "Seekster Provider Web",
"slug": null,
"secret_key": "MQYN7hqYcemp7UxCUejMJuY5+W83W39giESp66QCW3QQIPkKRIXoklSV/nMykjVbYIXHMVaVaQ5c+efjjTBfFg==",
"platform": "web",
"issued_by_id": 626,
"created_at": "2022-10-12T15:33:31.372+07:00",
"updated_at": "2022-10-12T15:33:31.699+07:00",
"access_type": "provider",
"latest_version": "",
"minimum_supported_version": "",
"official": false,
"access_key": "0a3a5d323d8f75f57138b4efce803or9",
"color": "#000000",
"webhook_url": null,
"refs": [],
"fcm_server_key": "",
"scheme": "",
"contact_email": null,
"contact_number": null,
"tenant_id": 1,
"app_id": null,
"created_by_type": "Agent",
"created_by_id": 626,
"opener": ""
},
"destination": null
}