GET
/
remuneration
/
api
/
variable-natures
curl --request GET \
  --url https://{account}-{sandboxName}.sandbox.{server}.luccasoftware.com/remuneration/api/variable-natures
{
  "items": [
    {
      "id": 123,
      "name": "Annual bonus",
      "type": "Amount",
      "category": {
        "id": 123,
        "code": "BONUS"
      },
      "establishments": [
        {
          "id": 123,
          "name": "Lucca FR",
          "currencyCode": "EUR",
          "currencySymbol": "€"
        }
      ]
    }
  ],
  "next": "<string>",
  "prev": "<string>",
  "count": 123
}

Query Parameters

establishmentIds
integer[]

Only return variable natures linked to the specified establishments.

categoryIds
integer[]

Only return variable natures linked to the specified categories.

limit
integer
default:
10
page

Two strategy might be used:

  • Continuation token paging
  • Offset limit paging
sort
any

This parameters syntax is consistent among every Lucca application, and its BNF grammar is defined as follow.

<sort>                  ::= '-|+'? <property> ( ',' <property> )*
<property>              ::= <strictString> ( '.' <strictString> )*
<strictString>          ::= ( <char> | <digit> | '_' | '-' )+
fields.root
enum<string>[]

Properties that make sense on the collection level

Available options:
next,
prev,
count

Response

200
application/json
OK
items
object[]
next
string | null
prev
string | null
count
integer | null