Last active
December 19, 2022 17:37
-
-
Save arif98741/ec1cbe6cd55c7a9fa19e752895706a5a to your computer and use it in GitHub Desktop.
Gist for Providers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": 22, | |
"full_name": "Azizul Hakim", | |
"email": "provider1@gmail.com", | |
"phone": "01711111111", | |
"gender": "Female", | |
"role_id": 3, | |
"user_slug": "provider-1", | |
"profile_photo": "https://takecare.ltd/storage/uploads/user_file/service1647145932622d73cc4a0a1.jpg", | |
"speciality_id": 2, | |
"expertise_id": null, | |
"wight": 71, | |
"height": "5.9", | |
"longitude": "90.414069", | |
"latitude": "23.795164", | |
"email_verified_at": null, | |
"otp_verified": 1, | |
"documents_verified": 1, | |
"status": 1, | |
"force_inactive": 1, | |
"last_login": null, | |
"available": 1, | |
"fcm_token": "c3QklfD0SFyTh4lnBazPJL:APA91bE_pczwMa1xqNdJjqq65-1OtbNITo1akCU_i_pcyUwD8WIpUqb2oBTZpp5jVUw-wJu9wOwBXNHywV6bJdeqW5W3hER3vyyTv0-A50eRHnb2QFj8NTPVrX_ThSToQy706NEr579n", | |
"signature_otp": null, | |
"firebase_token": null, | |
"created_at": "2022-03-13T04:32:12.000000Z", | |
"updated_at": "2022-07-23T09:13:21.000000Z", | |
"provider_number_of_given_service_count": 10, | |
"provider_service_total_price": 0, | |
"provider_rating": 0, | |
"speciality": { | |
"id": 2, | |
"speciality_name": "General Physician", | |
"expertise_id": 1, | |
"description": "test", | |
"status": 1, | |
"created_at": "2022-02-18T05:28:02.000000Z", | |
"updated_at": "2022-04-10T14:45:22.000000Z" | |
}, | |
"user_services": [], | |
"user_address": [], | |
"user_academic_infos": [ | |
{ | |
"id": 2, | |
"user_id": 22, | |
"institute": "Daffodil International University", | |
"major": "Computer Sceince", | |
"passing_year": "2021", | |
"cgpa_grade": "4.4", | |
"created_at": "2022-03-14T18:57:52.000000Z", | |
"updated_at": "2022-07-23T08:48:53.000000Z" | |
} | |
], | |
"save_addresses": [ | |
{ | |
"id": 1, | |
"user_id": 22, | |
"beneficiary_name": "Arif", | |
"district": "Basail, Ghatail, Tangail", | |
"city": "dhaka", | |
"postcode": "1020", | |
"lon": "24.98", | |
"lat": "23.49", | |
"created_at": "2022-06-27T19:35:34.000000Z", | |
"updated_at": "2022-06-27T19:35:34.000000Z" | |
} | |
], | |
"profession_data": [ | |
{ | |
"id": 3, | |
"user_id": 22, | |
"license_no": "123458484", | |
"year_of_experience": "5", | |
"past_experience": null, | |
"other_speciality": "Doctor", | |
"personal_commitment": "100%", | |
"created_at": "2022-03-14T18:05:37.000000Z", | |
"updated_at": "2022-03-14T18:05:37.000000Z" | |
} | |
], | |
"language_proficiency": [], | |
"user_other_info": [], | |
"user_documents": [ | |
{ | |
"id": 107, | |
"title": "Khan", | |
"user_id": 22, | |
"file": "storage/uploads/user_document/user_doc_22_1668105760-Screenshot_20221110-191727.png", | |
"extension": "png", | |
"created_at": "2022-11-10T18:42:40.000000Z", | |
"updated_at": "2022-11-10T18:42:40.000000Z" | |
}, | |
{ | |
"id": 108, | |
"title": "Pdf", | |
"user_id": 22, | |
"file": "storage/uploads/user_document/user_doc_22_1668106163-1595555137248.jpg", | |
"extension": "jpg", | |
"created_at": "2022-11-10T18:49:23.000000Z", | |
"updated_at": "2022-11-10T18:49:23.000000Z" | |
}, | |
{ | |
"id": 110, | |
"title": "img", | |
"user_id": 22, | |
"file": "storage/uploads/user_document/user_doc_22_1668108151-1595555136148.jpg", | |
"extension": "jpg", | |
"created_at": "2022-11-10T19:22:31.000000Z", | |
"updated_at": "2022-11-10T19:22:31.000000Z" | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"success": true, | |
"message": "Fetched user according to given status", | |
"data": { | |
"current_page": 1, | |
"data": [ | |
{ | |
"id": 76, | |
"full_name": "AGM Khair Sabbir", | |
"email": "asd@asf.com", | |
"phone": "01711112222", | |
"gender": "Male", | |
"role_id": 3, | |
"user_slug": "agm-khair-sabbir93782", | |
"profile_photo": "https://takecare.ltd/storage/uploads/user_file/service165669964762bf3aff9d936.jpg", | |
"speciality_id": 2, | |
"expertise_id": null, | |
"wight": null, | |
"height": null, | |
"longitude": null, | |
"latitude": null, | |
"email_verified_at": null, | |
"otp_verified": 1, | |
"documents_verified": 1, | |
"status": 1, | |
"force_inactive": 1, | |
"last_login": null, | |
"available": 1, | |
"fcm_token": null, | |
"signature_otp": "pR9J3ef0okf", | |
"firebase_token": null, | |
"created_at": "2022-07-02T00:20:47.000000Z", | |
"updated_at": "2022-07-02T00:20:47.000000Z", | |
"provider_number_of_given_service_count": 0, | |
"provider_service_total_price": 0, | |
"provider_rating": 0, | |
"speciality": { | |
"id": 2, | |
"speciality_name": "General Physician", | |
"expertise_id": 1, | |
"description": "test", | |
"status": 1, | |
"created_at": "2022-02-18T11:28:02.000000Z", | |
"updated_at": "2022-04-10T20:45:22.000000Z" | |
}, | |
"user_services": [], | |
"user_address": [], | |
"user_academic_infos": [], | |
"save_addresses": [], | |
"profession_data": [], | |
"language_proficiency": [], | |
"user_other_info": [], | |
"user_documents": [] | |
}, | |
{ | |
"id": 144, | |
"full_name": "Ariful Islam", | |
"email": "tes@dfkh.com", | |
"phone": "01750840217", | |
"gender": "male", | |
"role_id": 3, | |
"user_slug": "ariful-islam91591", | |
"profile_photo": "https://takecare.ltd/storage/uploads/user_file/service1667930298636a98bad6625.jpg", | |
"speciality_id": 4, | |
"expertise_id": null, | |
"wight": null, | |
"height": null, | |
"longitude": "0.0", | |
"latitude": "0.0", | |
"email_verified_at": null, | |
"otp_verified": 1, | |
"documents_verified": 1, | |
"status": 1, | |
"force_inactive": 1, | |
"last_login": null, | |
"available": 1, | |
"fcm_token": "c3QklfD0SFyTh4lnBazPJL:APA91bE_pczwMa1xqNdJjqq65-1OtbNITo1akCU_i_pcyUwD8WIpUqb2oBTZpp5jVUw-wJu9wOwBXNHywV6bJdeqW5W3hER3vyyTv0-A50eRHnb2QFj8NTPVrX_ThSToQy706NEr579n", | |
"signature_otp": "57i6634357", | |
"firebase_token": "01750887678sdfksdfklkjsdhfkhsdkljfiousdyfisdf440217", | |
"created_at": "2022-11-08T23:58:18.000000Z", | |
"updated_at": "2022-12-13T00:18:43.000000Z", | |
"provider_number_of_given_service_count": 0, | |
"provider_service_total_price": 0, | |
"provider_rating": 0, | |
"speciality": { | |
"id": 4, | |
"speciality_name": "ICU Nurse", | |
"expertise_id": 3, | |
"description": "test", | |
"status": 1, | |
"created_at": "2022-02-18T11:28:02.000000Z", | |
"updated_at": "2022-09-14T02:08:28.000000Z" | |
}, | |
"user_services": [], | |
"user_address": [], | |
"user_academic_infos": [], | |
"save_addresses": [], | |
"profession_data": [], | |
"language_proficiency": [], | |
"user_other_info": [], | |
"user_documents": [] | |
}, | |
{ | |
"id": 22, | |
"full_name": "Azizul Hakim", | |
"email": "provider1@gmail.com", | |
"phone": "01711111111", | |
"gender": "Female", | |
"role_id": 3, | |
"user_slug": "provider-1", | |
"profile_photo": "https://takecare.ltd/storage/uploads/user_file/service1647145932622d73cc4a0a1.jpg", | |
"speciality_id": 2, | |
"expertise_id": null, | |
"wight": 71, | |
"height": "5.9", | |
"longitude": "90.414069", | |
"latitude": "23.795164", | |
"email_verified_at": null, | |
"otp_verified": 1, | |
"documents_verified": 1, | |
"status": 1, | |
"force_inactive": 1, | |
"last_login": null, | |
"available": 1, | |
"fcm_token": "c3QklfD0SFyTh4lnBazPJL:APA91bE_pczwMa1xqNdJjqq65-1OtbNITo1akCU_i_pcyUwD8WIpUqb2oBTZpp5jVUw-wJu9wOwBXNHywV6bJdeqW5W3hER3vyyTv0-A50eRHnb2QFj8NTPVrX_ThSToQy706NEr579n", | |
"signature_otp": null, | |
"firebase_token": null, | |
"created_at": "2022-03-13T10:32:12.000000Z", | |
"updated_at": "2022-07-23T15:13:21.000000Z", | |
"provider_number_of_given_service_count": 10, | |
"provider_service_total_price": 1400, | |
"provider_rating": 0, | |
"speciality": { | |
"id": 2, | |
"speciality_name": "General Physician", | |
"expertise_id": 1, | |
"description": "test", | |
"status": 1, | |
"created_at": "2022-02-18T11:28:02.000000Z", | |
"updated_at": "2022-04-10T20:45:22.000000Z" | |
}, | |
"user_services": [ | |
{ | |
"id": 120, | |
"user_id": 22, | |
"service_id": 30, | |
"service_price": 300, | |
"status": "active", | |
"created_at": "2022-11-20T02:09:55.000000Z", | |
"updated_at": "2022-11-20T02:09:55.000000Z", | |
"service": { | |
"id": 30, | |
"service_name": "Vital Sign Checkup", | |
"service_category_id": 1, | |
"service_type": "short", | |
"price": 300, | |
"description": "Your blood pressure, Saturation, Temperature & Pulse will be measured by service provider. Necessary equipment will be carried out by service provider.", | |
"service_image": "service1649646352.png", | |
"service_image_thumbnail": "storage/uploads/service/service1649646352_thumb.png", | |
"image_path": "storage/uploads/service/service1649646352.png", | |
"sorting": 1, | |
"status": 1, | |
"created_at": "2022-04-11T09:05:52.000000Z", | |
"updated_at": "2022-11-05T23:16:08.000000Z" | |
} | |
}, | |
{ | |
"id": 122, | |
"user_id": 22, | |
"service_id": 24, | |
"service_price": 300, | |
"status": "active", | |
"created_at": "2022-11-20T02:10:19.000000Z", | |
"updated_at": "2022-11-20T02:10:19.000000Z", | |
"service": { | |
"id": 24, | |
"service_name": "Cannula", | |
"service_category_id": 3, | |
"service_type": "short", | |
"price": 300, | |
"description": "Cannula usually needs for pushing injection for a long period or saline. Our health professional will provide the service only. You should bear the cost of necessary equipment.", | |
"service_image": "service1649134369.png", | |
"service_image_thumbnail": "storage/uploads/service/service1649134369_thumb.png", | |
"image_path": "storage/uploads/service/service1649134369.png", | |
"sorting": 3, | |
"status": 1, | |
"created_at": "2022-04-05T10:52:50.000000Z", | |
"updated_at": "2022-11-09T00:14:38.000000Z" | |
} | |
}, | |
{ | |
"id": 123, | |
"user_id": 22, | |
"service_id": 28, | |
"service_price": 500, | |
"status": "active", | |
"created_at": "2022-11-20T02:10:25.000000Z", | |
"updated_at": "2022-11-20T02:10:25.000000Z", | |
"service": { | |
"id": 28, | |
"service_name": "Cannula for Child", | |
"service_category_id": 3, | |
"service_type": "short", | |
"price": 500, | |
"description": "It is needed when you have to inject multiple injection or saline. Necessary equipment should be provided by you.", | |
"service_image": "service1649646146.png", | |
"service_image_thumbnail": "storage/uploads/service/service1649646146_thumb.png", | |
"image_path": "storage/uploads/service/service1649646146.png", | |
"sorting": 4, | |
"status": 1, | |
"created_at": "2022-04-11T09:02:26.000000Z", | |
"updated_at": "2022-11-09T00:14:53.000000Z" | |
} | |
}, | |
{ | |
"id": 126, | |
"user_id": 22, | |
"service_id": 33, | |
"service_price": 300, | |
"status": "active", | |
"created_at": "2022-11-20T02:10:35.000000Z", | |
"updated_at": "2022-11-20T02:10:35.000000Z", | |
"service": { | |
"id": 33, | |
"service_name": "Deep Muscle Injection", | |
"service_category_id": 3, | |
"service_type": "short", | |
"price": 300, | |
"description": "This type of injections pushed in to deep muscle of body. Necessary medicine & equipment should be provided by you.", | |
"service_image": "service1649646847.jpg", | |
"service_image_thumbnail": "storage/uploads/service/service1649646847_thumb.jpg", | |
"image_path": "storage/uploads/service/service1649646847.jpg", | |
"sorting": 9, | |
"status": 1, | |
"created_at": "2022-04-11T09:14:07.000000Z", | |
"updated_at": "2022-11-09T00:16:39.000000Z" | |
} | |
} | |
], | |
"user_address": [], | |
"user_academic_infos": [ | |
{ | |
"id": 2, | |
"user_id": 22, | |
"institute": "Daffodil International University", | |
"major": "Computer Sceince", | |
"passing_year": "2021", | |
"cgpa_grade": "4.4", | |
"created_at": "2022-03-15T00:57:52.000000Z", | |
"updated_at": "2022-07-23T14:48:53.000000Z" | |
} | |
], | |
"save_addresses": [ | |
{ | |
"id": 1, | |
"user_id": 22, | |
"beneficiary_name": "Arif", | |
"district": "Basail, Ghatail, Tangail", | |
"city": "dhaka", | |
"postcode": "1020", | |
"lon": "24.98", | |
"lat": "23.49", | |
"created_at": "2022-06-28T01:35:34.000000Z", | |
"updated_at": "2022-06-28T01:35:34.000000Z" | |
} | |
], | |
"profession_data": [ | |
{ | |
"id": 3, | |
"user_id": 22, | |
"license_no": "123458484", | |
"year_of_experience": "5", | |
"past_experience": null, | |
"other_speciality": "Doctor", | |
"personal_commitment": "100%", | |
"created_at": "2022-03-15T00:05:37.000000Z", | |
"updated_at": "2022-03-15T00:05:37.000000Z" | |
} | |
], | |
"language_proficiency": [], | |
"user_other_info": [], | |
"user_documents": [ | |
{ | |
"id": 107, | |
"title": "Khan", | |
"user_id": 22, | |
"file": "storage/uploads/user_document/user_doc_22_1668105760-Screenshot_20221110-191727.png", | |
"extension": "png", | |
"created_at": "2022-11-11T00:42:40.000000Z", | |
"updated_at": "2022-11-11T00:42:40.000000Z" | |
}, | |
{ | |
"id": 108, | |
"title": "Pdf", | |
"user_id": 22, | |
"file": "storage/uploads/user_document/user_doc_22_1668106163-1595555137248.jpg", | |
"extension": "jpg", | |
"created_at": "2022-11-11T00:49:23.000000Z", | |
"updated_at": "2022-11-11T00:49:23.000000Z" | |
}, | |
{ | |
"id": 110, | |
"title": "img", | |
"user_id": 22, | |
"file": "storage/uploads/user_document/user_doc_22_1668108151-1595555136148.jpg", | |
"extension": "jpg", | |
"created_at": "2022-11-11T01:22:31.000000Z", | |
"updated_at": "2022-11-11T01:22:31.000000Z" | |
} | |
] | |
}, | |
{ | |
"id": 151, | |
"full_name": "dr.Shah alam", | |
"email": null, | |
"phone": "01916198804", | |
"gender": "Male", | |
"role_id": 3, | |
"user_slug": "drshah-alam97111", | |
"profile_photo": "https://takecare.ltd/storage/uploads/user_file/service16683460256370f0a977b35.jpg", | |
"speciality_id": 20, | |
"expertise_id": null, | |
"wight": null, | |
"height": null, | |
"longitude": "0.0", | |
"latitude": "0.0", | |
"email_verified_at": null, | |
"otp_verified": 1, | |
"documents_verified": 1, | |
"status": 1, | |
"force_inactive": 1, | |
"last_login": null, | |
"available": 1, | |
"fcm_token": "cvGe2n_ZSQKr7AhUyGwpH3:APA91bHzm5QGMITQKU0jitgInXJClZZ5GhopQgD0hcMmGS-3ONojvopv2oJ5cKXCzezrW1vME0naq1fo8hN7qVY-ZxlvdrIeReUHQv7AvbQmEa7KL681bzVfOqQM0poi3OX0IEqCFh-k", | |
"signature_otp": "ccdLkaTM1ev", | |
"firebase_token": null, | |
"created_at": "2022-11-13T19:27:05.000000Z", | |
"updated_at": "2022-11-13T19:27:13.000000Z", | |
"provider_number_of_given_service_count": 0, | |
"provider_service_total_price": 0, | |
"provider_rating": 0, | |
"speciality": { | |
"id": 20, | |
"speciality_name": "Physiotherapist", | |
"expertise_id": 2, | |
"description": null, | |
"status": 1, | |
"created_at": "2022-09-14T02:13:14.000000Z", | |
"updated_at": "2022-09-14T02:13:14.000000Z" | |
}, | |
"user_services": [], | |
"user_address": [], | |
"user_academic_infos": [ | |
{ | |
"id": 8, | |
"user_id": 151, | |
"institute": "SAIC INSTITUTE OF MEDICAL Technology", | |
"major": "B.Sc in Physiotheray", | |
"passing_year": "2017", | |
"cgpa_grade": "Pass", | |
"created_at": "2022-11-13T19:39:48.000000Z", | |
"updated_at": "2022-11-13T19:39:48.000000Z" | |
} | |
], | |
"save_addresses": [], | |
"profession_data": [], | |
"language_proficiency": [], | |
"user_other_info": [], | |
"user_documents": [] | |
} | |
], | |
"first_page_url": "https://takecare.test:8443/api/v1/user/providers-by-status?page=1", | |
"from": 1, | |
"last_page": 1, | |
"last_page_url": "https://takecare.test:8443/api/v1/user/providers-by-status?page=1", | |
"links": [ | |
{ | |
"url": null, | |
"label": "« Previous", | |
"active": false | |
}, | |
{ | |
"url": "https://takecare.test:8443/api/v1/user/providers-by-status?page=1", | |
"label": "1", | |
"active": true | |
}, | |
{ | |
"url": null, | |
"label": "Next »", | |
"active": false | |
} | |
], | |
"next_page_url": null, | |
"path": "https://takecare.test:8443/api/v1/user/providers-by-status", | |
"per_page": 20, | |
"prev_page_url": null, | |
"to": 4, | |
"total": 4 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment