{ "opencollection": "1.0.0", "info": { "name": "SmartHR Business Establishments Employment Types API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Employment Types", "type": "folder" }, "items": [ { "info": { "name": "List employment types", "type": "http" }, "http": { "method": "GET", "url": "https://{tenant}.smarthr.jp/api/v1/employment_types", "params": [ { "name": "page", "value": "", "type": "query", "description": "Page number, starting at 1." }, { "name": "per_page", "value": "", "type": "query", "description": "Number of records per page (max 100)." } ] }, "docs": "Lists employment type master records for the tenant." }, { "info": { "name": "Create an employment type", "type": "http" }, "http": { "method": "POST", "url": "https://{tenant}.smarthr.jp/api/v1/employment_types", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new employment type." }, { "info": { "name": "Get an employment type", "type": "http" }, "http": { "method": "GET", "url": "https://{tenant}.smarthr.jp/api/v1/employment_types/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource." } ] }, "docs": "Retrieves a single employment type by ID." }, { "info": { "name": "Update an employment type", "type": "http" }, "http": { "method": "PATCH", "url": "https://{tenant}.smarthr.jp/api/v1/employment_types/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates an existing employment type." }, { "info": { "name": "Delete an employment type", "type": "http" }, "http": { "method": "DELETE", "url": "https://{tenant}.smarthr.jp/api/v1/employment_types/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource." } ] }, "docs": "Deletes an employment type." } ] } ], "bundled": true }