v1
latestOpenAPI 3.0.02026-07-14800227.2 KBReturn a list of salaries.
This endpoint returns a paginated list of employment salaries. The URL params help to return more accurate results.
Query parameters
Optional filter. This field allows you to retrieve contracts based on their _userId. It can accept two formats:<br><br> 1. A single _userId as a unique string. <br>Example: _userId=80a2db290da29e126a18789c <br><br> 2. Multiple _userId values separated by commas (up to a maximum of 15 values). <br>Example: _userId=80a2db290da29e126a18789c,80a2db290da29e126a18789b,80a2db290da29e126a187891. These options provide flexibility in filtering contracts by their type, making it easier to retrieve the specific data you need.
Optional filter. This field allows you to retrieve contracts based on their _companyId. It can accept two formats:<br><br> 1. A single _companyId as a unique string. <br>Example: _companyId=80a2db290da29e126a18789c <br><br> 2. Multiple _companyId values separated by commas (up to a maximum of 15 values). <br>Example: _companyId=80a2db290da29e126a18789c,80a2db290da29e126a18789b,80a2db290da29e126a187891. These options provide flexibility in filtering contracts by their type, making it easier to retrieve the specific data you need.
Optional filter. This field allows you to retrieve contracts based on their paymentPeriod. Accepted values: 'Annual', 'Monthly' and 'Hourly'. It can accept two formats:<br><br> 1. A single paymentPeriod as a unique string. <br>Example: paymentPeriod=Annual <br><br> 2. Multiple paymentPeriod values separated by commas (up to a maximum of 15 values). <br>Example: paymentPeriod=Annual,Monthly. These options provide flexibility in filtering contracts by their type, making it easier to retrieve the specific data you need.
Optional filter. This field allows you to retrieve contracts based on their currency (ISO 4217). It can accept two formats:<br><br> 1. A single currency as a unique string. <br>Example: currency=EUR <br><br> 2. Multiple currency values separated by commas (up to a maximum of 15 values). <br>Example: currency=EUR,USD. These options provide flexibility in filtering contracts by their type, making it easier to retrieve the specific data you need.
Optional filter for pagination proposals. Determines the number of pages to skip when pagination is being used. If this value is not provided, by default the offset will be 1.
Optional filter for pagination proposals. The maximum number of rows to retrieve which determines the size of the page. If this value is not provided then the limit will be 50 users. The maximum value of the limit is 100 users per page. Only are valid the following limit values: 25, 50 and 100.
Headers
A valid bearer token.
Response
OK.
Example response
{
"data": [
{
"_id": "60a2db290da29e126a18789a",
"_userId": "80a2db290da29e126a18789b",
"_companyId": "80a2db290da29e126a187809",
"startDate": "2014-01-01T00:00:00",
"endDate": "2024-05-10T00:00:00",
"amount": 30000,
"paymentPeriod": "Annual",
"current": "EUR",
"contractTypeId": "80a2db290da29e126a187878"
},
{
"_id": "60a2db290da29e126a18789b",
"_userId": "80a2db290da29e126a187891",
"_companyId": "80a2db290da29e126a187809",
"startDate": "2010-01-10T00:00:00",
"amount": 4000,
"paymentPeriod": "Monthly",
"current": "USD",
"contractTypeId": "80a2db290da29e126a18787a"
}
],
"metadata": {
"count": 2,
"offset": 1,
"limit": 50,
"total": 2
}
}