Upload user data by CSV file
User uploads data by CSV file uploads
Endpoint: /api/myDataMode/uploadCsvFile
Request
| Parameter | Type | Position | Required | Sample |
|---|---|---|---|---|
| Content-Type | string |
Header | Yes | application/json |
| Accept | string |
Header | Yes | application/json |
| Authorization | string |
Header | Yes | Bearer eyJ0eXAiOiJKV1QiLCJhbGci... |
| user_id | integer |
Body | Yes |
1
|
| file | file |
Body | Yes |
my_test_file.csv
|
| data_year | string |
Body | Yes |
2020
|
| description | string |
Body | Yes |
This is description
|
Success Response
{
"message": "File sent for upload...."
}