WHT API
All requests require the user authentication token in the request header.
1. URL: http:// {{Host-Name}}/FileUpload/ImportFromExcel
2. Method: Post
{
“file”: “binary”,
” fileType “:” int”,
” fromDate “: “DateTime”,
” toDate “: “DateTime”,
“id”: “int”,
}
{
“result”: {},
“targetUrl”: null,
“success”: true,
“error”: null,
“unAuthorizedRequest”: false,
“__abp”: true
}
{
“result”: {},
“targetUrl”: null,
“success”: true,
“error”: null,
“unAuthorizedRequest”: false,
“__abp”: true
}
{
“result”: null,
“targetUrl”: null,
“success”: false,
“error”: {
“code”: 0,
“message”: “Current user did not login to the application!”,
“details”: null,
“validationErrors”: null
},
“unAuthorizedRequest”: true,
“__abp”: true
}