Skip to content

Hourly staff costs

Returns list of hourly store, department and employee level hourly salary data in the system. Returned data can be limited with start and end query parameters.

Download staff costs as JSON

Request

GET https://api.zoined.com/v2/download/staffCosts.json?limit=1000&offset=0&start=2024-01-01&end=2024-01-31

Security
bearerAuth
Query
limitnumber

How many entries to return

Example:limit=1000
offsetnumber

Which offset to return data from

Example:offset=0
startstring

Return data starting from given date

Example:start=2024-01-01
endstring

Return data ending to given date

Example:end=2024-01-31
curl -i -X GET \
  'https://zapi-api.zoined.com/_mock/v2/download/staffCosts.json?limit=1000&offset=0&start=2024-01-01&end=2024-01-31' \
  -H 'Authorization: Bearer <YOUR_token_HERE>'

Responses

Request has been processed successfully.

Headers

  • Content-Type: application/json
Bodyapplication/json
organisation_idstringrequired

Organisation / Store ID

Example:"540"
department_idstring

Store department ID

Example:"54021"
salesperson_idstring

Sales person ID

Example:"5402101"
start_datestringrequired

Start date of entry (yyyy-mm-dd)

Example:"2024-01-01"
staff_costnumberrequired

Hourly salary cost

Example:15
currencystring

Currency for the purchase price as ISO 4217 currency code. Required if multiple currencies are used.

Example:"EUR"
Response
{ "organisation_id": "540", "department_id": "54021", "salesperson_id": "5402101", "start_date": "2024-01-01", "staff_cost": 15, "currency": "EUR" }