Update benchmark rates
Finance
PUT benchmark
Endpoint
PUT /api/v1/finance/benchmark
Parameters
Name | Description |
---|---|
benchmark required | Benchmark .xlsx file |
Request
Route
PUT /api/v1/finance/benchmark
Headers
Accept: application/json
Content-Type: multipart/form-data; boundary=----------XnJLe9ZIbbGUYtzPQJ16u1
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIzODMiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NDI0NjQ5MTQsImV4cCI6MTc0NTA1NjkxNCwianRpIjoiZmY2ZGQ1MjItMzZjNS00NGYyLTkwOGYtZWY1MWQxNzcwMTY3In0.M16X5KOEK_bh-NTcQ5GoIe7F9P3k-Oi6EG9-cAGhTOY
Host: example.org
Cookie:
Body
------------XnJLe9ZIbbGUYtzPQJ16u1
content-disposition: form-data; name="benchmark"; filename="test_benchmark.xlsx"
content-type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
content-length: 7702
[uploaded data]
------------XnJLe9ZIbbGUYtzPQJ16u1--
Response
Simulated Response
Status
200
Headers
x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"425b5ede5ba3d3bf117a75ec0e9d4534"
cache-control: max-age=0, private, must-revalidate
x-request-id: 6dce8ff1-7eb6-4ba1-bd09-466ebba472c5
x-runtime: 0.048919
content-length: 45
Body
{
"message": "Benchmarks updated successfully"
}