---
title: "Updates the given expense report row"
method: PUT
path: "/v1/resourceowner/expensereportrow/{expenseReportRowId}"
tags: ["ResourceOwnerExpenseReportRowV2"]
---

# Updates the given expense report row

`PUT /v1/resourceowner/expensereportrow/{expenseReportRowId}`

This will update the given expense report row id with a new model.

## Path parameters

- `expenseReportRowId` integer, required

## Request body

- ExpenseReportRowEditModel
  - `AmountInCurrency` number, double
  - `VATInCurrency` number, double
  - `ISO4217CurrencyCode` string
  - `Notes` string
  - `ExpenseReportRowDateUtc` string, date-time
  - `Category` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10
  - `CustomCategory` string
  - `ExpenseReportRowContent` ExpenseReportRowContentUpdateEditModel[]
    - `ExpenseReportRowContentId` integer
    - `ExpenseReportRowId` integer
    - `Data` string
    - `ContentType` 0 | 1 | 2 | 3 | 4
  - `CategoryValue` number, double
  - `Merchant` string

## Response `200`

The expense report row was saved

## Other responses

- `400` — Bad request, could occur for a number of cases, see returned message
- `403` — Request is forbidden, could occur for a number of reasons, see returned message
- `404` — Not found, the expense report row you tried to update can't be found
- `500` — Internal server error

---

[API](https://skmtc.net/automile/apis/automile-api.md) · [All operations](https://skmtc.net/automile/apis/automile-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/automile/automile-api/revisions/bd42075f6b02/schema)
