{
    "componentChunkName": "component---src-templates-page-template-js",
    "path": "/development/CreateCandidate/",
    "result": {"data":{"allMdx":{"totalCount":0,"edges":[]}},"pageContext":{"page":{"description":"Creates a new candidate.\n\nThe following fields are mandatory for this request:\n    * First Name (`firstName`)\n    * Surname (`surname`)\n    * Branch ID (`branchId`)\n","operationId":"CreateCandidate","requestBody":{"$ref":"#/components/requestBodies/CandidateRequest"},"responses":{"201":{"description":"Candidate created successfully","headers":{"Location":{"description":"The location header will provide the canonical reference to the created candidate","example":"https://rest.enablehr.com/accounts/4eb62cb48c9f429c93bc26664c1a5a4d/candidates/2dccadd0b8504cf98aeb0321e3bcf88e","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:candidates"]}],"summary":"Creates a new candidate","tags":["Candidates"]},"parameters":[{"allowEmptyValue":false,"description":"Unique identifier of an account.","example":"4eb62cb48c9f429c93bc26664c1a5a4d","in":"path","name":"accountId","required":true,"schema":{"type":"string"}}],"method":"post","endpoint":"/accounts/{accountId}/candidates","identifier":"CreateCandidate","slug":"CreateCandidate"}},
    "staticQueryHashes": ["1607652047"]}