POST v1/admin/survey/detail-report
Request Information
URI Parameters
None.
Body Parameters
UserSurveyDetailReportRequestModelName | Description | Type | Additional information |
---|---|---|---|
company_uid | string |
Required |
|
start_date | date |
None. |
|
end_date | date |
None. |
|
type | integer |
Required |
|
survey_id | integer |
None. |
|
user_company_id |
Company UID of the active user |
string |
Required Data type: Text |
user_id |
User ID (GUID) |
string |
Required Data type: Text |
user_signature |
MD5 hash signature for the active user to validate the request |
string |
Required Data type: Text |
Request Format
application/json, text/json
Sample:
{ "company_uid": "sample string 1", "start_date": "2024-11-25T11:34:15.2999594+03:00", "end_date": "2024-11-25T11:34:15.2999594+03:00", "type": 2, "survey_id": 1, "user_company_id": "sample string 3", "user_id": "sample string 4", "user_signature": "sample string 5" }
Response Information
Resource Description
BaseMetaResultModelOfUserSurveyDetailReportResponseModel[]Name | Description | Type | Additional information |
---|---|---|---|
response | Collection of UserSurveyDetailReportResponseModel |
None. |
|
meta |
Basic meta information for the operation result |
MetaModel |
None. |
Response Format
application/json, text/json
Sample:
{ "response": [ { "user_uid": "sample string 1", "company_name": "sample string 2", "company_user_name": "sample string 3", "create_date": "2024-11-25T11:34:15.3029591+03:00", "user_first_name": "sample string 4", "user_has_app": 5, "user_vehicle_licence_plate": "sample string 6", "is_company_driver": true, "is_reliable_driver": true, "user_last_location_time": "2024-11-25T11:34:15.3029591+03:00", "user_answers": [ { "survey_title": "sample string 1", "answer": "sample string 2" }, { "survey_title": "sample string 1", "answer": "sample string 2" } ] }, { "user_uid": "sample string 1", "company_name": "sample string 2", "company_user_name": "sample string 3", "create_date": "2024-11-25T11:34:15.3029591+03:00", "user_first_name": "sample string 4", "user_has_app": 5, "user_vehicle_licence_plate": "sample string 6", "is_company_driver": true, "is_reliable_driver": true, "user_last_location_time": "2024-11-25T11:34:15.3029591+03:00", "user_answers": [ { "survey_title": "sample string 1", "answer": "sample string 2" }, { "survey_title": "sample string 1", "answer": "sample string 2" } ] } ], "meta": { "status_code": 1, "status_message": "sample string 2" } }