Collaborator
Get a collaborator π
Changed onReturns the collaborator by ID.
Required scopes: collaborators:read
get/companies/{companyId}/collaborators/{collaboratorId}
Request
- Base URLhttps://partner-api.payfit.com
- AuthOAuth 2Authorization codehttps://oauth.payfit.com/authorizeToken URLhttps://oauth.payfit.com/tokenScopescollaborators:read
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
companyIdstring required
The id of the company
collaboratorIdstring uuid required
The id of collaborator to fetch
Response
The collaborator with the given ID.
Example response
{
"birthDate": "2000-03-25",
"terminationDate": "2022-03-25",
"contracts": [
{
"startDate": "2022-03-25",
"endDate": "2022-08-25"
}
]
}Changes
- breaking
for the
pathrequest parametercollaboratorId, the format changed from no format touuid
- breaking