Payroll
Download payroll report
Changed oncurl request example
curl --location --request GET 'https://hurma.work/api/v1/payroll/report/file/{id}'
--header 'token: 886308a96833251c04ee18fff519a7aa15073256d6a5460587bd892e40e58c53d0dcab74cdde736'
--header 'personal-token: 886308a96833251c04ee18fff519a7aa15073256d6a5460587bd892e40e58c53d0dcab74cdde736'
--form 'id='7''
get/payroll/report/file/{id}
Request
- Base URLhttps://hurma.work/api/v1
- Authnone declared. Required headers: token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Report id
Headers
tokenstring required
Api token
Response
ОК
Example response
{
"result": {
"id": 1,
"name": "Report",
"content": "data:text/csv;base64...",
"start_period": "d-m-Y",
"end_period": "d-m-Y",
"created_at": "d-m-Y"
},
"code": 200
}Changes
- info
api operation id
1a5bdb18670d0f69c1904e891cd3e846was added
- info