v1

latestOpenAPI 3.1.02026-08-06236494759.4 KB
Business Trips

Update BusinessTrip Expense Allocation

Endpoint to update allocation of expenses associated to a BusinessTrip.

put/business/v2/business-trips/{businessTripId}/expense-allocation

Path parameters

businessTripIdstring required

The BusinessTrip ID.

Example:7bf79328-a7ae-4222-aa54-091ff7f429a7

Headers

X-Soldo-Fingerprintstring required

Advanced authentication: SHA512SUM of the fingerprint values listed in the fingerprint order for this endpoint.

Example:{{fingerprint}}
X-Soldo-Fingerprint-Signaturestring required

Advanced authentication: Signature of the X-Soldo-Fingerprint.

Example:{{fingerprint_signature}}

Request body

request_timestampinteger

The epoch timestamp in millis. This is checked in Soldo. Requests with timestamp older than 5 seconds will be rejected.

Example request

{
  "request_timestamp": 1576850500000,
  "expense_allocation": [
    {
      "expense_category_id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
      "amount": 10.25,
      "description": "CUSTOM_EXPENSE"
    }
  ]
}

Response

No content as result.