{
    "componentChunkName": "component---src-templates-page-template-js",
    "path": "/development/AllocateEmployeeRole/",
    "result": {"data":{"allMdx":{"totalCount":0,"edges":[]}},"pageContext":{"page":{"description":"Allocate a role to an employee.\n\nThe following fields are mandatory for this request:\n    * Role ID (`roleId`)\n","operationId":"AllocateEmployeeRole","requestBody":{"$ref":"#/components/requestBodies/RecordRoleRequest"},"responses":{"201":{"description":"Role added successfully to employee","headers":{"Location":{"description":"The location header will provide the canonical reference to the created competency","example":"https://rest.enablehr.com/accounts/4eb62cb48c9f429c93bc26664c1a5a4d/employees/5a4d4eb62cb48c9f429c93bc26664c1a/competencies?filter=roleId:65df69c77c36477ca5d7d49619af02a9","schema":{"type":"string"}}}},"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:training"]}],"summary":"Allocate a role to an employee","tags":["Employees' Training"]},"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":"post","endpoint":"/accounts/{accountId}/employees/{employeeId}/roles","identifier":"AllocateEmployeeRole","slug":"AllocateEmployeeRole"}},
    "staticQueryHashes": ["1607652047"]}