{ "opencollection": "1.0.0", "info": { "name": "Apideck Accounting Activities Time Off Requests API", "version": "10.24.12" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Time Off Requests", "type": "folder" }, "items": [ { "info": { "name": "Apideck List Time Off Requests", "type": "http" }, "http": { "method": "GET", "url": "https://unify.apideck.com/hris/time-off-requests", "headers": [ { "name": "x-apideck-consumer-id", "value": "test-consumer" }, { "name": "x-apideck-app-id", "value": "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" }, { "name": "x-apideck-service-id", "value": "salesforce" } ], "params": [ { "name": "raw", "value": "", "type": "query", "description": "Include raw response. Mostly used for debugging purposes" }, { "name": "cursor", "value": "", "type": "query", "description": "Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response." }, { "name": "limit", "value": "", "type": "query", "description": "Number of results to return. Minimum 1, Maximum 200, Default 20" }, { "name": "filter", "value": "", "type": "query", "description": "Apply filters" }, { "name": "pass_through", "value": "", "type": "query", "description": "Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads" }, { "name": "fields", "value": "id,updated_at", "type": "query", "description": "The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded." } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "List Time Off Requests" }, { "info": { "name": "Apideck Create Time Off Request", "type": "http" }, "http": { "method": "POST", "url": "https://unify.apideck.com/hris/time-off-requests", "headers": [ { "name": "x-apideck-consumer-id", "value": "test-consumer" }, { "name": "x-apideck-app-id", "value": "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" }, { "name": "x-apideck-service-id", "value": "salesforce" } ], "params": [ { "name": "raw", "value": "", "type": "query", "description": "Include raw response. Mostly used for debugging purposes" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Create Time Off Request" }, { "info": { "name": "Apideck Get Time Off Request", "type": "http" }, "http": { "method": "GET", "url": "https://unify.apideck.com/hris/time-off-requests/employees/:employee_id/time-off-requests/:id", "headers": [ { "name": "x-apideck-consumer-id", "value": "test-consumer" }, { "name": "x-apideck-app-id", "value": "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" }, { "name": "x-apideck-service-id", "value": "salesforce" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the record you are acting upon." }, { "name": "raw", "value": "", "type": "query", "description": "Include raw response. Mostly used for debugging purposes" }, { "name": "fields", "value": "id,updated_at", "type": "query", "description": "The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded." }, { "name": "employee_id", "value": "", "type": "path", "description": "ID of the employee you are acting upon." } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Get Time Off Request" }, { "info": { "name": "Apideck Update Time Off Request", "type": "http" }, "http": { "method": "PATCH", "url": "https://unify.apideck.com/hris/time-off-requests/employees/:employee_id/time-off-requests/:id", "headers": [ { "name": "x-apideck-consumer-id", "value": "test-consumer" }, { "name": "x-apideck-app-id", "value": "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" }, { "name": "x-apideck-service-id", "value": "salesforce" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the record you are acting upon." }, { "name": "raw", "value": "", "type": "query", "description": "Include raw response. Mostly used for debugging purposes" }, { "name": "employee_id", "value": "", "type": "path", "description": "ID of the employee you are acting upon." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Update Time Off Request" }, { "info": { "name": "Apideck Delete Time Off Request", "type": "http" }, "http": { "method": "DELETE", "url": "https://unify.apideck.com/hris/time-off-requests/employees/:employee_id/time-off-requests/:id", "headers": [ { "name": "x-apideck-consumer-id", "value": "test-consumer" }, { "name": "x-apideck-app-id", "value": "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" }, { "name": "x-apideck-service-id", "value": "salesforce" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the record you are acting upon." }, { "name": "raw", "value": "", "type": "query", "description": "Include raw response. Mostly used for debugging purposes" }, { "name": "employee_id", "value": "", "type": "path", "description": "ID of the employee you are acting upon." } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Delete Time Off Request" } ] } ], "bundled": true }