# profile ----- ## 1. /profile ### 1.1 PUT Edit Pofile (diri dia sendiri) Request : ``` json { "fullname":"string", "nickname":"string", "residence":{ "status":"string", "address":"string", "city":"string", "zip_code":"string", "telephone":"string" }, "permanent":{ "address":"string", "city":"string", "zip_code":"string", "telephone":"string" }, "place_of_birth":date, "date_of_birth":date, "religion":"string", "blood_type":"string", "nationality":"string", "marital_status":"string", "ktp_id":"string", "sim_id":"string", "npwp_id":"string", "handphone":"string", "email":"string", "vehicle":{ "owner":"string", "brand":"string", "type":"string", } } ``` Response : ``` json { "code":integer, "message":"string", "data":{ "id":"string", "fullname":"string", "nickname":"string", "residence":{ "status":"string", "address":"string", "city":"string", "zip_code":"string", "telephone":"string" }, "permanent":{ "address":"string", "city":"string", "zip_code":"string", "telephone":"string" }, "place_of_birth":date, "date_of_birth":date, "religion":"string", "blood_type":"string", "nationality":"string", "marital_status":"string", "ktp_id":"string", "sim_id":"string", "npwp_id":"string", "handphone":"string", "email":"string", "vehicle":{ "owner":"string", "brand":"string", "type":"string", } } } ``` ## 2. /profile/family ### 2.1 POST Create new family for my profile Request : ``` json { "fullname":"string", "relationship":"string", "gender":"string", "date_of_birth":date, "last_education":"string", "last_job":{ "position":"string", "company":"string", }, "description":"string", "emergency_contact":integer } ``` Response : ``` json { "code":integer, "message":"string", "data":{ "id":"string", "fullname":"string", "relationship":"string", "gender":"string", "date_of_birth":date, "last_education":"string", "last_job":{ "position":"string", "company":"string", }, "description":"string", "emergency_contact":integer } } ``` ### 2.2 GET Get all familly in my profile Response : ``` json { "code":integer, "message":"string", "data":[ { "id":"string", "fullname":"string", "relationship":"string", "gender":"string", "date_of_birth":date, "last_education":"string", "last_job":{ "position":"string", "company":"string", }, "description":"string", "emergency_contact":integer } ] } ``` ## 3. /profile/family/<family_id> ### 3.1 GET Get Detail By Family Response : ``` json { "code":integer, "message":"string", "data":{ "id":"string", "fullname":"string", "relationship":"string", "gender":"string", "date_of_birth":date, "last_education":"string", "last_job":{ "position":"string", "company":"string", }, "description":"string", "emergency_contact":integer } } ``` ### 3.2 PUT Request : ``` json { "fullname":"string", "relationship":"string", "gender":"string", "date_of_birth":date, "last_education":"string", "last_job":{ "position":"string", "company":"string", }, "description":"string", "emergency_contact":integer } ``` Response : ``` json { "code":integer, "message":"string", "data":{ "id":"string", "fullname":"string", "relationship":"string", "gender":"string", "date_of_birth":date, "last_education":"string", "last_job":{ "position":"string", "company":"string", }, "description":"string", "emergency_contact":integer } } ``` ### 3.3 DELETE Response : ``` json { "code":integer, "message":"string" } ``` ## 4. /profile/emergency_contact ### 4.1 POST Request : ``` json { "fullname":"string", "relationship":"string", "address":"string", "telephone":"string", "job":"string" } ``` Response : ``` json { "code":integer, "message":"string", "data":{ "id":"string", "fullname":"string", "relationship":"string", "address":"string", "telephone":"string", "job":"string" } } ``` ### 4.2 GET Response : ``` json { "code":integer, "message":"string", "data":[ { "id":"string", "fullname":"string", "relationship":"string", "address":"string", "telephone":"string", "job":"string" } ] } ``` ## 5. /profile/emergency_contact/<emergency_contact_id> ### 5.1 GET Get Detail By emergency contact Response : ``` json { "code":integer, "message":"string", "data":{ "id":"string", "fullname":"string", "relationship":"string", "address":"string", "telephone":"string", "job":"string" } } ``` ### 5.2 PUT Request : ``` json { "fullname":"string", "relationship":"string", "address":"string", "telephone":"string", "job":"string" } ``` Response : ``` json { "code":integer, "message":"string", "data":[ { "id":"string", "fullname":"string", "relationship":"string", "address":"string", "telephone":"string", "job":"string" } ] } ``` ### 5.3 DELETE Response : ``` json { "code":integer, "message":"string" } ``` ## 6. /profile/education ### 6.1 POST Request : ``` json { "grade":"string", "school":"string", "location":"string", "major":"string", "years":{ "start":"string", "end":"string" }, "graduation_status":"string" } ``` Response : ``` json { "code":integer, "message":"string", "data":{ "id":"string", "grade":"string", "school":"string", "location":"string", "major":"string", "years":{ "start":"string", "end":"string" }, "graduation_status":"string" } } ``` ### 6.2 GET Get all education in my profile Response : ``` json { "code":integer, "message":"string", "data":[ { "id":"string", "grade":"string", "school":"string", "location":"string", "major":"string", "starting_year":"string", "end_year":"string", "graduation_status":"string" } ] } ``` ## 7. /profile/education/<id_education> ### 7.1 GET Get Detail By Education Response : ``` json { "code":integer, "message":"string", "data":[ { "id":"string", "grade":"string", "school":"string", "location":"string", "major":"string", "starting_year":"string", "end_year":"string", "graduation_status":"string" } ] } ``` ### 7.2 PUT Request : ``` json { "grade":"string", "school":"string", "location":"string", "major":"string", "years":{ "start":"string", "end":"string" }, "graduation_status":"string" } ``` Response : ``` json { "code":integer, "message":"string", "data":{ "id":"string", "grade":"string", "school":"string", "location":"string", "major":"string", "years":{ "start":"string", "end":"string" }, "graduation_status":"string" } } ``` ### 7.3 DELETE Response : ``` json { "code":integer, "message":"string" } ``` ## 8. /profile/education/training ### 8.1 POST Request : ``` json { "type":"string", "institution":"string", "location":"string", "duration":integer, "year":"string", "funded_by":"string" } ``` Response : ``` json { "code":integer, "message":"string", "data":{ "id":"string", "type":"string", "institution":"string", "location":"string", "duration":integer, "year":"string", "funded_by":"string" } } ``` ### 8.2 GET Response : ``` json { "code":integer, "message":"string", "data":[ { "id":"string", "type":"string", "institution":"string", "location":"string", "duration":integer, "year":"string", "funded_by":"string" } ] } ``` ## 9. /profile/education/training/<id_training> ### 9.1 GET Response : ``` json { "code":integer, "message":"string", "data":[ { "id":"string", "type":"string", "institution":"string", "location":"string", "duration":integer, "year":"string", "funded_by":"string" } ] } ``` ### 9.2 PUT Request : ``` json { "type":"string", "institution":"string", "location":"string", "duration":integer, "year":"string", "funded_by":"string" } ``` Response : ``` json { "code":integer, "message":"string", "data":{ "id":"string", "type":"string", "institution":"string", "location":"string", "duration":integer, "year":"string", "funded_by":"string" } } ``` ### 9.3 DELETE Response : ``` json { "code":integer, "message":"string", } ``` ## 10. /profile/foreignlanguage ### 10.1 POST Request : ``` json { "language":"string", "speaking":"string", "listening":"string", "reading":"string", "writing":"string", "usage":"string" } ``` Response : ``` json { "code":integer, "message":"string", "data":{ "id":"string", "language":"string", "speaking":"string", "listening":"string", "reading":"string", "writing":"string", "usage":"string" } } ``` ### 10.2 GET Get all foreign language in my profile Response : ``` json { "code":integer, "message":"string", "data":[ { "id":"string", "language":"string", "speaking":"string", "listening":"string", "reading":"string", "writing":"string", "usage":"string" } ] } ``` ## 11. /profile/foreignlanguage/<id_foreign> ### 10.2 GET Get Detail By Language Response : ``` json { "code":integer, "message":"string", "data":{ "id":"string", "language":"string", "speaking":"string", "listening":"string", "reading":"string", "writing":"string", "usage":"string" } } ``` ### 11.1 PUT Request : ``` json { "language":"string", "speaking":"string", "listening":"string", "reading":"string", "writing":"string", "usage":"string" } ``` Response : ``` json { "code":integer, "message":"string", "data":{ "id":"string", "language":"string", "speaking":"string", "listening":"string", "reading":"string", "writing":"string", "usage":"string" } } ``` ### 11.2 DELETE Response : ``` json { "code":integer, "message":"string" } ``` ## 12. /profile/activity ### 12.1 POST Request : ``` json { "hobies_and_laisure_time":"string", "reading_subject":"string" } ``` Response : ``` json { "code":integer, "message":"string", "data":{ "id":"string", "hobies_and_laisure_time":"string", "reading_subject":"string" } } ``` ## 13. /profile/activity/<id_activity> ### 13.1 GET Response : ``` json { "code":integer, "message":"string", "data":{ "id":"string", "hobies_and_laisure_time":"string", "reading_subject":"string" } } ``` ### 13.2 PUT Request : ``` json { "hobies_and_laisure_time":"string", "reading_subject":"string" } ``` Response : ``` json { "code":integer, "message":"string", "data":{ "id":"string", "hobies_and_laisure_time":"string", "reading_subject":"string" } } ``` ## 14. /profile/workingexperience ### 14.1 POST Request : ``` json { "company":{ "name":"string", "address":"string", "telephone":"string" }, "job_position":{ "start":"string", "last":"string" } "work_duration":{ "from":"string", "to":"string", "reason_for_leaving_this_job":"string", "ceo_name":"string", "last_salary":"string" } } ``` Response : ``` json { "code":integer, "message":"string", "data":{ "id":"string", "company":{ "name":"string", "address":"string", "telephone":"string" }, "job_position":{ "start":"string", "last":"string" } "work_duration":{ "from":"string", "to":"string", "reason_for_leaving_this_job":"string", "ceo_name":"string", "last_salary":"string" } } } ``` ### 14.2 GET Response : ``` json { "code":integer, "message":"string", "data":[ { "id":"string", "company":{ "name":"string", "address":"string", "telephone":"string" }, "job_position":{ "start":"string", "last":"string" } "work_duration":{ "from":"string", "to":"string", "reason_for_leaving_this_job":"string", "ceo_name":"string", "last_salary":"string" } } ] } ``` ## 15. /profile/workingexperience/<id_working> ### 15.1 GET Response : ``` json { "code":integer, "message":"string", "data":[ { "id":"string", "company":{ "name":"string", "address":"string", "telephone":"string" }, "job_position":{ "start":"string", "last":"string" } "work_duration":{ "from":"string", "to":"string", "reason_for_leaving_this_job":"string", "ceo_name":"string", "last_salary":"string" } } ] } ``` ### 15.2 PUT Request : ``` json { "company":{ "name":"string", "address":"string", "telephone":"string" }, "job_position":{ "start":"string", "last":"string" } "work_duration":{ "from":"string", "to":"string", "reason_for_leaving_this_job":"string", "ceo_name":"string", "last_salary":"string" } } ``` Response : ``` json { "code":integer, "message":"string", "data":{ "id":"string", "company":{ "name":"string", "address":"string", "telephone":"string" }, "work_duration":{ "start":date, "end":date, "from":"string", "to":"string", "reason_for_leaving_this_job":"string", "ceo_name":"string", "last_salary":"string" } } } ``` ### 15.3 DELETE Response : ``` json { "code":integer, "message":"string" } ``` ## 16. /profile/reference ### 16.1 POST Request : ``` json { "fullname":"string", "relationship":"string", "address":"string", "telephone":"string", "job":"string" } ``` Response : ``` json { "code":integer, "message":"string", "data":{ "id":"string", "fullname":"string", "relationship":"string", "address":"string", "telephone":"string", "job":"string" } } ``` ### 16.2 GET Response : ``` json { "code":integer, "message":"string", "data":[ { "id":"string", "fullname":"string", "relationship":"string", "address":"string", "telephone":"string", "job":"string" } ] } ``` ## 17. /profile/reference/<id_reference> ### 17.1 GET Response : ``` json { "code":integer, "message":"string", "data":{ "id":"string", "fullname":"string", "relationship":"string", "address":"string", "telephone":"string", "job":"string" } } ``` ### 17.2 PUT Request : ``` json { "fullname":"string", "relationship":"string", "address":"string", "telephone":"string", "job":"string" } ``` Response : ``` json { "code":integer, "message":"string", "data":{ "id":"string", "fullname":"string", "relationship":"string", "address":"string", "telephone":"string", "job":"string" } } ``` ### 17.3 DELETE Response : ``` json { "code":integer, "message":"string" } ``` ## 18. /additional/questionnaire ### 18.1 POST Request : ``` json [ { "question":"string" } ] ``` Response : ``` json { "code":integer, "message":"string", "data":{ "id":"string", "question":"string" } } ``` ### 18.2 GET Get All Question Response : ``` json { "code":integer, "message":"string", "data":[ { "id":"string", "question":"string" } ] } ``` ## 19. /additional/questionnaire/<id_questionnaire> ### 19.1 GET Get Detail By Question Response : ``` json { "code":integer, "message":"string", "data":[ { "id":"string", "question":"string" } ] } ``` ### 19.2 PUT Request : ``` json [ { "question":"string" } ] ``` Response : ``` json { "code":integer, "message":"string", "data":{ "id":"string", "question":"string" } } ``` ### 19.3 DELETE Response : ``` json { "code":integer, "message":"string" } ``` ## 20. /profile/additional/questionnaire/answer ### 20.1 POST Request : ``` json { "id_profile":"string", "answer_questionnaire":[ { "id_questionnaire":"string", "answer":"string", "explanation":"string" } ] } ``` Response : ``` json { "code":integer, "message":"string", "data":{ "id":"string", "id_profile":"string", "answer_questionnaire":[ { "id_questionnaire":"string", "answer":"string", "explanation":"string" } ] } } ``` ## 21. /profile/additional/attachment ### 21.1 POST Request : ``` json { "upload":{ "ktp":"string", "kk":"string", "npwp":"string", "last_diploma":"string", "bpjs_kt":"string" } } ``` Response : ``` json { "code":integer, "message":"string", "data":{ "id":"string", "id_profile":"string", "upload":{ "ktp":"string", "kk":"string", "npwp":"string", "last_diploma":"string", "bpjs_kt":"string" } } } ``` ### 21.2 GET Response : ``` json { "code":integer, "message":"string", "data":{ "id":"string", "id_profile":"string", "upload":{ "ktp":"string", "kk":"string", "npwp":"string", "last_diploma":"string", "bpjs_kt":"string" } } } ``` ### 21.3 PUT Request : ``` json { "upload":{ "ktp":"string", "kk":"string", "npwp":"string", "last_diploma":"string", "bpjs_kt":"string" } } ``` Response : ``` json { "code":integer, "message":"string", "data":{ "id":"string", "id_profile":"string", "upload":{ "ktp":"string", "kk":"string", "npwp":"string", "last_diploma":"string", "bpjs_kt":"string" } } } ``` ## 22. /profile/picture ### 22.1 POST Request : ``` json { "image_url":"string" } ``` Response : ``` json { "code":integer, "message":"string", "data":{ "id":"string", "id_profile":"string", "image_url":"string" } } ``` ## 23. /profile/picture/<id_picture> ### 23.1 PUT Request : ``` json { "image_url":"string" } ``` Response : ``` json { "code":integer, "message":"string", "data":{ "id":"string", "profile_id":"string", "image_url":"string" } } ``` # Human Resource ----- ## 1. /profile/active ### 1.1 GET Response : ``` json { "code":"integer", "message":"string", "data":[ { "id":"code", "profile_name":"string", "profile_type":"string", "direct_supervisor":"string", "client":"string", "bd":"string", "marital_status":"string", "join_date":"date", "contract_end_date":"date", "probation_end_date":"date", "profile_status":"string", "net_gross":"Double", "salary":"Double", "thr":"Double", "transport":"Double", "phone":"string", "kost":"string", "date_asurancy":"date", "family_asurancy":"Double", "bpjs_tk":"Double", "bpjs_ks":"Double", "denda":"Double", "cuti_sakit":"integer", "cuti_pemerintah":"integer", "cuti_tahunan":"integer", "biaya_partner":"Double", "pph_21":"string", "laptop":"string" } ] } ``` ## 2. /profile/resign ### 2.1 GET Response : ``` json { "code": integer, "message": "string", "data": [ { "id": "code", "profile_name": "string", "profile_type": "string", "direct_supervisor": "string", "client": "string", "bd": "string", "join_date": "date", "contract_end_date": "date", "resign_date": "date", "profile_contract": "date", "work_termination_category": "string", "work_termination_sub_category": "string" } ] } ``` ## 3. /profile/data/<id_profile> ### 3.1 GET Response : ``` json { "code":"integer", "message":"string", "data":{ "id":"code", "profile_name":"string", "profile_type":"string", "direct_supervisor":"string", "client":"string", "bd":"string", "marital_status":"string", "join_date":"date", "contract_end_date":"date", "probation_end_date":"date", "profile_status":"string", "net_gross":Double, "salary":Double, "thr":Double, "transport":Double, "phone":"string", "kost":"string", "date_asurancy":"date", "family_asurancy":Double, "bpjs_tk":Double, "bpjs_ks":Double, "denda":Double, "cuti_sakit":"integer", "cuti_pemerintah":"integer", "cuti_tahunan":"integer", "biaya_partner":Double, "pph_21":"string", "laptop":"string" } } ``` # profile (Information) ----- ## 1. /profile/information/work_information/basic (Hanya Work Information Diri Dia Sendiri) ### 1.1 GET Response : ``` json { "code":integer, "message":"string", "data":{ "working_email":"string", "employee_id":"string", "employee_type":"string", "department":"string", "job_title":"string", "job_position":"string", "client":"string", "business_dev_manager":"string", "direct_supervisor":{ "name":"string", "email":"string", "job_position":"string" }, "pic_approval_timesheet":[ { "name":"string", "email":"string", "job_position":"string" }, { "name":"string", "email":"string", "job_position":"string" }, { "name":"string", "email":"string", "job_position":"string" } ] "working_hours":"string", "start_time":datetime, "end_time":datetime, "break_start_time":datetime, "break_start_time":datetime } } ``` ### 1.2 Structure Organization ## 2. /profile/information/support_information/bank ### 2.1 GET Response : ``` json { "code":integer, "message":"string", "data":[ { "id":"string", "name":"string", "number":"string", "account_name":"string", "status":"string" } ] } ``` ## 3. /profile/information/support_information/insurance/detail ### 3.1 GET Response : ``` json { "code":integer, "message":"string", "data":[ { "id":"string", "name":"string", "relationship":"string", "policy_number":"string", "periode":date } ] } ``` ## 4. Benefit ## 5. /profile/information/support_information/bpjs/ketenagakerjaan ### 5.1 POST Request : ``` json { "register_date":date, "end_date":date, "number_bpjs":"string", "name":"string" } ``` Response : ``` json { "code":integer, "message":"string", "data": { "id_bpjst_tk":"string", "register_date":date, "end_date":date, "number_bpjs":"string", "name":"string" } } ``` ### 5.2 GET Response : ``` json { "code":integer, "message":"string", "data":[ { "id_bpjst_tk":"string", "register_date":date, "end_date":date, "number_bpjs":"string", "name":"string" } ] } ``` ## 6. Kesehatan ## 7. /profile/information/support_information/asset ### 7.1 POST Request : ``` json { "number_asset":"string", "asset_name":"string", "serial_number":"string", "brand":"string", "type":"string", "proccessor":"string", "ram":"string", "storage":{ "hdd":"string", "ssd":"string", "display_screen_size":"string", }, "os":"string", "grafhis":"string", "office":"string", } ``` Response : ``` json { "code":integer, "message":"string", "data": { "id_asset":"string", "number_asset":"string", "asset_name":"string", "serial_number":"string", "brand":"string", "type":"string", "proccessor":"string", "ram":"string", "storage":{ "hdd":"string", "ssd":"string", "display_screen_size":"string", }, "os":"string", "grafhis":"string", "office":"string", } } ``` ### 7.2 GET Response : ``` json { "code":integer, "message":"string", "data":[ { "id_asset":"string", "number_asset":"string", "asset_name":"string", "serial_number":"string", "brand":"string", "type":"string" } ] } ``` ## 8. /profile/information/support_information/asset/detail/<id_asset> ### 8.1 GET Response : ``` json { "code":integer, "message":"string", "data": { "id_asset":"string", "number_asset":"string", "asset_name":"string", "serial_number":"string", "brand":"string", "type":"string", "proccessor":"string", "ram":"string", "storage":{ "hdd":"string", "ssd":"string", "display_screen_size":"string", }, "os":"string", "grafhis":"string", "office":"string", } } ``` # profile Attendance & Overtime ----- ## **Attendance** ### 1. /profile/attendance/clock_in #### 1.1 POST Request : ``` json { "type":"string(Clock In)", "date_clock":date, "time_clock":time, "image_url_attendance":"string", "location":"string" } ``` Response : ``` json { "code":integer, "message":"string", "data":{ "id":"string", "id_profile":"string", "type":"string(Clock In)", "date_clock":date, "time_clock":time, "image_url_attendance":"string", "location":"string" } } ``` #### 1.2 GET Response : ``` json { "code":integer, "message":"string", "data":[{ "id_clock":"string", "id_profile":"string", "type":"string(Clock In)", "date_clock":date, "time_clock":time, "image_url_attendance":"string", "location":"string" }] } ``` ### 2. /profile/attendance/clock_out #### 2.1 POST Request : ``` json { "type":"string(Clock Out)", "date_clock":date, "time_clock":time, "image_url_attendance":"string", "location":"string", "description":"string" } ``` Response : ``` json { "code":integer, "message":"string", "data":{ "id_clock":"string", "id_profile":"string", "type":"string(Clock Out)", "date_clock":date, "time_clock":time, "image_url_attendance":"string", "location":"string", "description":"string" } } ``` #### 2.1 GET Response : ``` json { "code":integer, "message":"string", "data":{ "id_clock":"string", "id_profile":"string", "type":"string(Clock Out)", "date_clock":date, "time_clock":time, "image_url_attendance":"string", "location":"string", "description":"string" } } ``` ### 5. /profile/attendance/clock/<id_profile> #### 5.1 GET Response : ``` json { "code":integer, "message":"string", "data":[ { "id_clock":"string", "id_profile":"string", "type":"string", "date_clock":date, "time_clock":time, "image_url_attendance":"string", "location":"string", "description":"string" } ] } ``` ### 6. /profile/attendance/request #### 6.1 POST Request : ``` json { "date_request":date, "clock":{ "in":time, "out":time }, "image_url_attendance":"string", "location" } ``` Response : ``` json { "code":integer, "message":"string", "data":[ { "id_clock":"string", "id_profile":"string", "type":"string(Clock In)", "date_clock":date, "time_clock":time, "image_url_attendance":"string", "location":"string", "description":"string" } ] } ``` ### 7. /profile/attendance/request/<id_profile> #### 7.1 PUT Request : ``` json { "date_request":date, "clock":{ "in":time, "out":time }, "image_url_attendance":"string", "location" } ``` Response : ``` json { "code":integer, "message":"string", "data":[ { "id_clock":"string", "id_profile":"string", "type":"string(Clock In)", "date_clock":date, "time_clock":time, "image_url_attendance":"string", "location":"string", "description":"string" } ] } ``` ## **Overtime** ### 1. /profile/overtime/clock_in #### 1.1 POST Request : ``` json { "type":"string(Clock In)", "date_clock":date, "time_clock":time, "image_url_attendance":"string", "location":"string" } ``` Response : ``` json { "code":integer, "message":"string", "data":{ "id_clock":"string", "id_profile":"string", "type":"string(Clock In)", "date_clock":date, "time_clock":time, "image_url_attendance":"string", "location":"string" } } ``` #### 1.2 GET Response : ``` json { "code":integer, "message":"string", "data":{ "id_clock":"string", "id_profile":"string", "type":"string(Clock In)", "date_clock":date, "time_clock":time, "image_url_attendance":"string", "location":"string" } } ``` ### 2. /profile/overtime/clock_out #### 2.1 POST Request : ``` json { "type":"string(Clock Out)", "date_clock":date, "time_clock":time, "image_url_attendance":"string", "location":"string", "activity":"string" } ``` Response : ``` json { "code":integer, "message":"string", "data":{ "id_clock":"string", "id_profile":"string", "type":"string(Clock Out)", "date_clock":date, "time_clock":time, "overtime_hour":time, "image_url_attendance":"string", "location":"string", "activity":"string" } } ``` #### 4.1 GET Response : ``` json { "code":integer, "message":"string", "data":{ "id_clock":"string", "id_profile":"string", "type":"string(Clock Out)", "date_clock":date, "time_clock":time, "overtime_hour":time, "image_url_attendance":"string", "location":"string", "activity":"string" } } ``` ### 3. /profile/overtime/clock/<id_profile> #### 5.1 GET Response : ``` json { "code":integer, "message":"string", "data":[ { "id_clock":"string", "id_profile":"string", "type":"string", "date_clock":date, "time_clock":time, "image_url_attendance":"string", "location":"string", "description":"string" } ] } ``` # profile TimeSheet & Overtime Order ----- ## **TimeSheet** ### 1. /profile/timesheet #### 1.1 POST Request : ``` json { "date_created":"string", "subject":"string", "client":"string", "month":"string", "year":"string", "start_date":date, "end_date":date } ``` Response : ``` json { "code":integer, "date_created":"string", "subject":"string", "client":"string", "month":"string", "year":"string", "start_date":date, "end_date":date } ```