Finance

Update benchmark rates

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.eyJzdWIiOiIzODIiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NjA5NTA0NDAsImV4cCI6MTc2MzU0MjQ0MCwianRpIjoiNjlmNjZiZjMtMTZkYS00ODRlLWJhMzUtZWVkODcxYzVkZjFmIn0.F1vpP7Kb_8xp7pJ0jluiFFG9hT4twCJ60sAAiwinoao
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: 1cf66be8-3a83-441d-ac02-8c1df3b6de84
x-runtime: 0.044614
content-length: 45

Body

{
  "message": "Benchmarks updated successfully"
}