{
 "openapi": "3.1.0",
 "info": {
  "title": "Requisition status (HRMS)",
  "version": "20261030b",
  "description": "Read and maintain requisition status records (hr.requisition_status)."
 },
 "servers": [
  {
   "url": "https://{tenant}.tranxact.ai",
   "variables": {
    "tenant": {
     "default": "demo"
    }
   }
  }
 ],
 "components": {
  "securitySchemes": {
   "bearer": {
    "type": "http",
    "scheme": "bearer"
   }
  },
  "schemas": {
   "requisition-status": {
    "type": "object",
    "required": [],
    "properties": {
     "id": {
      "type": "string",
      "format": "uuid",
      "description": "Id",
      "readOnly": true
     },
     "org_id": {
      "type": "string",
      "format": "uuid",
      "description": "Org id",
      "readOnly": true
     },
     "org_unit_id": {
      "type": "string",
      "format": "uuid",
      "description": "Org unit id",
      "readOnly": true
     },
     "requisition_no": {
      "type": "string",
      "description": "Requisition no",
      "readOnly": true
     },
     "title": {
      "type": "string",
      "description": "Title",
      "readOnly": true
     },
     "department": {
      "type": "string",
      "description": "Department",
      "readOnly": true
     },
     "status": {
      "type": "string",
      "description": "Status",
      "readOnly": true
     },
     "openings": {
      "type": "integer",
      "description": "Openings",
      "readOnly": true
     },
     "filled": {
      "type": "integer",
      "description": "Filled",
      "readOnly": true
     },
     "still_open": {
      "type": "integer",
      "description": "Still open",
      "readOnly": true
     },
     "reason": {
      "type": "string",
      "description": "Reason",
      "readOnly": true
     },
     "target_start": {
      "type": "string",
      "format": "date",
      "description": "Target start",
      "readOnly": true
     },
     "opened_on": {
      "type": "string",
      "format": "date",
      "description": "Opened on",
      "readOnly": true
     },
     "budget_min": {
      "type": "string",
      "format": "decimal",
      "description": "Budget min",
      "readOnly": true
     },
     "budget_max": {
      "type": "string",
      "format": "decimal",
      "description": "Budget max",
      "readOnly": true
     },
     "currency": {
      "type": "string",
      "description": "Currency",
      "readOnly": true
     },
     "grade_code": {
      "type": "string",
      "description": "Grade code",
      "readOnly": true
     },
     "range_min": {
      "type": "string",
      "format": "decimal",
      "description": "Range min",
      "readOnly": true
     },
     "range_mid": {
      "type": "string",
      "format": "decimal",
      "description": "Range mid",
      "readOnly": true
     },
     "range_max": {
      "type": "string",
      "format": "decimal",
      "description": "Range max",
      "readOnly": true
     },
     "hiring_manager_no": {
      "type": "string",
      "description": "Hiring manager no",
      "readOnly": true
     },
     "hiring_manager": {
      "type": "string",
      "description": "Hiring manager",
      "readOnly": true
     },
     "applications": {
      "type": "integer",
      "description": "Applications",
      "readOnly": true
     },
     "in_pipeline": {
      "type": "integer",
      "description": "In pipeline",
      "readOnly": true
     },
     "rejected": {
      "type": "integer",
      "description": "Rejected",
      "readOnly": true
     },
     "offers_out": {
      "type": "integer",
      "description": "Offers out",
      "readOnly": true
     },
     "live_postings": {
      "type": "integer",
      "description": "Live postings",
      "readOnly": true
     },
     "days_open": {
      "type": "integer",
      "description": "Days open",
      "readOnly": true
     },
     "standing": {
      "type": "string",
      "description": "Standing",
      "readOnly": true
     }
    }
   }
  }
 },
 "security": [
  {
   "bearer": []
  }
 ],
 "paths": {
  "/api/hrms/requisition-status": {
   "get": {
    "summary": "list requisition-status",
    "operationId": "list_requisition_status_0_4",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   },
   "post": {
    "summary": "Post requisition status",
    "operationId": "action_requisition_status_1_4",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/hrms/requisition-status/{id}": {
   "get": {
    "summary": "get requisition-status",
    "operationId": "get_requisition_status_0_5",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   },
   "put": {
    "summary": "Put requisition status",
    "operationId": "action_requisition_status_1_5",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   },
   "delete": {
    "summary": "Delete requisition status",
    "operationId": "action_requisition_status_2_5",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/hrms/requisition-status/{id}/copy": {
   "post": {
    "summary": "Copy",
    "operationId": "action_requisition_status_0_6",
    "description": "Body keys: overrides, preview, withLines",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  }
 }
}