{
 "openapi": "3.1.0",
 "info": {
  "title": "My Details (Employee Self Service)",
  "version": "20261030b",
  "description": "Your address, phone, emergency contact and bank account. Address and bank changes are reviewed by HR."
 },
 "servers": [
  {
   "url": "https://{tenant}.tranxact.ai",
   "variables": {
    "tenant": {
     "default": "demo"
    }
   }
  }
 ],
 "components": {
  "securitySchemes": {
   "bearer": {
    "type": "http",
    "scheme": "bearer"
   }
  },
  "schemas": {}
 },
 "security": [
  {
   "bearer": []
  }
 ],
 "paths": {
  "/api/ess/my-details": {
   "get": {
    "summary": "Read my details",
    "operationId": "action_my_details_0_4",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/ess/my-details/requests": {
   "post": {
    "summary": "Requests",
    "operationId": "action_my_details_0_5",
    "description": "Body keys: kind, values, reason, effectiveDate",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/ess/my-details/requests/{id}": {
   "get": {
    "summary": "Requests",
    "operationId": "action_my_details_0_6",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/ess/my-details/requests/{id}/withdraw": {
   "post": {
    "summary": "Requests withdraw",
    "operationId": "action_my_details_0_7",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  }
 }
}