{
  "opencollection": "1.0.0",
  "info": {
    "name": "Oracle EBS e-Commerce Gateway Accounts Payable Employee Management API",
    "version": "12.2.0"
  },
  "items": [
    {
      "info": {
        "name": "Employee Management",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve Employee Records",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.oracle.com/webservices/rest/hr/employees",
            "params": [
              {
                "name": "personId",
                "value": "500123",
                "type": "query",
                "description": "Person identifier"
              },
              {
                "name": "employeeNumber",
                "value": "example_value",
                "type": "query",
                "description": "Employee number"
              },
              {
                "name": "fullName",
                "value": "example_value",
                "type": "query",
                "description": "Full name (supports wildcards)"
              },
              {
                "name": "businessGroupId",
                "value": "500123",
                "type": "query",
                "description": "Business group identifier"
              },
              {
                "name": "effectiveDate",
                "value": "2026-01-15",
                "type": "query",
                "description": "Effective date for date-tracked records (YYYY-MM-DD)"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of records to return"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Number of records to skip for pagination"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "accessToken",
              "value": "{{accessToken}}",
              "placement": "query"
            }
          },
          "docs": "Retrieves employee records from Oracle HRMS. Maps to the PER_ALL_PEOPLE_F and PER_ALL_ASSIGNMENTS_F tables through the HR_EMPLOYEE_API PL/SQL package."
        },
        {
          "info": {
            "name": "Create an Employee Record",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{instance}.oracle.com/webservices/rest/hr/employees",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "accessToken",
              "value": "{{accessToken}}",
              "placement": "query"
            }
          },
          "docs": "Creates a new employee record using the HR_EMPLOYEE_API.CREATE_EMPLOYEE PL/SQL procedure. This creates entries in PER_ALL_PEOPLE_F, PER_ALL_ASSIGNMENTS_F, and related tables."
        },
        {
          "info": {
            "name": "Retrieve an Employee by Person Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.oracle.com/webservices/rest/hr/employees/:personId",
            "params": [
              {
                "name": "personId",
                "value": "500123",
                "type": "path"
              },
              {
                "name": "effectiveDate",
                "value": "2026-01-15",
                "type": "query",
                "description": "Effective date for date-tracked records (YYYY-MM-DD)"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "accessToken",
              "value": "{{accessToken}}",
              "placement": "query"
            }
          },
          "docs": "Retrieves a specific employee record by person identifier."
        },
        {
          "info": {
            "name": "Update an Employee Record",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{instance}.oracle.com/webservices/rest/hr/employees/:personId",
            "params": [
              {
                "name": "personId",
                "value": "500123",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "accessToken",
              "value": "{{accessToken}}",
              "placement": "query"
            }
          },
          "docs": "Updates an existing employee record using the HR_PERSON_API.UPDATE_PERSON PL/SQL procedure with date-track support."
        },
        {
          "info": {
            "name": "Retrieve Employee Assignments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.oracle.com/webservices/rest/hr/assignments",
            "params": [
              {
                "name": "assignmentId",
                "value": "500123",
                "type": "query",
                "description": "Assignment identifier"
              },
              {
                "name": "personId",
                "value": "500123",
                "type": "query",
                "description": "Person identifier"
              },
              {
                "name": "organizationId",
                "value": "500123",
                "type": "query",
                "description": "HR organization identifier"
              },
              {
                "name": "effectiveDate",
                "value": "2026-01-15",
                "type": "query",
                "description": "Effective date (YYYY-MM-DD)"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of records to return"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Number of records to skip for pagination"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "accessToken",
              "value": "{{accessToken}}",
              "placement": "query"
            }
          },
          "docs": "Retrieves employee assignment records. Maps to the PER_ALL_ASSIGNMENTS_F table through the HR_ASSIGNMENT_API package."
        }
      ]
    }
  ],
  "bundled": true
}