curl --request GET \
--url https://{host}/remuneration/api/variable-items/{id} \
--header 'Authorization: <authorization>'
{
"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
}
Retrieve a single variable item by id.
curl --request GET \
--url https://{host}/remuneration/api/variable-items/{id} \
--header 'Authorization: <authorization>'
{
"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
}
API key. Value must be formatted like so: lucca application={api_key}
.
Unique id of the variable item.
OK
The response is of type object
.
Was this page helpful?