{
    "componentChunkName": "component---src-templates-page-template-js",
    "path": "/development/MaintainEmployeeLeaveBalances/",
    "result": {"data":{"allMdx":{"totalCount":0,"edges":[]}},"pageContext":{"page":{"description":"Creates/Updates the list of employees leave balances.  If the leave balances exist\nthey will be updated otherwise they will be created.\n\nThe following fields are mandatory for this request when using AU:\n    * Annual Leave (`annualLeave`)\n    * Personal Leave (`personalLeave`)\n    * Long Service Leave (`longServiceLeave`)\n\nThe following fields are mandatory for this request when using NZ:\n    * Annual Leave (`annualLeave`)\n    * Sick Leave (`sickLeave`)\n    * Parental Leave (`parentalLeave`)\n    * Alternative Holidays (`alternativeHolidays`)\n    * Long Service Leave (`longServiceLeave`)\n    * Bereavement Leave (`bereavementLeave`)\n    * Domestic Violence Leave (`domesticViolenceLeave`)\n\nThe leave balances are captured in hours. If the user is providing more than\n2 decimal places then we round-off the leave balance.\nExample: `3.91501956` becomes `3.92` and `3.9956` becomes `4`.\n","operationId":"MaintainEmployeeLeaveBalances","requestBody":{"$ref":"#/components/requestBodies/RecordLeaveBalancesRequest"},"responses":{"204":{"description":"Employee Leave Balances created/updated successfully"},"400":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ProblemResponse"},"type":"array"}}},"description":"The request was invalid due to incorrect or missing information in the body."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemResponse"}}},"description":"The user or client authentication failed."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemResponse"}}},"description":"The user or client is authenticated, but does not have access ot the requested resource."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemResponse"}}},"description":"The specified object was not found, or is inaccessible to the authenticated user or client"},"500":{"description":"An error occured while processing the request.\nIf you're reading this spec, chances are you know it's not you, it's us - if it keeps happening, let us know what's happening and we'll sort you.\n"}},"security":[{"OAuth2":["manage:employees:payroll"]}],"summary":"Creates/Updates employees leave balances","tags":["Employees"]},"parameters":[{"allowEmptyValue":false,"description":"Unique identifier of an account.","example":"4eb62cb48c9f429c93bc26664c1a5a4d","in":"path","name":"accountId","required":true,"schema":{"type":"string"}},{"allowEmptyValue":false,"description":"Unique identifier of an employee within an account.","example":"b48c9f429c93bc26664c1a5a4d1273","in":"path","name":"employeeId","required":true,"schema":{"type":"string"}}],"method":"put","endpoint":"/accounts/{accountId}/employees/{employeeId}/leave-balances","identifier":"MaintainEmployeeLeaveBalances","slug":"MaintainEmployeeLeaveBalances"}},
    "staticQueryHashes": ["1607652047"]}