{ "opencollection": "1.0.0", "info": { "name": "Nmbrs Public REST API (HR & Payroll) Absences API", "version": "1.0-modeled" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://identityservice.nmbrs.com/connect/authorize", "accessTokenUrl": "https://identityservice.nmbrs.com/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Absences", "type": "folder" }, "items": [ { "info": { "name": "List absences", "type": "http" }, "http": { "method": "GET", "url": "https://api.nmbrsapp.com/api/employees/:employeeId/absences", "params": [ { "name": "employeeId", "value": "", "type": "path", "description": "Unique identifier of the employee." } ] }, "docs": "Lists absence, leave, and sickness registrations for an employee." }, { "info": { "name": "Register an absence", "type": "http" }, "http": { "method": "POST", "url": "https://api.nmbrsapp.com/api/employees/:employeeId/absences", "params": [ { "name": "employeeId", "value": "", "type": "path", "description": "Unique identifier of the employee." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Registers a new absence (leave or sickness) for an employee." } ] } ], "bundled": true }