{ "opencollection": "1.0.0", "info": { "name": "Unified.to account deduction API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "authorization", "value": "{{authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "deduction", "type": "folder" }, "items": [ { "info": { "name": "List All Deductions", "type": "http" }, "http": { "method": "GET", "url": "https://api.unified.to/hris/:connection_id/deduction", "params": [ { "name": "limit", "value": "", "type": "query" }, { "name": "offset", "value": "", "type": "query" }, { "name": "updated_gte", "value": "", "type": "query", "description": "Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)" }, { "name": "sort", "value": "", "type": "query" }, { "name": "order", "value": "", "type": "query" }, { "name": "query", "value": "", "type": "query", "description": "Query string to search. eg. email address or name" }, { "name": "user_id", "value": "", "type": "query", "description": "The user/employee ID to filter by (reference to HrisEmployee)" }, { "name": "company_id", "value": "", "type": "query", "description": "The company ID to filter by (reference to HrisCompany)" }, { "name": "payslip_id", "value": "", "type": "query", "description": "The payslip ID to filter by" }, { "name": "benefit_id", "value": "", "type": "query", "description": "The benefit ID to filter by" }, { "name": "start_gte", "value": "", "type": "query", "description": "The start date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)" }, { "name": "end_lt", "value": "", "type": "query", "description": "The end date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)" }, { "name": "fields", "value": "", "type": "query", "description": "Fields to return" }, { "name": "raw", "value": "", "type": "query", "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar" }, { "name": "connection_id", "value": "", "type": "path", "description": "ID of the connection" } ], "auth": { "type": "apikey", "key": "authorization", "value": "{{authorization}}", "placement": "header" } }, "docs": "List All Deductions" }, { "info": { "name": "Create a Deduction", "type": "http" }, "http": { "method": "POST", "url": "https://api.unified.to/hris/:connection_id/deduction", "params": [ { "name": "fields", "value": "", "type": "query", "description": "Fields to return" }, { "name": "raw", "value": "", "type": "query", "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar" }, { "name": "connection_id", "value": "", "type": "path", "description": "ID of the connection" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "authorization", "value": "{{authorization}}", "placement": "header" } }, "docs": "Create a Deduction" }, { "info": { "name": "Retrieve a Deduction", "type": "http" }, "http": { "method": "GET", "url": "https://api.unified.to/hris/:connection_id/deduction/:id", "params": [ { "name": "fields", "value": "", "type": "query", "description": "Fields to return" }, { "name": "raw", "value": "", "type": "query", "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar" }, { "name": "connection_id", "value": "", "type": "path", "description": "ID of the connection" }, { "name": "id", "value": "", "type": "path", "description": "ID of the Deduction" } ], "auth": { "type": "apikey", "key": "authorization", "value": "{{authorization}}", "placement": "header" } }, "docs": "Retrieve a Deduction" }, { "info": { "name": "Update a Deduction", "type": "http" }, "http": { "method": "PUT", "url": "https://api.unified.to/hris/:connection_id/deduction/:id", "params": [ { "name": "fields", "value": "", "type": "query", "description": "Fields to return" }, { "name": "raw", "value": "", "type": "query", "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar" }, { "name": "connection_id", "value": "", "type": "path", "description": "ID of the connection" }, { "name": "id", "value": "", "type": "path", "description": "ID of the Deduction" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "authorization", "value": "{{authorization}}", "placement": "header" } }, "docs": "Update a Deduction" }, { "info": { "name": "Update a Deduction", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.unified.to/hris/:connection_id/deduction/:id", "params": [ { "name": "fields", "value": "", "type": "query", "description": "Fields to return" }, { "name": "raw", "value": "", "type": "query", "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar" }, { "name": "connection_id", "value": "", "type": "path", "description": "ID of the connection" }, { "name": "id", "value": "", "type": "path", "description": "ID of the Deduction" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "authorization", "value": "{{authorization}}", "placement": "header" } }, "docs": "Update a Deduction" }, { "info": { "name": "Remove a Deduction", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.unified.to/hris/:connection_id/deduction/:id", "params": [ { "name": "connection_id", "value": "", "type": "path", "description": "ID of the connection" }, { "name": "id", "value": "", "type": "path", "description": "ID of the Deduction" } ], "auth": { "type": "apikey", "key": "authorization", "value": "{{authorization}}", "placement": "header" } }, "docs": "Remove a Deduction" } ] } ], "bundled": true }