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.eyJzdWIiOiIzOTIiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NjM2MjYzNzAsImV4cCI6MTc2NjIxODM3MCwianRpIjoiYmIxNjdmZWMtMjE3OC00NjllLWFmYzEtMGU3YjEyYTg3NjExIn0.nAg9uel0EJ59gjKfXWFL5izEPlhVXZjURZwKZ2c9Kgc
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: bcae89a8-b841-42ee-8947-fc20eb0764f5
x-runtime: 0.046647
content-length: 45

Body

{
  "message": "Benchmarks updated successfully"
}