Skip to content

Get Payroll for a Specific Team Member for a Given Period

Request

The method allows you to get the calculation for the period for a specific team member. In the user's access rights, the checkbox "Access to payroll only for a specific team member" must be checked.

Security
BearerPartnerUser
Path
location_idnumberrequired

ID of a location.

Example:123
team_member_idintegerrequired

ID of a team member.

Example:123
Query
date_fromstringrequired

Start from date.

Example:date_from=2026-03-01
date_tostringrequired

End to date.

Example:date_to=2026-03-31
Headers
Acceptstringrequired

Required B2B v2 response media type. Use application/vnd.api.v2+json. A charset parameter is also accepted.

Default:"application/vnd.api.v2+json"
Example:application/vnd.api.v2+json
Content-Typestringrequired

Should be equal to application/json

Example:application/json
curl -i -X GET \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/locations/123/salary/team_members/123/period?date_from=2026-03-01&date_to=2026-03-31' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: application/json'

Responses

OK

Bodyapplication/json
successboolean(Successful response status)

Response status.

Example:true
dataobject(Payroll for a period for a team member)

Payroll for a period for a specific team member.

metaArray of any or object(Empty meta object)

Additional response data (empty object or empty array)

Example:
{}
Response
{ "success": true, "data": { "working_days_count": 32, "working_hours_count": 353, "group_services_count": 3, "services_count": 0, "services_sum": 0, "goods_sales_count": 0, "goods_sales_sum": 0, "total_sum": 0, "salary": 70600, "currency": { … } }, "meta": [] }