Upload user data by form inputs
User uploads data manually by form inputs
Endpoint: /api/myDataMode/createUserDataAssert
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
|
| data_name | string |
Body | Yes |
my_test_file.csv
|
| data_year | string |
Body | Yes |
2020
|
| data_assert | array |
Body | Yes |
[
["Postcode","Air Quality","Borough Air Quality"],
["BR11AE","1.2","2.1"],
["BR11HF","3.1","1.3"],
["BR11AA","1.5","5.1"]
]
|
| description | string |
Body | Yes |
This is description
|
Success Response
{
"message": "Assert Data created..."
}