Users:v1:Payslips

Upload a payslip

Upload a payslip for a user for a specified period. The payslip attachment must be uploaded first via the attachments endpoint.

post/users/v1/users/{userId}/payslips

Request

  • Base URL
    https://api.connecteam.com
  • URL
    https://api.connecteam.com/users/v1/users/{userId}/payslips
  • Auth
    • API key in header X-API-KEY
    • or OAuth 2
      Client credentials
      Token URL: /oauth/v1/token scopes: users.write

Path parameters

userIdinteger required

The unique identifier of the user

Request body

fileIdstring required

The unique identifier of the payslip attachment

startDatestring required

The start date for the payslip in ISO 8601 format (YYYY-MM-DD)

endDatestring required

The end date for the payslip in ISO 8601 format (YYYY-MM-DD)

Response

Successful Response

requestIdstring

Changes

No recorded changes to this operation across all 2 revisions of this API.