Skip to content

Get payroll calculation details of a team member

Request

The method allows location owner to get details of a specific payroll calculation.

Security
BearerPartnerUser
Path
location_idnumberrequired

ID of a location.

Example:123
team_member_idintegerrequired

ID of a team member.

Example:123
calculation_idnumberrequired

ID of a salary calculation.

Example:789
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/payroll/team_members/123/calculation/789 \
  -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(Salary calculation object with details)
Example:
{ "id": 123, "company_id": 456, "staff_id": 789, "amount": 1000, "status": "confirmed", "date_create": "2026-03-03", "date_from": "2026-03-01", "date_to": "2026-03-02", "comment": "Calculation per day" }
metaArray of any or object(Empty meta object)

Additional response data (empty object or empty array)

Example:
{}
Response
{ "success": true, "data": { "id": 123, "company_id": 456, "staff_id": 789, "amount": 1000, "status": "confirmed", "date_create": "2026-03-03", "date_from": "2026-03-01", "date_to": "2026-03-02", "comment": "Calculation per day", "salary_items": [ … ], "currency": { … } }, "meta": [] }