{
  "opencollection": "1.0.0",
  "info": {
    "name": "Harri Employee Open Deprecated EmployeePositions API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Deprecated EmployeePositions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Update position related info API",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://gateway.harri.com/open-api-hub/api/v3/employees/:employeeId/locations/:locationId/positions/:positionCode",
            "params": [
              {
                "name": "employeeId",
                "value": "",
                "type": "path",
                "description": "employee id"
              },
              {
                "name": "locationId",
                "value": "",
                "type": "path",
                "description": "location id, should be the primary location for the employees with fixed pay type"
              },
              {
                "name": "positionCode",
                "value": "",
                "type": "path",
                "description": "position code"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update position related info - COST CENTERS, this will be used for fixed and flexible hourly employees\n"
        },
        {
          "info": {
            "name": "Attach position to employee API",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://gateway.harri.com/open-api-hub/api/v1/employees/:employeeId/locations/:locationId/positions/:positionCode",
            "params": [
              {
                "name": "employeeId",
                "value": "",
                "type": "path",
                "description": "employee id"
              },
              {
                "name": "locationId",
                "value": "",
                "type": "path",
                "description": "location id, should be primary location for the employees with fixed pay type"
              },
              {
                "name": "positionCode",
                "value": "",
                "type": "path",
                "description": "position code"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Attach positions to an employee"
        },
        {
          "info": {
            "name": "Delete employee position for fixed and flixable pay type API",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://gateway.harri.com/open-api-hub/api/v1/employees/:employeeId/locations/:locationId/positions/:positionCode",
            "params": [
              {
                "name": "employeeId",
                "value": "",
                "type": "path",
                "description": "employee id"
              },
              {
                "name": "locationId",
                "value": "",
                "type": "path",
                "description": "location id, should be primary location for the employees with fixed pay type"
              },
              {
                "name": "positionCode",
                "value": "",
                "type": "path",
                "description": "position code"
              }
            ]
          },
          "docs": "Delete employee position for fixed flixable pay type"
        },
        {
          "info": {
            "name": "Set employee primary position API",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://gateway.harri.com/open-api-hub/api/v1/employees/:employeeId/positions/:positionCode/set_primary",
            "params": [
              {
                "name": "employeeId",
                "value": "",
                "type": "path",
                "description": "employee id"
              },
              {
                "name": "positionCode",
                "value": "",
                "type": "path",
                "description": "position code"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Set employee primary position based on the primary location positions"
        },
        {
          "info": {
            "name": "Attach position to employee API",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://gateway.harri.com/open-api-hub/api/v2/employees/:employeeId/locations/:locationId/positions/:positionCode",
            "params": [
              {
                "name": "employeeId",
                "value": "",
                "type": "path",
                "description": "employee id"
              },
              {
                "name": "locationId",
                "value": "",
                "type": "path",
                "description": "location id, should be primary location for the employees with fixed pay type"
              },
              {
                "name": "positionCode",
                "value": "",
                "type": "path",
                "description": "position code"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Attach positions to an employee"
        },
        {
          "info": {
            "name": "attach position to employee API",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://gateway.harri.com/open-api-hub/api/v2/employees/:employeeId/positions/:positionCode",
            "params": [
              {
                "name": "employeeId",
                "value": "",
                "type": "path",
                "description": "employee id"
              },
              {
                "name": "positionCode",
                "value": "",
                "type": "path",
                "description": "position code"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "attach positions to an employee"
        },
        {
          "info": {
            "name": "delete employee position for fixed pay type API",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://gateway.harri.com/open-api-hub/api/v1/employees/:employeeId/positions/:positionCode",
            "params": [
              {
                "name": "employeeId",
                "value": "",
                "type": "path",
                "description": "employee id"
              },
              {
                "name": "positionCode",
                "value": "",
                "type": "path",
                "description": "position code"
              }
            ]
          },
          "docs": "delete employee position for fixed pay type"
        },
        {
          "info": {
            "name": "retrieve employee positions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://gateway.harri.com/open-api-hub/api/v2/employees/:employeeId/positions",
            "params": [
              {
                "name": "employeeId",
                "value": "",
                "type": "path",
                "description": "employee id"
              }
            ]
          },
          "docs": "retrieve employee positions"
        },
        {
          "info": {
            "name": "retrieve employee positions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://gateway.harri.com/open-api-hub/api/v1/employees/:employeeId/positions",
            "params": [
              {
                "name": "employeeId",
                "value": "",
                "type": "path",
                "description": "employee id"
              }
            ]
          },
          "docs": "retrieve employee positions"
        }
      ]
    }
  ],
  "bundled": true
}