{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://www.apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/business:clayhr/authentication-get-access-token":{"get":{"operationId":"business_clayhr_authentication_get_access_token","summary":"Get Access Token for Authentication","description":"GET /api/token","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/announcement-create-new-announcement":{"post":{"operationId":"business_clayhr_announcement_create_new_announcement","summary":"Create Announcement","description":"POST /api/announcement/create","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["title","description"],"properties":{"title":{"type":"string","description":"Title of the announcement."},"description":{"type":"string","description":"Description of the announcement."},"url":{"type":"string","description":"Any link associated/brief of the announcement."},"status":{"type":"string","enum":["A","D","I"],"description":"Status of Announcement. Choose between [\"A\", \"D\", \"I\"]. Defaults to \"A\". A - Active, D - In Draft, I - Archive"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/announcement-get-by-id":{"get":{"operationId":"business_clayhr_announcement_get_by_id","summary":"Retrieve Announcement","description":"GET /api/announcement/{annId}","tags":["business"],"parameters":[{"name":"annId","in":"query","required":true,"description":"The ID of the announcement.","schema":{"type":"integer","description":"The ID of the announcement."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/announcement-update-announcement":{"post":{"operationId":"business_clayhr_announcement_update_announcement","summary":"Update Announcement","description":"PUT /api/announcement/edit","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["annId","title","desciption","status"],"properties":{"annId":{"type":"integer","description":"The ID of the announcement."},"title":{"type":"string","description":"Title of the announcement."},"desciption":{"type":"string","description":"Description of the announcement."},"url":{"type":"string","description":"Link associated with the announcement."},"status":{"type":"string","enum":["A","D","I"],"description":"Status of Announcement. Choose between [\"A\", \"D\", \"I\"]. Defaults to \"A\". A - Active, D - In Draft, I - Archive"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/announcement-get-attachments-by-id":{"get":{"operationId":"business_clayhr_announcement_get_attachments_by_id","summary":"Retrieve Announcement Attachments","description":"GET /api/attachment/list/{annId}","tags":["business"],"parameters":[{"name":"annId","in":"query","required":true,"description":"The ID of the announcement.","schema":{"type":"integer","description":"The ID of the announcement."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/candidates-get":{"get":{"operationId":"business_clayhr_candidates_get","summary":"Retrieve candidates","description":"GET /","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/candidates-submit-new-candidate":{"post":{"operationId":"business_clayhr_candidates_submit_new_candidate","summary":"Create new candidate","description":"POST /","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"name":{"type":"string","description":"Name of the candidate."},"email":{"type":"string","description":"Email ID of the candidate."},"isNewCand":{"type":"string","enum":["true","false"],"description":"Is this new candidate?"},"phone":{"type":"integer","description":"Phone number of the candidate."},"source":{"type":"string","default":"API","description":"The source from which the candidate is being created."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/candidates-get-candidate-detail-by-recruitid":{"get":{"operationId":"business_clayhr_candidates_get_candidate_detail_by_recruitid","summary":"Retrieve the candidate detail by recruitid","description":"GET /detail/{recruitid}","tags":["business"],"parameters":[{"name":"recruitid","in":"query","required":true,"description":"The ID of the recruiter.","schema":{"type":"integer","description":"The ID of the recruiter."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/candidates-get-basic-details":{"get":{"operationId":"business_clayhr_candidates_get_basic_details","summary":"Retrieve candidates with basic details","description":"GET /list","tags":["business"],"parameters":[{"name":"page","in":"query","required":false,"description":"Page number.","schema":{"type":"integer","default":0,"description":"Page number."}},{"name":"pageSize","in":"query","required":false,"description":"Number of candidates per page.","schema":{"type":"integer","default":20,"description":"Number of candidates per page."}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/custom-fields-get-by-id":{"get":{"operationId":"business_clayhr_custom_fields_get_by_id","summary":"Retrieve Custom Field by ID","description":"GET /customfield","tags":["business"],"parameters":[{"name":"customFieldId","in":"query","required":true,"description":"The ID of the custom field.","schema":{"type":"integer","description":"The ID of the custom field."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/custom-fields-get-custom-fields":{"get":{"operationId":"business_clayhr_custom_fields_get_custom_fields","summary":"Retrieve Custom Fields","description":"GET /customfields","tags":["business"],"parameters":[{"name":"objectType","in":"query","required":false,"description":"The object type of custom field.","schema":{"type":"string","description":"The object type of custom field."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/custom-fields-get-value":{"get":{"operationId":"business_clayhr_custom_fields_get_value","summary":"Retrieve Custom Field Value","description":"GET /customfieldvalues","tags":["business"],"parameters":[{"name":"customFieldCode","in":"query","required":false,"description":"customFieldCode","schema":{"type":"string","description":"customFieldCode"}},{"name":"customFieldId","in":"query","required":true,"description":"customFieldId","schema":{"type":"integer","description":"customFieldId"}},{"name":"userEmail","in":"query","required":false,"description":"userEmail","schema":{"type":"string","description":"userEmail"}},{"name":"empId","in":"query","required":false,"description":"empId","schema":{"type":"string","description":"empId"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/custom-fields-update-value":{"post":{"operationId":"business_clayhr_custom_fields_update_value","summary":"Update Custom Field Value","description":"POST /customfieldvalues","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["customFieldId","value"],"properties":{"customFieldId":{"type":"integer"},"customFieldCode":{"type":"string"},"userEmail":{"type":"string"},"empId":{"type":"string"},"value":{"type":"string"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/custom-fields-get-custom-lists":{"get":{"operationId":"business_clayhr_custom_fields_get_custom_lists","summary":"Retrieve Custom Lists","description":"GET /customlist","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/dependents-delete-by-contact-id":{"post":{"operationId":"business_clayhr_dependents_delete_by_contact_id","summary":"Delete dependent by contactId","description":"POST /delete","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["contactId"],"properties":{"contactId":{"type":"integer","description":"Contact ID of Dependent"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/document-library-get-document-as-byte-array":{"get":{"operationId":"business_clayhr_document_library_get_document_as_byte_array","summary":"Retrieve document as byte array","description":"GET /attachment/download","tags":["business"],"parameters":[{"name":"fileName","in":"query","required":true,"description":"File ID from the server","schema":{"type":"string","description":"File ID from the server"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/document-library-get-attachments":{"get":{"operationId":"business_clayhr_document_library_get_attachments","summary":"Retrieve attachments within document library","description":"GET /documentLibrary","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/expense-reports-get-currencies":{"get":{"operationId":"business_clayhr_expense_reports_get_currencies","summary":"Retrieve currencies","description":"GET /currencylist","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/expense-reports-get-report-details":{"get":{"operationId":"business_clayhr_expense_reports_get_report_details","summary":"Retrieve the details of expense report","description":"GET /expensereport","tags":["business"],"parameters":[{"name":"expenseReportId","in":"query","required":false,"description":"The ID of the expense report.","schema":{"type":"integer","description":"The ID of the expense report."}},{"name":"guid","in":"query","required":false,"description":"The unique system generated ID of the user.","schema":{"type":"string","description":"The unique system generated ID of the user."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/expense-reports-create-new":{"post":{"operationId":"business_clayhr_expense_reports_create_new","summary":"Create expense report","description":"POST /expensereport","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","amount"],"properties":{"name":{"type":"string","description":"Name of the expense report."},"amount":{"type":"number","description":"Amount to be added in expense report."},"description":{"type":"string","description":"Description of the expense report."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/expense-reports-get-expense-types":{"get":{"operationId":"business_clayhr_expense_reports_get_expense_types","summary":"Retrieve expense types","description":"GET /expensetypes","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/expense-reports-get-by-user-id":{"get":{"operationId":"business_clayhr_expense_reports_get_by_user_id","summary":"Retrieve expense reports by User ID","description":"GET /expensereports","tags":["business"],"parameters":[{"name":"guid","in":"query","required":false,"description":"The unique system generated ID of the user.","schema":{"type":"string","description":"The unique system generated ID of the user."}},{"name":"email","in":"query","required":false,"description":"Email of the user.","schema":{"type":"string","description":"Email of the user."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/expense-reports-submit-expense-report":{"post":{"operationId":"business_clayhr_expense_reports_submit_expense_report","summary":"Submit expense report","description":"POST /expensereport/submit/{expenseReportId}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["expenseReportId","status"],"properties":{"expenseReportId":{"type":"integer","description":"The ID of the expense report."},"status":{"type":"string","enum":["DRFT","SUB"],"description":"Status of the expense report."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/expense-reports-delete-expense-report":{"post":{"operationId":"business_clayhr_expense_reports_delete_expense_report","summary":"Delete expense report","description":"POST /expensereport/delete","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["expenseReportId"],"properties":{"expenseReportId":{"type":"integer","description":"The ID of the expense report."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/expense-reports-create-new-expense-item":{"post":{"operationId":"business_clayhr_expense_reports_create_new_expense_item","summary":"Create expense item","description":"POST /expenseitem","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["amount","billable","cid","currencyCode","date","expenseItemId","expenseType","expenseTypeId","projectId","reimbursible","remarks"],"properties":{"amount":{"type":"number","description":"Amount of the expense item."},"billable":{"type":"string","enum":["Y","N"],"description":"Y for \"Yes\" and N for \"No\"."},"cid":{"type":"integer","description":"The unique ID of the customer."},"currencyCode":{"type":"string","enum":["$(USD)","$(CD)","₹(INR)"],"description":"Code of the currency."},"date":{"type":"string","description":"Date of creating expense item."},"expenseItemId":{"type":"integer","description":"The ID of the expense item."},"expenseType":{"type":"string","description":"The type of expense."},"expenseTypeId":{"type":"integer","description":"The ID of the expense type."},"projectId":{"type":"integer","description":"The ID of the project."},"reimbursible":{"type":"string","enum":["Y","N"],"description":"Y for \"Yes\" and N for \"No\"."},"remarks":{"type":"string"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/forms-get-dyna-form":{"get":{"operationId":"business_clayhr_forms_get_dyna_form","summary":"Retrieve forms","description":"GET /api/getdynaforms","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/forms-get-assigned-forms":{"get":{"operationId":"business_clayhr_forms_get_assigned_forms","summary":"Retrieve completed forms assigned to me","description":"GET /api/my","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/forms-get-form-response":{"get":{"operationId":"business_clayhr_forms_get_form_response","summary":"Retrieve form response","description":"GET /api/response/{dynamicFormId}","tags":["business"],"parameters":[{"name":"assignUserId","in":"query","required":false,"description":"The ID of User.","schema":{"type":"integer","description":"The ID of User."}},{"name":"assignmentId","in":"query","required":false,"description":"The Assignment ID of the User.","schema":{"type":"integer","description":"The Assignment ID of the User."}},{"name":"dynamicFormId","in":"query","required":true,"description":"The ID of Form.","schema":{"type":"integer","description":"The ID of Form."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/forms-get-form-responses":{"get":{"operationId":"business_clayhr_forms_get_form_responses","summary":"Retrieve form responses","description":"GET /api/responselist","tags":["business"],"parameters":[{"name":"dynamicFormId","in":"query","required":true,"description":"The ID of Form.","schema":{"type":"integer","description":"The ID of Form."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/forms-save-form-response":{"post":{"operationId":"business_clayhr_forms_save_form_response","summary":"Save form repsonse","description":"POST /api/saveFormResponse","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["assignmentId"],"properties":{"assignmentId":{"type":"integer","description":"The Assignment ID of the User."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/forms-submit-item-response":{"post":{"operationId":"business_clayhr_forms_submit_item_response","summary":"Save item response","description":"POST /api/saveItemResponse","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["assignmentId","itemId","responseValue"],"properties":{"assignmentId":{"type":"integer","description":"The Assignment ID of the User."},"itemId":{"type":"integer","description":"The ID of the form Item."},"responseValue":{"type":"string","description":"Response Value to save in Form."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/forms-get-details":{"get":{"operationId":"business_clayhr_forms_get_details","summary":"Retrieve form details","description":"GET /api/view","tags":["business"],"parameters":[{"name":"dynamicFormId","in":"query","required":true,"description":"The ID of Form.","schema":{"type":"integer","description":"The ID of Form."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/goals-get-user-goals":{"get":{"operationId":"business_clayhr_goals_get_user_goals","summary":"Retrieve goals of user","description":"GET /goal/list","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/job-profiles-get-job-profiles":{"get":{"operationId":"business_clayhr_job_profiles_get_job_profiles","summary":"Retrieve job profiles","description":"GET /api/jobprofiles","tags":["business"],"parameters":[{"name":"status","in":"query","required":true,"description":"Status of the job profile A- Active, OPEN- Open, ARCHV- Archive","schema":{"type":"string","enum":["OPEN","A","ARCHV"],"default":"A","description":"Status of the job profile A- Active, OPEN- Open, ARCHV- Archive"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/leaves-get-remaining-hours-credit":{"get":{"operationId":"business_clayhr_leaves_get_remaining_hours_credit","summary":"Retrieve remaining hours credit for leave policy","description":"GET /api/leave/hours/credit","tags":["business"],"parameters":[{"name":"leaveDate","in":"query","required":true,"description":"The date of the leave.","schema":{"type":"string","description":"The date of the leave."}},{"name":"leaveId","in":"query","required":true,"description":"The Id of the leave.","schema":{"type":"integer","description":"The Id of the leave."}},{"name":"leaveUserId","in":"query","required":true,"description":"The userId for that leave.","schema":{"type":"integer","description":"The userId for that leave."}},{"name":"ptoPolicyId","in":"query","required":true,"description":"The Id of the ptoPolicy","schema":{"type":"integer","description":"The Id of the ptoPolicy"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/leaves-create-new-leave":{"post":{"operationId":"business_clayhr_leaves_create_new_leave","summary":"Create a new leave.","description":"POST /api/leaverequest","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/leaves-get-leave-requests-within-date-range":{"get":{"operationId":"business_clayhr_leaves_get_leave_requests_within_date_range","summary":"Retrieve leave requests within a date range","description":"GET /api/leaverequests","tags":["business"],"parameters":[{"name":"endDate","in":"query","required":true,"description":"End date of the leave.","schema":{"type":"string","description":"End date of the leave."}},{"name":"leaveUserid","in":"query","required":false,"description":"The userId for that leave.","schema":{"type":"integer","default":0,"description":"The userId for that leave."}},{"name":"startDate","in":"query","required":true,"description":"Start date of the leave.","schema":{"type":"string","description":"Start date of the leave."}},{"name":"status","in":"query","required":false,"description":"The status of leave. AP: Leave approved WA: Leave is waiting for approval RJ: Leave has been rejected PAP: Leave is in a muti layer…","schema":{"type":"string","enum":["AP","WA","RJ","PAP","RCAL"],"default":"AP","description":"The status of leave. AP: Leave approved WA: Leave is waiting for approval RJ: Leave has been rejected PAP: Leave is in a muti layer…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/leaves-get-leaves-based-on-role":{"get":{"operationId":"business_clayhr_leaves_get_leaves_based_on_role","summary":"Retrieve leaves for approval/rejection by filtering on basis of Role","description":"GET /api/manage/leaves","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/leaves-process-leave-by-id":{"get":{"operationId":"business_clayhr_leaves_process_leave_by_id","summary":"Process the leave of a user by leave Id","description":"GET /api/process/leave","tags":["business"],"parameters":[{"name":"leaveId","in":"query","required":true,"description":"The Id for the leave.","schema":{"type":"integer","description":"The Id for the leave."}},{"name":"status","in":"query","required":true,"description":"The status of leave. AP: Leave approved WA: Leave is waiting for approval RJ: Leave has been rejected PAP: Leave is in a muti layer…","schema":{"type":"string","enum":["AP","WA","RJ","PAP","RCAL"],"default":"AP","description":"The status of leave. AP: Leave approved WA: Leave is waiting for approval RJ: Leave has been rejected PAP: Leave is in a muti layer…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/leaves-add-pto-balance":{"post":{"operationId":"business_clayhr_leaves_add_pto_balance","summary":"Add PTO balance.","description":"POST /api/userpto/balance/add","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/org-relation-get-org-relations-by-user":{"get":{"operationId":"business_clayhr_org_relation_get_org_relations_by_user","summary":"Retrieve all the OrgRelations for the given user.","description":"GET /api/orgrelation/orgRelationsByUser","tags":["business"],"parameters":[{"name":"employeeUserId","in":"query","required":false,"description":"User Id for which org relation will be fetched.","schema":{"type":"integer","description":"User Id for which org relation will be fetched."}},{"name":"empId","in":"query","required":false,"description":"Employee Id for which org relation will be fetched.","schema":{"type":"string","description":"Employee Id for which org relation will be fetched."}},{"name":"email","in":"query","required":true,"description":"Email for which org relation will be fetched.","schema":{"type":"string","description":"Email for which org relation will be fetched."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/org-relation-get-all-active":{"get":{"operationId":"business_clayhr_org_relation_get_all_active","summary":"Retrieve all active OrgRelations","description":"GET /api/orgrelation/allactive","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/org-relation-save-user":{"get":{"operationId":"business_clayhr_org_relation_save_user","summary":"Saves the OrgRelation for the User","description":"GET /api/orgrelation/save","tags":["business"],"parameters":[{"name":"orgRelationId","in":"query","required":true,"description":"ID of OrgRelation for which data will be saved.","schema":{"type":"integer","description":"ID of OrgRelation for which data will be saved."}},{"name":"managerUserId","in":"query","required":true,"description":"User Id of the manager.","schema":{"type":"integer","description":"User Id of the manager."}},{"name":"managerEmail","in":"query","required":true,"description":"Email of manager.","schema":{"type":"string","description":"Email of manager."}},{"name":"userEmail","in":"query","required":false,"description":"User's email.","schema":{"type":"string","description":"User's email."}},{"name":"otherUserId","in":"query","required":false,"description":"User Id of the reporter.","schema":{"type":"integer","description":"User Id of the reporter."}},{"name":"relationType","in":"query","required":false,"description":"Type of relation w.r.t manager.","schema":{"type":"string","description":"Type of relation w.r.t manager."}},{"name":"startDate","in":"query","required":false,"description":"Date of start in that org unit.","schema":{"type":"string","description":"Date of start in that org unit."}},{"name":"enddate","in":"query","required":false,"description":"Ending date in that org unit.","schema":{"type":"string","description":"Ending date in that org unit."}},{"name":"cid","in":"query","required":false,"description":"Company ID.","schema":{"type":"integer","description":"Company ID."}},{"name":"status","in":"query","required":false,"description":"User is active or not active.","schema":{"type":"string","description":"User is active or not active."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/org-units-get-org-units":{"get":{"operationId":"business_clayhr_org_units_get_org_units","summary":"Retrieve org units","description":"GET /api/orgunits","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/org-units-create-new-org-unit":{"post":{"operationId":"business_clayhr_org_units_create_new_org_unit","summary":"Create new org unit","description":"POST /api/orgunits/add","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","description"],"properties":{"name":{"type":"string","description":"Name of the org unit."},"description":{"type":"string","description":"Description of the org unit."},"deptHead":{"type":"integer","description":"The ID of the department head."},"deptHeadName":{"type":"string","description":"Name of the department head."},"departmentCode":{"type":"string","description":"The code of the department."},"departmentId":{"type":"integer","description":"The ID of the department."},"departmentLabel":{"type":"string","description":"Label for the department."},"noOfEmployees":{"type":"integer","description":"Number of employees."},"parentDepartmentId":{"type":"integer","description":"The ID of the parent department."},"parentDepartmentName":{"type":"string","description":"Name of the parent department."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/pay-stubs-get-details":{"get":{"operationId":"business_clayhr_pay_stubs_get_details","summary":"Retrieve my pay stubs","description":"GET /paystub","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/people-and-permissions-create-or-update-user-details":{"post":{"operationId":"business_clayhr_people_and_permissions_create_or_update_user_details","summary":"Create or Update user","description":"POST /api/user/completeUserDetails","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/people-and-permissions-create-user":{"post":{"operationId":"business_clayhr_people_and_permissions_create_user","summary":"Create user","description":"POST /api/user/add","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["firstName","email"],"properties":{"firstName":{"type":"string","description":"First name of user."},"email":{"type":"string","description":"Mail ID of user."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/people-and-permissions-update-user":{"post":{"operationId":"business_clayhr_people_and_permissions_update_user","summary":"Update user","description":"POST /api/user/update","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"guid":{"type":"string","description":"The unique system generated ID of the user."},"email":{"type":"string","description":"Email address of the user."},"empId":{"type":"string","description":"Employee ID of the user. To update the employee ID, you need admin access."},"firstName":{"type":"string","description":"First name of the user."},"middleName":{"type":"string","description":"Last name of the user."},"lastName":{"type":"string","description":"Last name of the user."},"secondLastName":{"type":"string","description":"Second last name of the user."},"displayFullName":{"type":"string","description":"Display name of the user."},"cellPhone":{"type":"string","description":"Cell phone of the user."},"phone":{"type":"string","description":"Phone number of the user."},"familySuffix":{"type":"string","description":"Family suffix of the user."},"userDateOfBirth":{"type":"string","description":"Date of birth of the user."},"jobGrade":{"type":"string","description":"Job grade of the user."},"userStartDate":{"type":"string","description":"Starting date of the user."},"userEndDate":{"type":"string","description":"End date of the user."},"gender":{"type":"string","description":"Gender of the user."},"position":{"type":"string","description":"Position of the user."},"profileId":{"type":"string","description":"Profile ID of the user."},"shortName":{"type":"string","description":"Short name of the user."},"status":{"type":"string","enum":["A","I","F"],"description":"Status of the user."},"locationName":{"type":"string","description":"Location of the user."},"locationId":{"type":"string","description":"Location ID of user location."},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/people-and-permissions-get-user-basic-information":{"get":{"operationId":"business_clayhr_people_and_permissions_get_user_basic_information","summary":"Retrieve user basic information","description":"GET /api/user/basic","tags":["business"],"parameters":[{"name":"email","in":"query","required":false,"description":"Email of user","schema":{"type":"string","description":"Email of user"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/people-and-permissions-create-user-compensation":{"post":{"operationId":"business_clayhr_people_and_permissions_create_user_compensation","summary":"Create compensation for user","description":"POST /api/user/compensation/add","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["value","compensationType","currencyCode","period","effectivedate","status"],"properties":{"value":{"type":"string","description":"Value of compensation"},"compensationType":{"type":"string","enum":["sal","pay","bonus","INCTV","SVRC","other"],"description":"Type of compensation. sal - Salary, pay - , INCTV - Incentive, SVCR - Severance"},"currencyCode":{"type":"string"},"period":{"type":"string","enum":["HRLY","DLY","WKLY","BWKLY","MTHLY","BMTH","QTRLY","BYRLY","YRLY","ONEF"],"description":"Time period for compensation. HRLY - Hourly, DLY - Daily, WKLY - Weekly, BWKLY - Bi-Weekly, MTHLY - Monthly, BMTH - Bi-Monthly, QTRLY -…"},"effectivedate":{"type":"string"},"enddate":{"type":"string"},"status":{"type":"string","enum":["ACTV","ARCHV","PVNL"],"description":"Status of compensation. ACTV - Active, ARCHV - Archive, PVNL - Provisional"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/people-and-permissions-update-financial-record":{"post":{"operationId":"business_clayhr_people_and_permissions_update_financial_record","summary":"Update financial record of User","description":"POST /api/user/compensation/update","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["guid","value","compensationType","currencyCode","period","status"],"properties":{"guid":{"type":"string"},"value":{"type":"string"},"compensationType":{"type":"string","enum":["sal","pay","bonus","INCTV","SVRC","other"],"default":"sal","description":"Type of compensation. sal - Salary, pay - , INCTV - Incentive, SVCR - Severance"},"currencyCode":{"type":"string"},"period":{"type":"string","enum":["HRLY","DLY","WKLY","BWKLY","MTHLY","BMTH","QTRLY","BYRLY","YRLY","ONEF"],"default":"HRLY","description":"Time period for compensation. HRLY - Hourly, DLY - Daily, WKLY - Weekly, BWKLY - Bi-Weekly, MTHLY - Monthly, BMTH - Bi-Monthly, QTRLY -…"},"effectivedate":{"type":"string"},"enddate":{"type":"string"},"status":{"type":"string","enum":["ACTV","ARCHV","PVNL"],"default":"ACTV","description":"Status of compensation. ACTV - Active, ARCHV - Archive, PVNL - Provisional"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/people-and-permissions-get-user-list":{"get":{"operationId":"business_clayhr_people_and_permissions_get_user_list","summary":"Retrieve a user or list of users","description":"GET /api/user/list","tags":["business"],"parameters":[{"name":"name","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/people-and-permissions-get-user-permissions-and-menu-configu":{"get":{"operationId":"business_clayhr_people_and_permissions_get_user_permissions_and_menu_configu","summary":"Retrieve user permissions and menu configurations","description":"GET /api/user/permissions","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/people-and-permissions-get-financial-status":{"get":{"operationId":"business_clayhr_people_and_permissions_get_financial_status","summary":"Retrieve user financial status","description":"GET /api/user/update/status","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/people-and-permissions-upload-user-profile-picture":{"post":{"operationId":"business_clayhr_people_and_permissions_upload_user_profile_picture","summary":"Upload user profile","description":"POST /api/user/uploadpicture","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"Form fields as a JSON object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/people-and-permissions-get-all-users-details":{"get":{"operationId":"business_clayhr_people_and_permissions_get_all_users_details","summary":"Retrieve all users details","description":"GET /api/users","tags":["business"],"parameters":[{"name":"name","in":"query","required":false,"description":"Name of the user.","schema":{"type":"string","description":"Name of the user."}},{"name":"page","in":"query","required":false,"description":"Page number.","schema":{"type":"integer","default":1,"description":"Page number."}},{"name":"pageSize","in":"query","required":false,"description":"Number of users per page.","schema":{"type":"integer","default":20,"description":"Number of users per page."}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}},{"name":"startDateBefore","in":"query","required":false,"description":"The date before the assigned Start Date.","schema":{"type":"string","description":"The date before the assigned Start Date."}},{"name":"startDateAfter","in":"query","required":false,"description":"The date after the assigned Start Date.","schema":{"type":"string","description":"The date after the assigned Start Date."}},{"name":"endDateBefore","in":"query","required":false,"description":"The date before the assigned End Date.","schema":{"type":"string","description":"The date before the assigned End Date."}},{"name":"endDateAfter","in":"query","required":false,"description":"The date after the assigned End Date.","schema":{"type":"string","description":"The date after the assigned End Date."}},{"name":"status","in":"query","required":false,"description":"Status of the user. A- Active User I- Inactive User F- Future Joiner","schema":{"type":"string","enum":["A","I","F"],"default":"A","description":"Status of the user. A- Active User I- Inactive User F- Future Joiner"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/people-and-permissions-get-basic-user-details":{"get":{"operationId":"business_clayhr_people_and_permissions_get_basic_user_details","summary":"Retrieve basic user details","description":"GET /api/users/basic","tags":["business"],"parameters":[{"name":"name","in":"query","required":false,"description":"Name of the user.","schema":{"type":"string","description":"Name of the user."}},{"name":"page","in":"query","required":false,"description":"Page number.","schema":{"type":"integer","default":1,"description":"Page number."}},{"name":"pageSize","in":"query","required":false,"description":"Number of users per page.","schema":{"type":"integer","default":20,"description":"Number of users per page."}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}},{"name":"startDateBefore","in":"query","required":false,"description":"The date before the assigned Start Date.","schema":{"type":"string","description":"The date before the assigned Start Date."}},{"name":"startDateAfter","in":"query","required":false,"description":"The date after the assigned Start Date.","schema":{"type":"string","description":"The date after the assigned Start Date."}},{"name":"endDateBefore","in":"query","required":false,"description":"The date before the assigned End Date.","schema":{"type":"string","description":"The date before the assigned End Date."}},{"name":"endDateAfter","in":"query","required":false,"description":"The date after the assigned End Date.","schema":{"type":"string","description":"The date after the assigned End Date."}},{"name":"status","in":"query","required":false,"description":"Status of the user. A- Active User I- Inactive User F- Future Joiner","schema":{"type":"string","enum":["A","I","F"],"default":"A","description":"Status of the user. A- Active User I- Inactive User F- Future Joiner"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/people-and-permissions-save-user-address":{"post":{"operationId":"business_clayhr_people_and_permissions_save_user_address","summary":"Save User Address","description":"POST /api/address/save","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"empId":{"type":"string","description":"The unique identity of the employee."},"email":{"type":"string","description":"Email address of the user."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/people-and-permissions-save-user-education":{"post":{"operationId":"business_clayhr_people_and_permissions_save_user_education","summary":"Save User Education","description":"POST /api/education/save","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"empId":{"type":"string","description":"The unique identity of the employee."},"email":{"type":"string","description":"Email address of the user."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/people-and-permissions-save-user-employment":{"post":{"operationId":"business_clayhr_people_and_permissions_save_user_employment","summary":"Save User Employment","description":"POST /api/employment/save","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"empId":{"type":"string","description":"The unique identity of the employee."},"email":{"type":"string","description":"Email address of the user."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/people-and-permissions-add-reports-to":{"post":{"operationId":"business_clayhr_people_and_permissions_add_reports_to","summary":"Add reports to","description":"POST /api/user/orgrelation/add","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"empId":{"type":"string","description":"The unique identity of the employee."},"email":{"type":"string","description":"Email address of the user."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/people-and-permissions-save-custom-field-values":{"post":{"operationId":"business_clayhr_people_and_permissions_save_custom_field_values","summary":"Save Custom Field values","description":"POST /api/user/saveCustomFieldValues","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"empId":{"type":"string","description":"The unique identity of the employee."},"guid":{"type":"string","description":"The unique system generated ID of the user."},"email":{"type":"string","description":"Email address of the user."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/people-and-permissions-delete-user-address":{"post":{"operationId":"business_clayhr_people_and_permissions_delete_user_address","summary":"Delete User Address","description":"POST /api/user/address/delete","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["addressId"],"properties":{"addressId":{"type":"string","description":"The unique ID of the address."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/people-and-permissions-delete-user-employment":{"post":{"operationId":"business_clayhr_people_and_permissions_delete_user_employment","summary":"Deletes User Employment","description":"POST /api/user/employment/delete","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["empid"],"properties":{"empid":{"type":"integer","description":"The unique identity of the employee."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/people-and-permissions-delete-user-education":{"post":{"operationId":"business_clayhr_people_and_permissions_delete_user_education","summary":"Delete User Education","description":"POST /user/education/delete","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["educationId"],"properties":{"educationId":{"type":"string","description":"Education ID the user"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/performance-review-get-performance-reviews":{"get":{"operationId":"business_clayhr_performance_review_get_performance_reviews","summary":"Retrieve Performance Reviews","description":"GET /appraisal/user","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/performance-review-get-templates":{"get":{"operationId":"business_clayhr_performance_review_get_templates","summary":"Retrieve Performance Review Templates","description":"GET /appraisal/template/list","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/performance-review-create-performance-review":{"post":{"operationId":"business_clayhr_performance_review_create_performance_review","summary":"Create Performance Review","description":"POST /appraisal/add","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["templateId"],"properties":{"templateId":{"type":"integer","description":"The ID of the performance review template."},"StartDate":{"type":"string","description":"Start Date of the performance review."},"EndDate":{"type":"string","description":"End Date of the performance review."},"AppraisalType":{"type":"string","enum":["Annual","Mid-Year","Quarterly","Probation","Other"],"default":"Annual","description":"Review Period"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/performance-review-get-completed-reviews-based-on-user-id":{"get":{"operationId":"business_clayhr_performance_review_get_completed_reviews_based_on_user_id","summary":"Retrieve Completed Performance Reviews","description":"GET /appraisal/getCompletedReviews","tags":["business"],"parameters":[{"name":"targetUserId","in":"query","required":true,"description":"The ID of the user.","schema":{"type":"integer","description":"The ID of the user."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/performance-review-launch-performance-reviews-in-bulk":{"post":{"operationId":"business_clayhr_performance_review_launch_performance_reviews_in_bulk","summary":"Launch Performance Reviews In Bulk","description":"POST /appraisal/bulkLaunch","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"templateId":{"type":"string"},"reviewType":{"type":"string"},"startDate":{"type":"string"},"endDate":{"type":"string"},"importGoals":{"type":"string"},"importJobProfileSkills":{"type":"string"},"importSkills":{"type":"string"},"userIdList":{"type":"string"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/performance-review-assignment-get-assignments":{"get":{"operationId":"business_clayhr_performance_review_assignment_get_assignments","summary":"Retrieve Performance Review Assignments","description":"GET /appraisal/assignment","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/positions-create-position":{"post":{"operationId":"business_clayhr_positions_create_position","summary":"Save Position","description":"POST /position/save","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","count","status","accessLevel","dateOpen","dateClose","positionUID","funnelId"],"properties":{"name":{"type":"string","description":"Name of Position"},"description":{"type":"string","description":"Description of Position"},"count":{"type":"integer","default":"1","description":"Number of openings"},"status":{"type":"string","enum":["OPEN","HOLD"],"default":"OPEN","description":"Status of Position"},"accessLevel":{"type":"string","enum":["pvt","ijp","pub"],"default":"pvt","description":"Access level of Position 'pvt' - Private, 'ijp' - Publish Internally, 'pub' - Public"},"requirements":{"type":"string","description":"Requirements of Position"},"responsibilities":{"type":"string","description":"Responsibilities of Position"},"dateOpen":{"type":"string","description":"Date of Opening"},"dateClose":{"type":"string","description":"Date of Closing"},"positionUID":{"type":"string","description":"Unique Identity of Position"},"projectid":{"type":"integer","description":"Project ID of Position"},"funnelId":{"type":"integer","description":"Candidate Funnel ID of Position"},"approvalFlowId":{"type":"integer","description":"Position Approval Flow ID of Position"},"locationid":{"type":"integer","description":"Location ID of Position"},"departmentId":{"type":"string","description":"Department ID of Position"},"profileid":{"type":"integer","description":"Profile ID of Position"},"recruiterId":{"type":"integer","description":"ID of Recruiter"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/positions-get-position":{"get":{"operationId":"business_clayhr_positions_get_position","summary":"Retrieve position","description":"GET /position/view","tags":["business"],"parameters":[{"name":"positionid","in":"query","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/positions-get-positions-list":{"get":{"operationId":"business_clayhr_positions_get_positions_list","summary":"Retrieve positions","description":"GET /position/list","tags":["business"],"parameters":[{"name":"search","in":"query","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"description":"Page number","schema":{"type":"integer","description":"Page number"}},{"name":"pageSize","in":"query","required":false,"description":"Number of users per page","schema":{"type":"integer","description":"Number of users per page"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/project-list-allocations":{"get":{"operationId":"business_clayhr_project_list_allocations","summary":"List Allocations","description":"GET /api/projects/allocation/{projectId}","tags":["business"],"parameters":[{"name":"projectId","in":"query","required":true,"description":"The ID of the project.","schema":{"type":"integer","description":"The ID of the project."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/project-assign-user-allocation":{"post":{"operationId":"business_clayhr_project_assign_user_allocation","summary":"Assign Project Allocation","description":"POST /api/projects/allocation","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/project-details-by-id":{"get":{"operationId":"business_clayhr_project_details_by_id","summary":"Retrieve Project","description":"GET /api/projects/{projectId}","tags":["business"],"parameters":[{"name":"projectId","in":"query","required":true,"description":"The ID of the project.","schema":{"type":"string","description":"The ID of the project."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/project-list-projects":{"get":{"operationId":"business_clayhr_project_list_projects","summary":"List Projects","description":"GET /api/projects","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/project-create-new":{"post":{"operationId":"business_clayhr_project_create_new","summary":"Create Project","description":"POST /api/projects","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/reports-get-report-details":{"get":{"operationId":"business_clayhr_reports_get_report_details","summary":"Get report","description":"GET /api/report","tags":["business"],"parameters":[{"name":"analyticId","in":"query","required":true,"description":"analyticId","schema":{"type":"string","description":"analyticId"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/reports-get-content-by-analytic-id":{"get":{"operationId":"business_clayhr_reports_get_content_by_analytic_id","summary":"Get content for report by analytic Id","description":"GET /api/report/content","tags":["business"],"parameters":[{"name":"analyticId","in":"query","required":true,"description":"analyticId","schema":{"type":"string","description":"analyticId"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/reports-get-content-for-report":{"get":{"operationId":"business_clayhr_reports_get_content_for_report","summary":"Retrieve report content","description":"GET /report/content","tags":["business"],"parameters":[{"name":"analyticId","in":"query","required":true,"description":"The ID of the report.","schema":{"type":"integer","description":"The ID of the report."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/skills-create-new-skill":{"post":{"operationId":"business_clayhr_skills_create_new_skill","summary":"Create a new skill","description":"POST /skill/add","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/skills-get-skills":{"get":{"operationId":"business_clayhr_skills_get_skills","summary":"Retrieve skills","description":"GET /skills","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/skills-get-user-assigned-skills":{"get":{"operationId":"business_clayhr_skills_get_user_assigned_skills","summary":"Retrieve skills assigned to a user","description":"GET /userSkill","tags":["business"],"parameters":[{"name":"assignedUserID","in":"query","required":true,"description":"The ID of the user whose skills should be retrieved.","schema":{"type":"integer","description":"The ID of the user whose skills should be retrieved."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/survey-get-all-survey-responses":{"get":{"operationId":"business_clayhr_survey_get_all_survey_responses","summary":"Retrieve all the Responses of the Survey","description":"GET /api/survey/allresponses","tags":["business"],"parameters":[{"name":"SurveyId","in":"query","required":false,"description":"The ID of the survey.","schema":{"type":"integer","description":"The ID of the survey."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/survey-create-item-response":{"post":{"operationId":"business_clayhr_survey_create_item_response","summary":"Create the item's response for a survey","description":"POST /api/survey/item/save","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["assignmentId","itemId","responseValue"],"properties":{"assignmentId":{"type":"integer","description":"assignmentId"},"itemId":{"type":"integer","description":"itemId"},"responseValue":{"type":"string","description":"responseValue"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/survey-get-list":{"get":{"operationId":"business_clayhr_survey_get_list","summary":"Get a list of surveys","description":"GET /api/survey/list","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/survey-create-response-by-assignment-id":{"post":{"operationId":"business_clayhr_survey_create_response_by_assignment_id","summary":"Create a survey response by assignment id","description":"POST /api/survey/save","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["assignmentId"],"properties":{"assignmentId":{"type":"integer","description":"assignmentId"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/survey-details-by-form-id":{"get":{"operationId":"business_clayhr_survey_details_by_form_id","summary":"Get the details of a survey form by form id","description":"GET /api/survey/view","tags":["business"],"parameters":[{"name":"dynamicFormId","in":"query","required":false,"description":"dynamicFormId","schema":{"type":"integer","default":0,"description":"dynamicFormId"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/timecards-get-by-user-id":{"get":{"operationId":"business_clayhr_timecards_get_by_user_id","summary":"Retrieve timecard details by User ID.","description":"GET /api/user/timecard","tags":["business"],"parameters":[{"name":"email","in":"query","required":false,"description":"email of the user.","schema":{"type":"string","description":"email of the user."}},{"name":"guid","in":"query","required":false,"description":"Graphical user ID.","schema":{"type":"string","description":"Graphical user ID."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/timecards-get-by-user-id-2":{"get":{"operationId":"business_clayhr_timecards_get_by_user_id_2","summary":"Retrieve timecard basic details by User ID.","description":"GET /api/user/timecards","tags":["business"],"parameters":[{"name":"email","in":"query","required":false,"description":"email of the user.","schema":{"type":"string","description":"email of the user."}},{"name":"guid","in":"query","required":false,"description":"Graphical user ID.","schema":{"type":"string","description":"Graphical user ID."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/timecards-clock-out":{"get":{"operationId":"business_clayhr_timecards_clock_out","summary":"Clock Out","description":"GET /timecard/clock/out","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/timecards-verify-device-with-device-uuid":{"get":{"operationId":"business_clayhr_timecards_verify_device_with_device_uuid","summary":"Device verification with DeviceUUID.","description":"GET /verify/device","tags":["business"],"parameters":[{"name":"deviceUUID","in":"query","required":true,"description":"deviceUUID","schema":{"type":"string","description":"deviceUUID"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/timecards-get-tvcfor-clockin-with-qrcode-using-cid":{"get":{"operationId":"business_clayhr_timecards_get_tvcfor_clockin_with_qrcode_using_cid","summary":"TVC code for clockin with QR Code using cid.","description":"GET /verify/tvc","tags":["business"],"parameters":[{"name":"cid","in":"query","required":true,"description":"cid","schema":{"type":"integer","description":"cid"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/timecards-verify-user-with-userid":{"get":{"operationId":"business_clayhr_timecards_verify_user_with_userid","summary":"User verification with userid.","description":"GET /verify/user","tags":["business"],"parameters":[{"name":"adpAssociateOID","in":"query","required":false,"schema":{"type":"string"}},{"name":"allocation","in":"query","required":false,"schema":{"type":"number"}},{"name":"appleUserIdentifier","in":"query","required":false,"schema":{"type":"string"}},{"name":"assignments","in":"query","required":false,"schema":{"type":"string"}},{"name":"authToken","in":"query","required":false,"schema":{"type":"string"}},{"name":"calWeekPref","in":"query","required":false,"schema":{"type":"string"}},{"name":"calendarId","in":"query","required":false,"schema":{"type":"integer"}},{"name":"candidateId","in":"query","required":false,"schema":{"type":"integer"}},{"name":"careerPathwayId","in":"query","required":false,"schema":{"type":"integer"}},{"name":"cellPhone","in":"query","required":false,"schema":{"type":"string"}},{"name":"cid","in":"query","required":false,"schema":{"type":"integer"}},{"name":"countryId","in":"query","required":false,"schema":{"type":"integer"}},{"name":"createts.date","in":"query","required":false,"schema":{"type":"integer"}},{"name":"createts.day","in":"query","required":false,"schema":{"type":"integer"}},{"name":"createts.hours","in":"query","required":false,"schema":{"type":"integer"}},{"name":"createts.minutes","in":"query","required":false,"schema":{"type":"integer"}},{"name":"createts.month","in":"query","required":false,"schema":{"type":"integer"}},{"name":"createts.nanos","in":"query","required":false,"schema":{"type":"integer"}},{"name":"createts.seconds","in":"query","required":false,"schema":{"type":"integer"}},{"name":"createts.time","in":"query","required":false,"schema":{"type":"integer"}},{"name":"createts.timezoneOffset","in":"query","required":false,"schema":{"type":"integer"}},{"name":"createts.year","in":"query","required":false,"schema":{"type":"integer"}},{"name":"createuserid","in":"query","required":false,"schema":{"type":"integer"}},{"name":"thumbnail","in":"query","required":false,"schema":{"type":"string"}},{"name":"timecardPeriodPref","in":"query","required":false,"schema":{"type":"string"}},{"name":"timezone","in":"query","required":false,"schema":{"type":"string"}},{"name":"tosVersion","in":"query","required":false,"schema":{"type":"string"}},{"name":"userCountry","in":"query","required":false,"schema":{"type":"string"}},{"name":"userDateFormat","in":"query","required":false,"schema":{"type":"string"}},{"name":"userDateOfBirth","in":"query","required":false,"schema":{"type":"string"}},{"name":"userDisplayName","in":"query","required":false,"schema":{"type":"string"}},{"name":"userEndDate","in":"query","required":false,"schema":{"type":"string"}},{"name":"userName","in":"query","required":false,"schema":{"type":"string"}},{"name":"userNameFormat","in":"query","required":false,"schema":{"type":"string"}},{"name":"userType","in":"query","required":false,"schema":{"type":"string"}},{"name":"view","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"workerType","in":"query","required":false,"schema":{"type":"string"}},{"name":"workingDays","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/timecards-register-device-for-clock-in-with-asset-model":{"post":{"operationId":"business_clayhr_timecards_register_device_for_clock_in_with_asset_model","summary":"Register device for ClockIn with AssetModel.","description":"POST /register","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"accessories":{"type":"string"},"acknowledge":{"type":"integer"},"assetID":{"type":"integer"},"assetno":{"type":"string"},"assetstatus":{"type":"string"},"assettype":{"type":"string"},"purchaseDate":{"type":"string"},"selfAssign":{"type":"integer"},"serialno":{"type":"string"},"service":{"type":"string"},"source":{"type":"string"},"specs":{"type":"string"},"supplier":{"type":"string"},"useStatusCode":{"type":"string"},"userDomain":{"type":"string"},"userMail":{"type":"string"},"userPassword":{"type":"string"},"uuid":{"type":"string"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/timecards-get-details-by-timecard-id":{"get":{"operationId":"business_clayhr_timecards_get_details_by_timecard_id","summary":"Retrieve timecard details based on timecard ID.","description":"GET /api/timecards/details/{timecardId}","tags":["business"],"parameters":[{"name":"timecardId","in":"query","required":true,"description":"Timecard ID of the timecard.","schema":{"type":"integer","description":"Timecard ID of the timecard."}},{"name":"flatcustomfields","in":"query","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/timesheets-get-timecards-by-timesheet-id":{"get":{"operationId":"business_clayhr_timesheets_get_timecards_by_timesheet_id","summary":"Retrieve timecards by Timesheet ID.","description":"GET /api/timecards","tags":["business"],"parameters":[{"name":"startDate","in":"query","required":true,"description":"Start date of the timesheet.","schema":{"type":"string","description":"Start date of the timesheet."}},{"name":"endDate","in":"query","required":true,"description":"End date of the timesheet.","schema":{"type":"string","description":"End date of the timesheet."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/timesheets-list-activity-types-by-cid":{"get":{"operationId":"business_clayhr_timesheets_list_activity_types_by_cid","summary":"Retrieve list of activity types based on cid.","description":"GET /api/timesheet/activitytype/list","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/timesheets-get-active-allocations":{"get":{"operationId":"business_clayhr_timesheets_get_active_allocations","summary":"Retrieve my active allocations.","description":"GET /api/timesheet/allocations/list","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/timesheets-clock-in":{"post":{"operationId":"business_clayhr_timesheets_clock_in","summary":"Clock in.","description":"POST /api/timesheet/clockin","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"proceedOutsideGeoFence":{"type":"integer","default":0,"description":"To clockin outside geofence"},"description":{"type":"string","description":"Description of timecard."},"projectId":{"type":"integer","description":"Project ID of project."},"projectManager":{"type":"string","description":"Project Manager corresponding user."},"categoryCode":{"type":"string","enum":["RG","OT"],"description":"Category of timecard. Choose between [\"Regular\", \"Overtime\"]."},"notes":{"type":"string","description":"Notes."},"billable":{"type":"string","enum":["Y","N"],"description":"Billable or non- billable timecard. Select 'Y' for billable and 'N' for non-billable"},"activity":{"type":"string","description":"Activity type of timecard."},"approvalRejectionReason":{"type":"string","description":"Reason for approval rejection."},"clockInLongitude":{"type":"number","description":"Longitude value while clocking in."},"clockInLatitude":{"type":"number","description":"Latitude value while clocking in."},"clockOutLongitude":{"type":"number","description":"Longitude value while clocking out."},"clockOutLatitude":{"type":"number","description":"Latitude value while clocking out."},"projectAreaId":{"type":"integer","description":"Project area ID of project area."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/timesheets-clock-out":{"post":{"operationId":"business_clayhr_timesheets_clock_out","summary":"Clock out.","description":"POST /api/timesheet/clockout","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"proceedOutsideGeoFence":{"type":"integer","default":0,"description":"clock out outside geofence"},"description":{"type":"string","description":"Description of timecard."},"projectId":{"type":"integer","description":"Project ID of project."},"projectManager":{"type":"string","description":"Project Manager corresponding user."},"categoryCode":{"type":"string","enum":["RG","OT"],"description":"Category of timecard. Choose between [\"Regular\", \"Overtime\"]."},"notes":{"type":"string","description":"Notes."},"billable":{"type":"string","enum":["Y","N"],"description":"Billable or non- billable timecard. Select 'Y' for billable and 'N' for non-billable"},"activity":{"type":"string","description":"Activity type of timecard."},"approvalRejectionReason":{"type":"string","description":"Reason for approval rejection."},"clockInLongitude":{"type":"number","description":"Longitude value while clocking in."},"clockInLatitude":{"type":"number","description":"Latitude value while clocking in."},"clockOutLongitude":{"type":"number","description":"Longitude value while clocking out."},"clockOutLatitude":{"type":"number","description":"Latitude value while clocking out."},"projectAreaId":{"type":"integer","description":"Project area ID of project area."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/timesheets-delete-by-timesheet-id":{"post":{"operationId":"business_clayhr_timesheets_delete_by_timesheet_id","summary":"Delete a timesheet.","description":"POST /api/timesheet/delete","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["timesheetId"],"properties":{"timesheetId":{"type":"integer","description":"Timesheet ID of timesheet."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/timesheets-get-preferences-by-cid":{"get":{"operationId":"business_clayhr_timesheets_get_preferences_by_cid","summary":"Retrieve my timesheet preferences.","description":"GET /api/timesheet/preferences/list","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/timesheets-create-or-update-timesheet":{"post":{"operationId":"business_clayhr_timesheets_create_or_update_timesheet","summary":"Create/Update a timesheet.","description":"POST /api/timesheet/save","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["date","projectId","elapsedTime"],"properties":{"date":{"type":"string","description":"Timesheet date."},"projectId":{"type":"integer","description":"Project ID of project."},"elapsedTime":{"type":"string","description":"Elapsed Time of timecard."},"cardId":{"type":"integer","description":"Timecard Id of timecard."},"description":{"type":"string","description":"Description of timecard."},"clockedOutsideGeofence":{"type":"integer","description":"Clocked in or clocked out outside geofence."},"projectManager":{"type":"string","description":"Project Manager corresponding user."},"categoryCode":{"type":"string","enum":["RG","OT"],"description":"Category of timecard. Choose between [\"Regular\", \"Overtime\"]."},"notes":{"type":"string","description":"Notes."},"billable":{"type":"string","enum":["Y","N"],"description":"Billable or non- billable timecard. Select 'Y' for billable and 'N' for non-billable"},"activity":{"type":"string","description":"Activity type of timecard."},"approvalRejectionReason":{"type":"string","description":"Reason for approval rejection."},"clockInLongitude":{"type":"number","description":"Longitude value while clocking in."},"clockInLatitude":{"type":"number","description":"Latitude value while clocking in."},"clockOutLongitude":{"type":"number","description":"Longitude value while clocking out."},"clockOutLatitude":{"type":"number","description":"Latitude value while clocking out."},"projectAreaId":{"type":"integer","description":"Project area ID of project area."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/timesheets-update-status-by-timesheet-id":{"post":{"operationId":"business_clayhr_timesheets_update_status_by_timesheet_id","summary":"Update timesheet status by Timesheet ID.","description":"POST /api/timesheet/update","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["timesheetId","status"],"properties":{"timesheetId":{"type":"integer","description":"Timesheet ID of the timesheet."},"status":{"type":"string","enum":["PD","PAP","AP","NEW","RJ"],"description":"Status of timecard. Choose between [\"PD-Pending for Approval\", \"PAP-Partially Approved\", \"AP-Fully Approved\",\"NEW-New…"},"comments":{"type":"string","description":"Comments"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/timesheets-get-by-user-id":{"get":{"operationId":"business_clayhr_timesheets_get_by_user_id","summary":"Retrieve timesheets by User ID.","description":"GET /api/timesheets","tags":["business"],"parameters":[{"name":"startDate","in":"query","required":false,"description":"Start date of the timesheet.","schema":{"type":"string","description":"Start date of the timesheet."}},{"name":"endDate","in":"query","required":false,"description":"End date of the timesheet.","schema":{"type":"string","description":"End date of the timesheet."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/timesheets-get-approval-list":{"get":{"operationId":"business_clayhr_timesheets_get_approval_list","summary":"Retrieve timesheet approvals.","description":"GET /api/timesheet/approvals/list","tags":["business"],"parameters":[{"name":"startDate","in":"query","required":true,"description":"Start date of the timesheet.","schema":{"type":"string","description":"Start date of the timesheet."}},{"name":"endDate","in":"query","required":true,"description":"End date of the timesheet.","schema":{"type":"string","description":"End date of the timesheet."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/timesheets-get-by-timesheet-id":{"get":{"operationId":"business_clayhr_timesheets_get_by_timesheet_id","summary":"Retrieve a timesheet by timesheet ID.","description":"GET /api/timesheet","tags":["business"],"parameters":[{"name":"timesheetId","in":"query","required":true,"description":"Tmesheet ID of timesheet.","schema":{"type":"integer","description":"Tmesheet ID of timesheet."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/timesheets-get-details-by-timesheet-id":{"get":{"operationId":"business_clayhr_timesheets_get_details_by_timesheet_id","summary":"Retrieve timesheet details by Timesheet ID.","description":"GET /api/timesheets/details/{timeSheetId}","tags":["business"],"parameters":[{"name":"timeSheetId","in":"query","required":true,"description":"Timesheet ID of timesheet.","schema":{"type":"integer","description":"Timesheet ID of timesheet."}},{"name":"flatcustomfields","in":"query","required":false,"schema":{"type":"boolean","default":0}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/trainings-get-training-content-by-training-id":{"get":{"operationId":"business_clayhr_trainings_get_training_content_by_training_id","summary":"Retrieve training content by training ID","description":"GET /api/training/content","tags":["business"],"parameters":[{"name":"trainingId","in":"query","required":true,"description":"trainingId","schema":{"type":"integer","description":"trainingId"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/trainings-update-user-status":{"post":{"operationId":"business_clayhr_trainings_update_user_status","summary":"Update training status for user","description":"POST /api/training/status/update","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["status","userTrainingId"],"properties":{"status":{"type":"string","description":"Status of the user training."},"userTrainingId":{"type":"integer","description":"The ID of the user training."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/trainings-synchronize-with-talent-lms":{"get":{"operationId":"business_clayhr_trainings_synchronize_with_talent_lms","summary":"Sync with talent LMS","description":"GET /api/training/talentlms/sync","tags":["business"],"parameters":[{"name":"redirectUrl","in":"query","required":true,"description":"redirectUrl","schema":{"type":"string","description":"redirectUrl"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/trainings-get-by-user-id":{"get":{"operationId":"business_clayhr_trainings_get_by_user_id","summary":"Retrieve trainings by user ID","description":"GET /api/trainings","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/user-pto-policies-list-pto-policies":{"get":{"operationId":"business_clayhr_user_pto_policies_list_pto_policies","summary":"Retrieve list of PTO policies","description":"GET /ptopolicies","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/user-pto-policies-get-policies":{"get":{"operationId":"business_clayhr_user_pto_policies_get_policies","summary":"Retrieve your PTO Policies","description":"GET /v3/user/pto","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/user-workflow-assign-workflow-to-user":{"post":{"operationId":"business_clayhr_user_workflow_assign_workflow_to_user","summary":"Assign Workflow to User","description":"POST /api/v3/userworkflow/assign/{workflowId}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workflowId","assigneeUserId","coordinatorUserId"],"properties":{"workflowId":{"type":"integer","description":"The ID of the workflow."},"assigneeUserId":{"type":"integer","description":"The ID of Workflow Assignee."},"coordinatorUserId":{"type":"integer","description":"The ID of Workflow Coordinator."},"comment":{"type":"string","description":"Comment of the workflow."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/workflows-get-user-workflows":{"get":{"operationId":"business_clayhr_workflows_get_user_workflows","summary":"Get workflows by user id.","description":"GET /api/v3/userworkflows","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/workflows-list-tasks-by-userworkflow-id":{"get":{"operationId":"business_clayhr_workflows_list_tasks_by_userworkflow_id","summary":"Get tasks by userworkflowid.","description":"GET /api/v3/userworkflows/{userworkflowid}","tags":["business"],"parameters":[{"name":"userworkflowid","in":"query","required":true,"description":"userworkflowid","schema":{"type":"integer","description":"userworkflowid"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/workflows-create-new-task":{"post":{"operationId":"business_clayhr_workflows_create_new_task","summary":"Create a new task.","description":"POST /api/v3/task/add","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/workflows-update-status-task":{"post":{"operationId":"business_clayhr_workflows_update_status_task","summary":"Update status workflow task.","description":"POST /api/v3/task/update/status","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"appraisalId":{"type":"integer"},"assignedUserId":{"type":"integer"},"ci":{"type":"boolean"},"cid":{"type":"integer"},"createUserId":{"type":"integer"},"createts":{"type":"string"},"description":{"type":"string"},"dueDate":{"type":"string"},"lastEdit":{"type":"string"},"launchts.date":{"type":"integer"},"launchts.day":{"type":"integer"},"launchts.hours":{"type":"integer"},"launchts.minutes":{"type":"integer"},"launchts.month":{"type":"integer"},"launchts.nanos":{"type":"integer"},"launchts.seconds":{"type":"integer"},"launchts.time":{"type":"integer"},"launchts.timezoneOffset":{"type":"integer"},"launchts.year":{"type":"integer"},"phasename":{"type":"string"},"projectId":{"type":"integer"},"recruitId":{"type":"integer"},"statusCode":{"type":"string"},"systemTask":{"type":"integer"},"taskId":{"type":"integer"},"taskUID":{"type":"integer"},"title":{"type":"string"},"transitionName":{"type":"string"},"type":{"type":"string"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/workflows-get-task-details-by-task-id":{"get":{"operationId":"business_clayhr_workflows_get_task_details_by_task_id","summary":"Get the details of a workflow task by task id.","description":"GET /api/v3/task/{taskid}","tags":["business"],"parameters":[{"name":"taskid","in":"query","required":true,"description":"taskid","schema":{"type":"integer","description":"taskid"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/workflows-get-tasks-by-user-id":{"get":{"operationId":"business_clayhr_workflows_get_tasks_by_user_id","summary":"Get tasks by user id.","description":"GET /api/v3/tasks","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/workflows-get-workflows":{"get":{"operationId":"business_clayhr_workflows_get_workflows","summary":"Get workflows.","description":"GET /api/workflows","tags":["business"],"parameters":[{"name":"status","in":"query","required":false,"description":"status","schema":{"type":"string","default":"A","description":"status"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/test-get-test":{"get":{"operationId":"business_clayhr_test_get_test","summary":"Retrieve test","description":"GET /api/test","tags":["business"],"parameters":[{"name":"status","in":"query","required":true,"description":"The status of test - Choose between [\"A-Active\", \"ARCHV-Archive\", \"DRAFT-Draft\"].","schema":{"type":"string","enum":["A","ARCHV","DRAFT"],"default":"A","description":"The status of test - Choose between [\"A-Active\", \"ARCHV-Archive\", \"DRAFT-Draft\"]."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/shifts-list-shifts-using-get":{"get":{"operationId":"business_clayhr_shifts_list_shifts_using_get","summary":"Get Shifts","description":"GET /api/shifts","tags":["business"],"parameters":[{"name":"projectId","in":"query","required":false,"description":"projectId","schema":{"type":"integer","description":"projectId"}},{"name":"startDate","in":"query","required":false,"description":"startDate","schema":{"type":"string","description":"startDate"}},{"name":"endDate","in":"query","required":false,"description":"endDate","schema":{"type":"string","description":"endDate"}},{"name":"status","in":"query","required":false,"description":"status","schema":{"type":"string","description":"status"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/shifts-save-shift":{"post":{"operationId":"business_clayhr_shifts_save_shift","summary":"Save Shift","description":"POST /api/shifts/save","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/candidates-extract-pdf-resume":{"post":{"operationId":"business_clayhr_candidates_extract_pdf_resume","summary":"Create a candidate from pdf resume","description":"POST /resume","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/feedback-list-feedback":{"get":{"operationId":"business_clayhr_feedback_list_feedback","summary":"Retrieve feedback","description":"GET /rm/api/feedback","tags":["business"],"parameters":[{"name":"type","in":"query","required":true,"description":"Type of feedback to retrieve. Choose between [\"all\", \"my\", \"team\"]. all - All Feedback, my - My Feedback, team - Team's feedback","schema":{"type":"string","enum":["all","my","team"],"default":"all","description":"Type of feedback to retrieve. Choose between [\"all\", \"my\", \"team\"]. all - All Feedback, my - My Feedback, team - Team's feedback"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/goals-get-goal":{"get":{"operationId":"business_clayhr_goals_get_goal","summary":"Retrieve Goal","description":"GET /getgoal","tags":["business"],"parameters":[{"name":"goalid","in":"query","required":true,"description":"ID to get a goal.","schema":{"type":"integer","description":"ID to get a goal."}},{"name":"reviewUserId","in":"query","required":false,"description":"The ID of the user who is reviewee.","schema":{"type":"integer","description":"The ID of the user who is reviewee."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/goals-get-all-goals":{"get":{"operationId":"business_clayhr_goals_get_all_goals","summary":"Retrieve all goals","description":"GET /goal","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/goals-create-new-goal":{"post":{"operationId":"business_clayhr_goals_create_new_goal","summary":"Create new goal","description":"POST /goal","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"additive":{"type":"integer"},"begindate":{"type":"string"},"cid":{"type":"integer"},"commentCrediteatets":{"type":"string"},"commentDescription":{"type":"string"},"companyGoal":{"type":"integer"},"completionRatio":{"type":"number"},"createUserId":{"type":"integer"},"createts.date":{"type":"integer"},"createts.day":{"type":"integer"},"createts.hours":{"type":"integer"},"createts.minutes":{"type":"integer"},"createts.month":{"type":"integer"},"createts.nanos":{"type":"integer"},"createts.seconds":{"type":"integer"},"createts.time":{"type":"integer"},"createts.timezoneOffset":{"type":"integer"},"createts.year":{"type":"integer"},"crediteatets":{"type":"string"},"currentValue":{"type":"number"},"description":{"type":"string"},"disposition":{"type":"string"},"elapsedTimeRatio":{"type":"number"},"goalId":{"type":"integer"},"goalValue":{"type":"number"},"goalWeightage":{"type":"number"},"hasGoalApprovalPermission":{"type":"boolean"},"id":{"type":"integer"},"initialvalue":{"type":"number"},"isForward":{"type":"boolean"},"lastUpdateUserId":{"type":"integer"},"objectiveId":{"type":"integer"},"parentGoalId":{"type":"integer"},"progressRatio":{"type":"number"},"projectid":{"type":"integer"},"reviewUserId":{"type":"integer","default":0,"description":"reviewUserId"},"state":{"type":"string"},"status":{"type":"string"},"summary":{"type":"string"},"targetDate":{"type":"string"},"typecode":{"type":"string"},"uname":{"type":"string"},"units":{"type":"string"},"visibleToDirectReports":{"type":"integer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/goals-delete-goal":{"post":{"operationId":"business_clayhr_goals_delete_goal","summary":"Delete Goal","description":"DELETE /deletegoal","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["goalId"],"properties":{"goalId":{"type":"integer","description":"GoalId to delete a goal"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/invoice-get-by-project-id":{"get":{"operationId":"business_clayhr_invoice_get_by_project_id","summary":"Retrieve invoices by Project Id","description":"GET /invoice","tags":["business"],"parameters":[{"name":"projectId","in":"query","required":true,"description":"The ID of the project","schema":{"type":"integer","description":"The ID of the project"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/objective-get-by-user-id-or-specific-objective-by-id":{"get":{"operationId":"business_clayhr_objective_get_by_user_id_or_specific_objective_by_id","summary":"Retrieve objectives","description":"GET /objective","tags":["business"],"parameters":[{"name":"objectiveId","in":"query","required":false,"description":"ID of Objective","schema":{"type":"string","description":"ID of Objective"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/people-and-permissions-get-user-details":{"get":{"operationId":"business_clayhr_people_and_permissions_get_user_details","summary":"Retrieve user details","description":"GET /api/user","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/people-and-permissions-get-financial-record":{"get":{"operationId":"business_clayhr_people_and_permissions_get_financial_record","summary":"Retrieve user financial record","description":"GET /api/user/compensation","tags":["business"],"parameters":[{"name":"email","in":"query","required":false,"description":"Email address of the user.","schema":{"type":"string","description":"Email address of the user."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/people-and-permissions-get-users":{"get":{"operationId":"business_clayhr_people_and_permissions_get_users","summary":"Retrieve users","description":"GET /resource","tags":["business"],"parameters":[{"name":"name","in":"query","required":false,"description":"Name of the user.","schema":{"type":"string","description":"Name of the user."}},{"name":"page","in":"query","required":false,"description":"Page number.","schema":{"type":"integer","default":1,"description":"Page number."}},{"name":"pageSize","in":"query","required":false,"description":"Number of users per page.","schema":{"type":"integer","default":20,"description":"Number of users per page."}},{"name":"sortBy","in":"query","required":false,"schema":{"type":"string"}},{"name":"sortOrder","in":"query","required":false,"description":"Order to sort the users. asc- Ascending Order desc- Descending Order","schema":{"type":"string","enum":["asc","desc"],"default":"asc","description":"Order to sort the users. asc- Ascending Order desc- Descending Order"}},{"name":"status","in":"query","required":false,"description":"Status of the user. A- Active User I- Inactive User F- Future Joiner","schema":{"type":"string","enum":["A","I","F"],"default":"A","description":"Status of the user. A- Active User I- Inactive User F- Future Joiner"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/timecards-get-user-by-id":{"get":{"operationId":"business_clayhr_timecards_get_user_by_id","summary":"Get timecards by user id.","description":"GET /timecard","tags":["business"],"parameters":[{"name":"type","in":"query","required":false,"description":"type","schema":{"type":"string","default":"leave","description":"type"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:clayhr/timecards-create-timecard":{"post":{"operationId":"business_clayhr_timecards_create_timecard","summary":"Create a new timecard.","description":"POST /timecard/addtimecard","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"createts.date":{"type":"integer"},"createts.day":{"type":"integer"},"createts.hours":{"type":"integer"},"createts.minutes":{"type":"integer"},"createts.month":{"type":"integer"},"createts.nanos":{"type":"integer"},"createts.seconds":{"type":"integer"},"createts.time":{"type":"integer"},"createts.timezoneOffset":{"type":"integer"},"createts.year":{"type":"integer"},"customHours":{"type":"string"},"date":{"type":"string"},"description":{"type":"string"},"elapsedTime.date":{"type":"integer"},"elapsedTime.day":{"type":"integer"},"elapsedTime.hours":{"type":"integer"},"elapsedTime.minutes":{"type":"integer"},"elapsedTime.month":{"type":"integer"},"elapsedTime.seconds":{"type":"integer"},"elapsedTime.time":{"type":"integer"},"elapsedTime.timezoneOffset":{"type":"integer"},"elapsedTime.year":{"type":"integer"},"endDateTime.date":{"type":"integer"},"endDateTime.day":{"type":"integer"},"endDateTime.hours":{"type":"integer"},"endDateTime.minutes":{"type":"integer"},"endDateTime.month":{"type":"integer"},"endDateTime.nanos":{"type":"integer"},"endDateTime.seconds":{"type":"integer"},"endDateTime.time":{"type":"integer"},"endDateTime.timezoneOffset":{"type":"integer"},"endDateTime.year":{"type":"integer"},"endDateTimeStr":{"type":"string"},"id":{"type":"integer"},"invoiceId":{"type":"integer"},"notes":{"type":"string"},"numberOfDays":{"type":"integer"},"paymentDate":{"type":"string"},"projectId":{"type":"integer"},"projectManager":{"type":"string"},"projectModel.account":{"type":"integer"},"timesheetId":{"type":"integer"},"timezone":{"type":"string"},"usedTime":{"type":"integer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:clayhr/timecards-create-past-timecard":{"post":{"operationId":"business_clayhr_timecards_create_past_timecard","summary":"Create a past timecard.","description":"POST /timecard/clockin","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"activity":{"type":"string"},"amount":{"type":"number"},"approvalRejectionReason":{"type":"string"},"billable":{"type":"string"},"cardId":{"type":"integer"},"caseNum":{"type":"string"},"caseURL":{"type":"string"},"categoryCode":{"type":"string"},"chargeType":{"type":"string"},"cid":{"type":"integer"},"createUserID":{"type":"integer"},"createts.date":{"type":"integer"},"createts.day":{"type":"integer"},"createts.hours":{"type":"integer"},"createts.minutes":{"type":"integer"},"createts.month":{"type":"integer"},"createts.nanos":{"type":"integer"},"createts.seconds":{"type":"integer"},"createts.time":{"type":"integer"},"createts.timezoneOffset":{"type":"integer"},"createts.year":{"type":"integer"},"customHours":{"type":"string"},"date":{"type":"string"},"description":{"type":"string"},"elapsedTime.date":{"type":"integer"},"elapsedTime.day":{"type":"integer"},"elapsedTime.hours":{"type":"integer"},"elapsedTime.minutes":{"type":"integer"},"elapsedTime.month":{"type":"integer"},"elapsedTime.seconds":{"type":"integer"},"elapsedTime.time":{"type":"integer"},"elapsedTime.timezoneOffset":{"type":"integer"},"elapsedTime.year":{"type":"integer"},"endDateTime.date":{"type":"integer"},"endDateTime.day":{"type":"integer"},"endDateTime.hours":{"type":"integer"},"endDateTime.minutes":{"type":"integer"},"endDateTime.month":{"type":"integer"},"endDateTime.nanos":{"type":"integer"},"endDateTime.seconds":{"type":"integer"},"endDateTime.time":{"type":"integer"},"endDateTime.timezoneOffset":{"type":"integer"},"endDateTime.year":{"type":"integer"},"endDateTimeStr":{"type":"string"},"id":{"type":"integer"},"invoiceId":{"type":"integer"},"notes":{"type":"string"},"numberOfDays":{"type":"integer"},"paymentDate":{"type":"string"},"projectId":{"type":"integer"},"projectManager":{"type":"string"},"projectModel.account":{"type":"integer"},"ptoComputed":{"type":"string"},"source":{"type":"string"},"startDateTime.date":{"type":"integer"},"startDateTime.day":{"type":"integer"},"startDateTime.hours":{"type":"integer"},"startDateTime.minutes":{"type":"integer"},"startDateTime.month":{"type":"integer"},"startDateTime.nanos":{"type":"integer"},"startDateTime.seconds":{"type":"integer"},"startDateTime.time":{"type":"integer"},"startDateTime.timezoneOffset":{"type":"integer"},"startDateTime.year":{"type":"integer"},"startDateTimeStr":{"type":"string"},"status":{"type":"string"},"sumOfElapsedTime":{"type":"string"},"timesheetId":{"type":"integer"},"timezone":{"type":"string"},"usedTime":{"type":"integer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}