PUT
/
remuneration
/
api
/
variable-items
/
{id}
curl --request PUT \
  --url https://{host}/remuneration/api/variable-items/{id} \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "amount": 123,
  "natureId": 123,
  "workContractId": 123,
  "amendmentId": 0,
  "comments": "For outstanding performance this quarter",
  "period": "2023-12-25"
}'
{
  "amount": 123,
  "natureId": 123,
  "workContractId": 123,
  "amendmentId": 0,
  "comments": "For outstanding performance this quarter",
  "period": "2023-12-25",
  "id": 123,
  "nature": {
    "id": 123,
    "name": "Annual bonus",
    "type": "Amount",
    "category": {
      "id": 123,
      "code": "BONUS"
    },
    "establishments": [
      {
        "id": 123,
        "name": "Lucca FR",
        "currencyCode": "EUR",
        "currencySymbol": "€"
      }
    ]
  },
  "workContract": {
    "workContractId": 123,
    "amendmentId": 123,
    "ownerId": 123,
    "owner": {
      "id": 123,
      "firstName": "<string>",
      "lastName": "<string>",
      "name": "<string>",
      "displayName": "<string>"
    },
    "startsOn": "2023-12-25",
    "endsOn": "2023-12-25"
  },
  "isDeleted": true
}

Headers

Authorization
string
required

API key. Value must be formatted like so: lucca application={api_key}.

Path Parameters

id
integer
required

Unique id of the variable item.

Body

application/json

The body is of type object.

Response

200
application/json

OK

The response is of type object.