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.eyJzdWIiOiIzNjMiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3Mzc1NTE1NTksImV4cCI6MTc0MDE0MzU1OSwianRpIjoiOTVjZWVjMjItYzMwNS00YTE3LWI5MTctN2I2MGRiMjViNjk5In0.JOZ3Ptf27A7gM7hV2fg1gIwaIBP4C4fEM-C55Z6p6gg
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: e4f728fe-60aa-4ed7-9762-a9d23dfad661
x-runtime: 0.047848
content-length: 45
Body
{
"message": "Benchmarks updated successfully"
}