openapi: 3.0.3 info: title: 'Lead Service Api Documentation' description: 'Full API documentation for your API' version: 1.0.0 servers: - url: 'https://debug-lead.commercial.kampunginggrislc.com' tags: - name: 'Customer Service' description: "\nAPIs for managing customer service" - name: 'Customer Service Channel' description: "\nAPIs for managing customer service channel" - name: 'Customer Service Group' description: "\nAPIs for managing group" - name: 'Customer Service Team' description: "\nAPIs for managing customer service team" - name: Endpoints description: '' - name: Lead description: "\nAPIs for managing lead" - name: 'Retrieving Lead' description: "\nAPIs for managing retrieve lead" - name: Schedule description: "\nAPIs for managing schedule" - name: Setting description: "\nAPIs for managing setting" - name: Shift description: "\nAPIs for managing shift" - name: 'Template Schedule' description: "\nAPIs for managing template schedule" components: securitySchemes: default: type: http scheme: bearer description: 'You can retrieve your token by visiting your dashboard and clicking Generate API token.' security: - default: [] paths: /api/cs: get: summary: 'List All Customer Service.' operationId: listAllCustomerService description: '' parameters: - in: query name: page description: 'The page of the list.' example: '1' required: true schema: type: string description: 'The page of the list.' example: '1' nullable: false - in: query name: limit description: 'The limit of the list.' example: '10' required: true schema: type: string description: 'The limit of the list.' example: '10' nullable: false - in: query name: q description: 'The search query.' example: John required: false schema: type: string description: 'The search query.' example: John nullable: false responses: 200: description: '' content: application/json: schema: type: object example: success: true message: 'Data not found' data: [] error: '' properties: success: type: boolean example: true message: type: string example: 'Data not found' data: type: array example: [] error: type: string example: '' tags: - 'Customer Service' security: [] post: summary: 'Store New Customer Service.' operationId: storeNewCustomerService description: '' parameters: [] responses: { } tags: - 'Customer Service' requestBody: required: true content: application/json: schema: type: object properties: percent: type: integer description: validation.between. example: 0 nullable: false officer_id: type: integer description: 'The id of an existing record in the officers table.' example: 14 nullable: false cs_channel: type: array description: '' example: - [] items: type: object properties: cs_channel_id: type: integer description: 'The id of an existing record in the cs_channels table.' example: 12 nullable: false is_active: type: boolean description: '' example: true nullable: false requirement: type: object description: '' example: [] nullable: false properties: { } required: - cs_channel_id - is_active - requirement required: - percent - officer_id - cs_channel '/api/cs/{id}': get: summary: 'Detail Customer Service.' operationId: detailCustomerService description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: success: true message: 'Customer service detail' data: id: 1 id_officer: 47 counter: null percent: 30 name: zunililaifi username: Celsy is_active: true channel: - id: 2 channel_id: Qontak name: Qontak description: '{"qontak_staff_id" : "132321231"}' is_active: false requirement: '{"qontak_staff_id": "e363f52d-7f2e-4d85-bddc-6327a1a24d19"}' - id: 1 channel_id: Sleekflow name: Sleekflow description: '{"sleekflow_staff_id":"3123212321"}' is_active: false requirement: '{"sleekflow_staff_id": "f5ea904c-772f-4a6d-96ce-49394ca88200"}' error: '' properties: success: type: boolean example: true message: type: string example: 'Customer service detail' data: type: object properties: id: type: integer example: 1 id_officer: type: integer example: 47 counter: type: string example: null percent: type: integer example: 30 name: type: string example: zunililaifi username: type: string example: Celsy is_active: type: boolean example: true channel: type: array example: - id: 2 channel_id: Qontak name: Qontak description: '{"qontak_staff_id" : "132321231"}' is_active: false requirement: '{"qontak_staff_id": "e363f52d-7f2e-4d85-bddc-6327a1a24d19"}' - id: 1 channel_id: Sleekflow name: Sleekflow description: '{"sleekflow_staff_id":"3123212321"}' is_active: false requirement: '{"sleekflow_staff_id": "f5ea904c-772f-4a6d-96ce-49394ca88200"}' items: type: object properties: id: type: integer example: 2 channel_id: type: string example: Qontak name: type: string example: Qontak description: type: string example: '{"qontak_staff_id" : "132321231"}' is_active: type: boolean example: false requirement: type: string example: '{"qontak_staff_id": "e363f52d-7f2e-4d85-bddc-6327a1a24d19"}' error: type: string example: '' tags: - 'Customer Service' security: [] put: summary: 'Update Customer Service.' operationId: updateCustomerService description: '' parameters: [] responses: { } tags: - 'Customer Service' requestBody: required: true content: application/json: schema: type: object properties: percent: type: integer description: validation.between. example: 1 nullable: false cs_channel: type: array description: '' example: - [] items: type: object properties: cs_channel_id: type: integer description: 'The id of an existing record in the cs_channels table.' example: 13 nullable: false is_active: type: boolean description: '' example: false nullable: false requirement: type: object description: '' example: [] nullable: false properties: { } required: - cs_channel_id - is_active - requirement required: - percent - cs_channel parameters: - in: path name: id description: 'The ID of the customer service.' example: '1' required: true schema: type: string '/api/cs/{cs_id}/set-active': put: summary: 'Set Customer Service Active/InActive.' operationId: setCustomerServiceActiveInActive description: '' parameters: [] responses: { } tags: - 'Customer Service' parameters: - in: path name: cs_id description: 'The ID of the customer service.' example: '1' required: true schema: type: string /api/cs/team-group/list: get: summary: 'List Customer Service with team, group, and branch.' operationId: listCustomerServiceWithTeamGroupAndBranch description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: success: true message: 'List of customer service with team, group' data: - id: 12 id_officer: 246 counter: null percent: 100 name: 'Retha Febrianasari' username: Ara is_active: true team_name: 'HQ CS' team_id: 15 group_name: 'HQ Group' group_id: 32 - id: 14 id_officer: 1 counter: null percent: 10 name: 'Team IT' username: 'IT IT' is_active: true team_name: null team_id: null group_name: null group_id: null - id: 17 id_officer: 254 counter: null percent: 100 name: 'Nashiha Afidah' username: Ryas is_active: true team_name: 'Branch CS 2' team_id: 17 group_name: 'Branch Group 2' group_id: 35 - id: 16 id_officer: 255 counter: null percent: 100 name: 'Andy yusmant' username: Jeka is_active: true team_name: 'Retired CS' team_id: 13 group_name: 'Retired Group CS' group_id: 29 - id: 15 id_officer: 256 counter: null percent: 100 name: 'Tiara Selling' username: Kenzie is_active: true team_name: 'HQ CS' team_id: 15 group_name: 'HQ Group' group_id: 32 - id: 13 id_officer: 249 counter: null percent: 100 name: 'Fitria Rachmawati Oemardi' username: Yuki is_active: true team_name: 'Branch CS 1' team_id: 16 group_name: 'Branch Group 1' group_id: 33 - id: 11 id_officer: 48 counter: null percent: 100 name: 'Devina Dyah' username: Zea is_active: true team_name: 'Branch CS 1' team_id: 16 group_name: 'Branch Group 1' group_id: 33 - id: 9 id_officer: 66 counter: null percent: 100 name: 'Ms. Rossy Selling' username: Nada is_active: true team_name: 'Branch SPV' team_id: 19 group_name: 'Branch Group 1' group_id: 33 - id: 7 id_officer: 248 counter: null percent: 100 name: 'eko wicaksono' username: Kia is_active: true team_name: 'Branch CS 1' team_id: 16 group_name: 'Branch Group 1' group_id: 33 - id: 4 id_officer: 46 counter: null percent: 100 name: ajaynursyamsu2211 username: Max is_active: true team_name: 'HQ CS' team_id: 15 group_name: 'HQ Group' group_id: 32 - id: 3 id_officer: 61 counter: null percent: 100 name: dewintan username: Fita is_active: true team_name: 'HQ SPV' team_id: 18 group_name: 'HQ Group' group_id: 32 - id: 2 id_officer: 247 counter: null percent: 100 name: 'Irfan Mohamad Sukri' username: Evan is_active: true team_name: 'HQ CS' team_id: 15 group_name: 'HQ Group' group_id: 32 - id: 8 id_officer: 44 counter: null percent: 20 name: jehanadani username: Lucy is_active: true team_name: Frontline team_id: 12 group_name: 'HQ Group' group_id: 32 - id: 6 id_officer: 67 counter: null percent: 90 name: jihanabdiah11 username: tia is_active: true team_name: 'Retired CS' team_id: 13 group_name: 'Retired Group CS' group_id: 29 - id: 1 id_officer: 47 counter: null percent: 30 name: zunililaifi username: Celsy is_active: true team_name: Frontline team_id: 12 group_name: 'HQ Group' group_id: 32 - id: 10 id_officer: 250 counter: null percent: 100 name: 'Ismi Sofiatul Q.' username: Hana is_active: true team_name: 'Branch CS 2' team_id: 17 group_name: 'Branch Group 2' group_id: 35 - id: 5 id_officer: 69 counter: null percent: 100 name: izanugroho92 username: ryas is_active: true team_name: 'Retired CS' team_id: 13 group_name: 'Retired Group CS' group_id: 29 - id: 18 id_officer: 328 counter: null percent: 0 name: 'Thomas Aldi Setiawan' username: Vyn is_active: true team_name: 'HQ CS' team_id: 15 group_name: 'HQ Group' group_id: 32 - id: 19 id_officer: 327 counter: null percent: 0 name: 'Evryta P.' username: Gea is_active: true team_name: 'HQ CS' team_id: 15 group_name: 'HQ Group' group_id: 32 - id: 20 id_officer: 345 counter: null percent: 0 name: 'Ana Ismatul Mubarokah' username: 'CS Tia' is_active: true team_name: 'HQ CS' team_id: 15 group_name: 'HQ Group' group_id: 32 - id: 21 id_officer: 348 counter: null percent: 0 name: 'Nur Rafida' username: Oliv is_active: true team_name: 'Branch CS 2' team_id: 17 group_name: 'Branch Group 2' group_id: 35 error: '' properties: success: type: boolean example: true message: type: string example: 'List of customer service with team, group' data: type: array example: - id: 12 id_officer: 246 counter: null percent: 100 name: 'Retha Febrianasari' username: Ara is_active: true team_name: 'HQ CS' team_id: 15 group_name: 'HQ Group' group_id: 32 - id: 14 id_officer: 1 counter: null percent: 10 name: 'Team IT' username: 'IT IT' is_active: true team_name: null team_id: null group_name: null group_id: null - id: 17 id_officer: 254 counter: null percent: 100 name: 'Nashiha Afidah' username: Ryas is_active: true team_name: 'Branch CS 2' team_id: 17 group_name: 'Branch Group 2' group_id: 35 - id: 16 id_officer: 255 counter: null percent: 100 name: 'Andy yusmant' username: Jeka is_active: true team_name: 'Retired CS' team_id: 13 group_name: 'Retired Group CS' group_id: 29 - id: 15 id_officer: 256 counter: null percent: 100 name: 'Tiara Selling' username: Kenzie is_active: true team_name: 'HQ CS' team_id: 15 group_name: 'HQ Group' group_id: 32 - id: 13 id_officer: 249 counter: null percent: 100 name: 'Fitria Rachmawati Oemardi' username: Yuki is_active: true team_name: 'Branch CS 1' team_id: 16 group_name: 'Branch Group 1' group_id: 33 - id: 11 id_officer: 48 counter: null percent: 100 name: 'Devina Dyah' username: Zea is_active: true team_name: 'Branch CS 1' team_id: 16 group_name: 'Branch Group 1' group_id: 33 - id: 9 id_officer: 66 counter: null percent: 100 name: 'Ms. Rossy Selling' username: Nada is_active: true team_name: 'Branch SPV' team_id: 19 group_name: 'Branch Group 1' group_id: 33 - id: 7 id_officer: 248 counter: null percent: 100 name: 'eko wicaksono' username: Kia is_active: true team_name: 'Branch CS 1' team_id: 16 group_name: 'Branch Group 1' group_id: 33 - id: 4 id_officer: 46 counter: null percent: 100 name: ajaynursyamsu2211 username: Max is_active: true team_name: 'HQ CS' team_id: 15 group_name: 'HQ Group' group_id: 32 - id: 3 id_officer: 61 counter: null percent: 100 name: dewintan username: Fita is_active: true team_name: 'HQ SPV' team_id: 18 group_name: 'HQ Group' group_id: 32 - id: 2 id_officer: 247 counter: null percent: 100 name: 'Irfan Mohamad Sukri' username: Evan is_active: true team_name: 'HQ CS' team_id: 15 group_name: 'HQ Group' group_id: 32 - id: 8 id_officer: 44 counter: null percent: 20 name: jehanadani username: Lucy is_active: true team_name: Frontline team_id: 12 group_name: 'HQ Group' group_id: 32 - id: 6 id_officer: 67 counter: null percent: 90 name: jihanabdiah11 username: tia is_active: true team_name: 'Retired CS' team_id: 13 group_name: 'Retired Group CS' group_id: 29 - id: 1 id_officer: 47 counter: null percent: 30 name: zunililaifi username: Celsy is_active: true team_name: Frontline team_id: 12 group_name: 'HQ Group' group_id: 32 - id: 10 id_officer: 250 counter: null percent: 100 name: 'Ismi Sofiatul Q.' username: Hana is_active: true team_name: 'Branch CS 2' team_id: 17 group_name: 'Branch Group 2' group_id: 35 - id: 5 id_officer: 69 counter: null percent: 100 name: izanugroho92 username: ryas is_active: true team_name: 'Retired CS' team_id: 13 group_name: 'Retired Group CS' group_id: 29 - id: 18 id_officer: 328 counter: null percent: 0 name: 'Thomas Aldi Setiawan' username: Vyn is_active: true team_name: 'HQ CS' team_id: 15 group_name: 'HQ Group' group_id: 32 - id: 19 id_officer: 327 counter: null percent: 0 name: 'Evryta P.' username: Gea is_active: true team_name: 'HQ CS' team_id: 15 group_name: 'HQ Group' group_id: 32 - id: 20 id_officer: 345 counter: null percent: 0 name: 'Ana Ismatul Mubarokah' username: 'CS Tia' is_active: true team_name: 'HQ CS' team_id: 15 group_name: 'HQ Group' group_id: 32 - id: 21 id_officer: 348 counter: null percent: 0 name: 'Nur Rafida' username: Oliv is_active: true team_name: 'Branch CS 2' team_id: 17 group_name: 'Branch Group 2' group_id: 35 items: type: object properties: id: type: integer example: 12 id_officer: type: integer example: 246 counter: type: string example: null percent: type: integer example: 100 name: type: string example: 'Retha Febrianasari' username: type: string example: Ara is_active: type: boolean example: true team_name: type: string example: 'HQ CS' team_id: type: integer example: 15 group_name: type: string example: 'HQ Group' group_id: type: integer example: 32 error: type: string example: '' tags: - 'Customer Service' security: [] /api/cs-channel/active: get: summary: 'List Active Customer Service Channel.' operationId: listActiveCustomerServiceChannel description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: success: true message: 'List of active customer service channel' data: - id: 10 channel_id: haloai name: 'Halo AI' description: '{"haloai_staff_id" : "132321231"}' is_active: true created_at: '2026-01-19T08:03:03.000000Z' updated_at: '2026-01-19T08:03:03.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null - id: 9 channel_id: onesender name: 'One Sender' description: '{"onesender_staff_id":"3123212321", "unique_id":"wa5799"}' is_active: true created_at: '2025-04-17T03:47:19.000000Z' updated_at: '2025-04-17T08:12:32.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null error: '' properties: success: type: boolean example: true message: type: string example: 'List of active customer service channel' data: type: array example: - id: 10 channel_id: haloai name: 'Halo AI' description: '{"haloai_staff_id" : "132321231"}' is_active: true created_at: '2026-01-19T08:03:03.000000Z' updated_at: '2026-01-19T08:03:03.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null - id: 9 channel_id: onesender name: 'One Sender' description: '{"onesender_staff_id":"3123212321", "unique_id":"wa5799"}' is_active: true created_at: '2025-04-17T03:47:19.000000Z' updated_at: '2025-04-17T08:12:32.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null items: type: object properties: id: type: integer example: 10 channel_id: type: string example: haloai name: type: string example: 'Halo AI' description: type: string example: '{"haloai_staff_id" : "132321231"}' is_active: type: boolean example: true created_at: type: string example: '2026-01-19T08:03:03.000000Z' updated_at: type: string example: '2026-01-19T08:03:03.000000Z' deleted_at: type: string example: null created_by: type: string example: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: type: string example: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: type: string example: null error: type: string example: '' tags: - 'Customer Service Channel' security: [] /api/cs-channel: get: summary: 'List Customer Service Channel.' operationId: listCustomerServiceChannel description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: success: true message: 'List of customer service channel' data: - id: 10 channel_id: haloai name: 'Halo AI' description: '{"haloai_staff_id" : "132321231"}' is_active: true created_at: '2026-01-19T08:03:03.000000Z' updated_at: '2026-01-19T08:03:03.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null - id: 9 channel_id: onesender name: 'One Sender' description: '{"onesender_staff_id":"3123212321", "unique_id":"wa5799"}' is_active: true created_at: '2025-04-17T03:47:19.000000Z' updated_at: '2025-04-17T08:12:32.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null - id: 4 channel_id: Pancake name: Pancake description: '{"token": "dsa"}' is_active: false created_at: '2024-09-12T09:42:27.000000Z' updated_at: '2025-04-17T03:53:55.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null - id: 2 channel_id: Qontak name: Qontak description: '{"qontak_staff_id" : "132321231"}' is_active: false created_at: '2024-09-12T09:38:15.000000Z' updated_at: '2026-01-19T08:03:49.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null - id: 1 channel_id: Sleekflow name: Sleekflow description: '{"sleekflow_staff_id":"3123212321"}' is_active: false created_at: '2024-08-30T14:22:52.000000Z' updated_at: '2025-04-17T03:53:49.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null error: '' properties: success: type: boolean example: true message: type: string example: 'List of customer service channel' data: type: array example: - id: 10 channel_id: haloai name: 'Halo AI' description: '{"haloai_staff_id" : "132321231"}' is_active: true created_at: '2026-01-19T08:03:03.000000Z' updated_at: '2026-01-19T08:03:03.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null - id: 9 channel_id: onesender name: 'One Sender' description: '{"onesender_staff_id":"3123212321", "unique_id":"wa5799"}' is_active: true created_at: '2025-04-17T03:47:19.000000Z' updated_at: '2025-04-17T08:12:32.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null - id: 4 channel_id: Pancake name: Pancake description: '{"token": "dsa"}' is_active: false created_at: '2024-09-12T09:42:27.000000Z' updated_at: '2025-04-17T03:53:55.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null - id: 2 channel_id: Qontak name: Qontak description: '{"qontak_staff_id" : "132321231"}' is_active: false created_at: '2024-09-12T09:38:15.000000Z' updated_at: '2026-01-19T08:03:49.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null - id: 1 channel_id: Sleekflow name: Sleekflow description: '{"sleekflow_staff_id":"3123212321"}' is_active: false created_at: '2024-08-30T14:22:52.000000Z' updated_at: '2025-04-17T03:53:49.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null items: type: object properties: id: type: integer example: 10 channel_id: type: string example: haloai name: type: string example: 'Halo AI' description: type: string example: '{"haloai_staff_id" : "132321231"}' is_active: type: boolean example: true created_at: type: string example: '2026-01-19T08:03:03.000000Z' updated_at: type: string example: '2026-01-19T08:03:03.000000Z' deleted_at: type: string example: null created_by: type: string example: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: type: string example: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: type: string example: null error: type: string example: '' tags: - 'Customer Service Channel' security: [] post: summary: 'Store new Customer Service Channel.' operationId: storeNewCustomerServiceChannel description: '' parameters: [] responses: { } tags: - 'Customer Service Channel' requestBody: required: false content: application/json: schema: type: object properties: channel_id: type: string description: '' example: null nullable: false name: type: string description: '' example: null nullable: false description: type: string description: '' example: 'Aut ut voluptas qui assumenda tenetur qui.' nullable: true '/api/cs-channel/{id}': get: summary: 'Show Customer Service Channel Detail.' operationId: showCustomerServiceChannelDetail description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: success: true message: 'Customer service channel detail' data: id: 1 channel_id: Sleekflow name: Sleekflow description: '{"sleekflow_staff_id":"3123212321"}' is_active: false created_at: '2024-08-30T14:22:52.000000Z' updated_at: '2025-04-17T03:53:49.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null error: '' properties: success: type: boolean example: true message: type: string example: 'Customer service channel detail' data: type: object properties: id: type: integer example: 1 channel_id: type: string example: Sleekflow name: type: string example: Sleekflow description: type: string example: '{"sleekflow_staff_id":"3123212321"}' is_active: type: boolean example: false created_at: type: string example: '2024-08-30T14:22:52.000000Z' updated_at: type: string example: '2025-04-17T03:53:49.000000Z' deleted_at: type: string example: null created_by: type: string example: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: type: string example: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: type: string example: null error: type: string example: '' tags: - 'Customer Service Channel' security: [] put: summary: 'Update Customer Service Channel.' operationId: updateCustomerServiceChannel description: '' parameters: [] responses: { } tags: - 'Customer Service Channel' requestBody: required: false content: application/json: schema: type: object properties: channel_id: type: string description: '' example: null nullable: false name: type: string description: '' example: null nullable: false description: type: string description: '' example: 'Voluptatem voluptas vero odit dolorem quaerat similique inventore quis.' nullable: true parameters: - in: path name: id description: 'The ID of the cs channel.' example: 1 required: true schema: type: integer '/api/cs-channel/{cs_channel}/set-active': put: summary: 'Set Active/Inactive Customer Service Channel.' operationId: setActiveInactiveCustomerServiceChannel description: '' parameters: [] responses: { } tags: - 'Customer Service Channel' parameters: - in: path name: cs_channel description: '' example: 1 required: true schema: type: integer /api/cs-group: get: summary: 'List Customer Service Group.' operationId: listCustomerServiceGroup description: '' parameters: - in: query name: page description: 'The page of the list.' example: '1' required: true schema: type: string description: 'The page of the list.' example: '1' nullable: false - in: query name: limit description: 'The limit of the list.' example: '10' required: true schema: type: string description: 'The limit of the list.' example: '10' nullable: false - in: query name: q description: 'The search query.' example: veritatis required: false schema: type: string description: 'The search query.' example: veritatis nullable: false responses: 200: description: '' content: application/json: schema: type: object example: success: true message: 'List of groups' data: current_page: 1 data: [] first_page_url: 'https://debug-lead.commercial.kampunginggrislc.com/api/cs-group?page=1' from: null last_page: 1 last_page_url: 'https://debug-lead.commercial.kampunginggrislc.com/api/cs-group?page=1' links: - url: null label: pagination.previous active: false - url: 'https://debug-lead.commercial.kampunginggrislc.com/api/cs-group?page=1' label: '1' active: true - url: null label: pagination.next active: false next_page_url: null path: 'https://debug-lead.commercial.kampunginggrislc.com/api/cs-group' per_page: 10 prev_page_url: null to: null total: 0 error: '' properties: success: type: boolean example: true message: type: string example: 'List of groups' data: type: object properties: current_page: type: integer example: 1 data: type: array example: [] first_page_url: type: string example: 'https://debug-lead.commercial.kampunginggrislc.com/api/cs-group?page=1' from: type: string example: null last_page: type: integer example: 1 last_page_url: type: string example: 'https://debug-lead.commercial.kampunginggrislc.com/api/cs-group?page=1' links: type: array example: - url: null label: pagination.previous active: false - url: 'https://debug-lead.commercial.kampunginggrislc.com/api/cs-group?page=1' label: '1' active: true - url: null label: pagination.next active: false items: type: object properties: url: type: string example: null label: type: string example: pagination.previous active: type: boolean example: false next_page_url: type: string example: null path: type: string example: 'https://debug-lead.commercial.kampunginggrislc.com/api/cs-group' per_page: type: integer example: 10 prev_page_url: type: string example: null to: type: string example: null total: type: integer example: 0 error: type: string example: '' tags: - 'Customer Service Group' security: [] post: summary: 'Store new Customer Service Group.' operationId: storeNewCustomerServiceGroup description: '' parameters: [] responses: { } tags: - 'Customer Service Group' requestBody: required: true content: application/json: schema: type: object properties: name: type: string description: '' example: alias nullable: false branches: type: array description: validation.min. example: - [] items: type: object properties: id: type: string description: '' example: null nullable: false is_active: type: boolean description: '' example: true nullable: false required: - is_active teams: type: array description: validation.min. example: - [] items: type: object properties: id: type: string description: '' example: null nullable: false is_active: type: boolean description: '' example: true nullable: false required: - is_active required: - name - branches - teams '/api/cs-group/{id}': get: summary: 'Show Customer Service Group Detail.' operationId: showCustomerServiceGroupDetail description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: success: true message: 'Group detail' data: id: 35 name: 'Branch Group 2' created_at: '2025-07-16T01:54:07.000000Z' updated_at: '2025-07-16T01:54:09.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null is_active: true cs_teams: - id: 17 name: 'Branch CS 2' created_at: '2025-07-16T01:47:32.000000Z' updated_at: '2025-07-16T01:47:32.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null is_active: null pivot: cs_group_id: 35 cs_team_id: 17 is_active: true created_by: null updated_by: null deleted_by: null created_at: '2025-07-16T01:54:07.000000Z' updated_at: '2025-11-05T17:07:13.000000Z' - id: 19 name: 'Branch SPV' created_at: '2025-07-16T01:48:15.000000Z' updated_at: '2025-07-16T01:48:15.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null is_active: null pivot: cs_group_id: 35 cs_team_id: 19 is_active: true created_by: null updated_by: null deleted_by: null created_at: '2025-09-05T01:03:39.000000Z' updated_at: '2025-11-05T17:07:13.000000Z' branches: - branch_id: 4 branch_uid: b6572f91-5bb8-4c23-9268-31d2ccd8b5f6 code: JOGJA name_branch: 'JOGJA - JOGJA' img_url: branches/Z2tIgLBKCm2zWALmItaeZyyTwdOxUVrIqUYQdLSs.jpg status: 1 created_at: '2023-05-15T07:18:32.000000Z' updated_at: '2024-01-11T09:01:28.000000Z' updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 pivot: cs_group_id: 35 branch_id: 4 is_active: true created_by: null updated_by: null deleted_by: null created_at: '2025-07-16T01:54:07.000000Z' updated_at: '2025-11-05T17:07:13.000000Z' - branch_id: 5 branch_uid: fc352b1e-6fc4-420d-9b39-4dbfa6a77264 code: LAMPUNG name_branch: 'Bandar Lampung - Lampung' img_url: branches/47mkQHLSeXMN2fwqx3R98BRWmed7xkROtZs73fW9.jpg status: 1 created_at: '2023-06-05T06:03:25.000000Z' updated_at: '2024-12-20T06:25:19.000000Z' updated_by: 1a4fbc7d-3652-4d35-bc9a-c645ff8d6a49 pivot: cs_group_id: 35 branch_id: 5 is_active: true created_by: null updated_by: null deleted_by: null created_at: '2025-07-16T01:54:07.000000Z' updated_at: '2025-11-05T17:07:13.000000Z' - branch_id: 7 branch_uid: a6bb2f65-6712-4b62-91f7-917330971466 code: MEDAN name_branch: 'MEDAN - SUMATRA' img_url: branches/luwoj3ogbuvmDF5iTVzbAh650hsZdrHJQfLYvnXw.jpg status: 1 created_at: '2024-06-03T05:13:25.000000Z' updated_at: '2024-06-03T05:13:37.000000Z' updated_by: e5984302-2b2e-4cc7-ae9d-f4fb44b3d582 pivot: cs_group_id: 35 branch_id: 7 is_active: true created_by: null updated_by: null deleted_by: null created_at: '2025-07-16T01:54:07.000000Z' updated_at: '2025-11-05T17:07:13.000000Z' - branch_id: 11 branch_uid: ae62d13e-028d-4bfb-89f0-666739ebfcba code: SEMARANG name_branch: 'SEMARANG - JATENG' img_url: branches/cQyADLaNTqa1aDa2LSgn0FFHWG7LGZoZrk8kSar1.png status: 1 created_at: '2025-05-01T07:39:58.000000Z' updated_at: '2025-05-01T07:39:58.000000Z' updated_by: system pivot: cs_group_id: 35 branch_id: 11 is_active: true created_by: null updated_by: null deleted_by: null created_at: '2025-07-16T01:54:07.000000Z' updated_at: '2025-11-05T17:07:13.000000Z' - branch_id: 12 branch_uid: 16c90942-ff15-4ae3-8036-4ef42ee4981e code: BEKASI name_branch: 'BEKASI - JABAR' img_url: branches/R1ULdCmdJmFhD1KXMpjmPc3swNi3hOcGZW1m3hOq.png status: 1 created_at: '2025-05-01T07:40:28.000000Z' updated_at: '2025-05-01T07:40:28.000000Z' updated_by: system pivot: cs_group_id: 35 branch_id: 12 is_active: true created_by: null updated_by: null deleted_by: null created_at: '2025-07-16T01:54:07.000000Z' updated_at: '2025-11-05T17:07:13.000000Z' - branch_id: 14 branch_uid: 8843541a-cb6a-4f7d-be4f-0420a9587321 code: 'JOGJA GONDOKUSUMAN' name_branch: 'JOGJA GONDOKUSUMAN - JOGJA' img_url: branches/fAeWWbd2rfP4bCENm3iN2QO7l46gbbBofQXwWgYP.png status: 1 created_at: '2025-10-18T02:01:39.000000Z' updated_at: '2025-10-18T02:12:13.000000Z' updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 pivot: cs_group_id: 35 branch_id: 14 is_active: true created_by: null updated_by: null deleted_by: null created_at: '2025-11-05T17:07:13.000000Z' updated_at: '2025-11-05T17:07:13.000000Z' error: '' properties: success: type: boolean example: true message: type: string example: 'Group detail' data: type: object properties: id: type: integer example: 35 name: type: string example: 'Branch Group 2' created_at: type: string example: '2025-07-16T01:54:07.000000Z' updated_at: type: string example: '2025-07-16T01:54:09.000000Z' deleted_at: type: string example: null created_by: type: string example: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: type: string example: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: type: string example: null is_active: type: boolean example: true cs_teams: type: array example: - id: 17 name: 'Branch CS 2' created_at: '2025-07-16T01:47:32.000000Z' updated_at: '2025-07-16T01:47:32.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null is_active: null pivot: cs_group_id: 35 cs_team_id: 17 is_active: true created_by: null updated_by: null deleted_by: null created_at: '2025-07-16T01:54:07.000000Z' updated_at: '2025-11-05T17:07:13.000000Z' - id: 19 name: 'Branch SPV' created_at: '2025-07-16T01:48:15.000000Z' updated_at: '2025-07-16T01:48:15.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null is_active: null pivot: cs_group_id: 35 cs_team_id: 19 is_active: true created_by: null updated_by: null deleted_by: null created_at: '2025-09-05T01:03:39.000000Z' updated_at: '2025-11-05T17:07:13.000000Z' items: type: object properties: id: type: integer example: 17 name: type: string example: 'Branch CS 2' created_at: type: string example: '2025-07-16T01:47:32.000000Z' updated_at: type: string example: '2025-07-16T01:47:32.000000Z' deleted_at: type: string example: null created_by: type: string example: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: type: string example: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: type: string example: null is_active: type: string example: null pivot: type: object properties: cs_group_id: type: integer example: 35 cs_team_id: type: integer example: 17 is_active: type: boolean example: true created_by: type: string example: null updated_by: type: string example: null deleted_by: type: string example: null created_at: type: string example: '2025-07-16T01:54:07.000000Z' updated_at: type: string example: '2025-11-05T17:07:13.000000Z' branches: type: array example: - branch_id: 4 branch_uid: b6572f91-5bb8-4c23-9268-31d2ccd8b5f6 code: JOGJA name_branch: 'JOGJA - JOGJA' img_url: branches/Z2tIgLBKCm2zWALmItaeZyyTwdOxUVrIqUYQdLSs.jpg status: 1 created_at: '2023-05-15T07:18:32.000000Z' updated_at: '2024-01-11T09:01:28.000000Z' updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 pivot: cs_group_id: 35 branch_id: 4 is_active: true created_by: null updated_by: null deleted_by: null created_at: '2025-07-16T01:54:07.000000Z' updated_at: '2025-11-05T17:07:13.000000Z' - branch_id: 5 branch_uid: fc352b1e-6fc4-420d-9b39-4dbfa6a77264 code: LAMPUNG name_branch: 'Bandar Lampung - Lampung' img_url: branches/47mkQHLSeXMN2fwqx3R98BRWmed7xkROtZs73fW9.jpg status: 1 created_at: '2023-06-05T06:03:25.000000Z' updated_at: '2024-12-20T06:25:19.000000Z' updated_by: 1a4fbc7d-3652-4d35-bc9a-c645ff8d6a49 pivot: cs_group_id: 35 branch_id: 5 is_active: true created_by: null updated_by: null deleted_by: null created_at: '2025-07-16T01:54:07.000000Z' updated_at: '2025-11-05T17:07:13.000000Z' - branch_id: 7 branch_uid: a6bb2f65-6712-4b62-91f7-917330971466 code: MEDAN name_branch: 'MEDAN - SUMATRA' img_url: branches/luwoj3ogbuvmDF5iTVzbAh650hsZdrHJQfLYvnXw.jpg status: 1 created_at: '2024-06-03T05:13:25.000000Z' updated_at: '2024-06-03T05:13:37.000000Z' updated_by: e5984302-2b2e-4cc7-ae9d-f4fb44b3d582 pivot: cs_group_id: 35 branch_id: 7 is_active: true created_by: null updated_by: null deleted_by: null created_at: '2025-07-16T01:54:07.000000Z' updated_at: '2025-11-05T17:07:13.000000Z' - branch_id: 11 branch_uid: ae62d13e-028d-4bfb-89f0-666739ebfcba code: SEMARANG name_branch: 'SEMARANG - JATENG' img_url: branches/cQyADLaNTqa1aDa2LSgn0FFHWG7LGZoZrk8kSar1.png status: 1 created_at: '2025-05-01T07:39:58.000000Z' updated_at: '2025-05-01T07:39:58.000000Z' updated_by: system pivot: cs_group_id: 35 branch_id: 11 is_active: true created_by: null updated_by: null deleted_by: null created_at: '2025-07-16T01:54:07.000000Z' updated_at: '2025-11-05T17:07:13.000000Z' - branch_id: 12 branch_uid: 16c90942-ff15-4ae3-8036-4ef42ee4981e code: BEKASI name_branch: 'BEKASI - JABAR' img_url: branches/R1ULdCmdJmFhD1KXMpjmPc3swNi3hOcGZW1m3hOq.png status: 1 created_at: '2025-05-01T07:40:28.000000Z' updated_at: '2025-05-01T07:40:28.000000Z' updated_by: system pivot: cs_group_id: 35 branch_id: 12 is_active: true created_by: null updated_by: null deleted_by: null created_at: '2025-07-16T01:54:07.000000Z' updated_at: '2025-11-05T17:07:13.000000Z' - branch_id: 14 branch_uid: 8843541a-cb6a-4f7d-be4f-0420a9587321 code: 'JOGJA GONDOKUSUMAN' name_branch: 'JOGJA GONDOKUSUMAN - JOGJA' img_url: branches/fAeWWbd2rfP4bCENm3iN2QO7l46gbbBofQXwWgYP.png status: 1 created_at: '2025-10-18T02:01:39.000000Z' updated_at: '2025-10-18T02:12:13.000000Z' updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 pivot: cs_group_id: 35 branch_id: 14 is_active: true created_by: null updated_by: null deleted_by: null created_at: '2025-11-05T17:07:13.000000Z' updated_at: '2025-11-05T17:07:13.000000Z' items: type: object properties: branch_id: type: integer example: 4 branch_uid: type: string example: b6572f91-5bb8-4c23-9268-31d2ccd8b5f6 code: type: string example: JOGJA name_branch: type: string example: 'JOGJA - JOGJA' img_url: type: string example: branches/Z2tIgLBKCm2zWALmItaeZyyTwdOxUVrIqUYQdLSs.jpg status: type: integer example: 1 created_at: type: string example: '2023-05-15T07:18:32.000000Z' updated_at: type: string example: '2024-01-11T09:01:28.000000Z' updated_by: type: string example: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 pivot: type: object properties: cs_group_id: type: integer example: 35 branch_id: type: integer example: 4 is_active: type: boolean example: true created_by: type: string example: null updated_by: type: string example: null deleted_by: type: string example: null created_at: type: string example: '2025-07-16T01:54:07.000000Z' updated_at: type: string example: '2025-11-05T17:07:13.000000Z' error: type: string example: '' tags: - 'Customer Service Group' security: [] put: summary: 'Update Customer Service Group.' operationId: updateCustomerServiceGroup description: '' parameters: [] responses: { } tags: - 'Customer Service Group' requestBody: required: true content: application/json: schema: type: object properties: name: type: string description: '' example: ut nullable: false branches: type: array description: validation.min. example: - [] items: type: object properties: id: type: string description: '' example: null nullable: false is_active: type: boolean description: '' example: false nullable: false required: - is_active teams: type: array description: validation.min. example: - [] items: type: object properties: id: type: string description: '' example: null nullable: false is_active: type: boolean description: '' example: true nullable: false required: - is_active required: - name - branches - teams delete: summary: 'Delete Customer Service Group.' operationId: deleteCustomerServiceGroup description: '' parameters: [] responses: { } tags: - 'Customer Service Group' parameters: - in: path name: id description: 'The ID of the cs group.' example: 35 required: true schema: type: integer '/api/cs-group/{cs_group}/set-active': put: summary: 'Set Status Customer Service Group.' operationId: setStatusCustomerServiceGroup description: '' parameters: [] responses: { } tags: - 'Customer Service Group' parameters: - in: path name: cs_group description: '' example: 35 required: true schema: type: integer /api/cs-team: get: summary: 'List Team Customer Service.' operationId: listTeamCustomerService description: '' parameters: - in: query name: page description: 'The page of the list.' example: '1' required: true schema: type: string description: 'The page of the list.' example: '1' nullable: false - in: query name: limit description: 'The limit of the list.' example: '10' required: true schema: type: string description: 'The limit of the list.' example: '10' nullable: false - in: query name: q description: 'The search query.' example: John required: false schema: type: string description: 'The search query.' example: John nullable: false responses: 200: description: '' content: application/json: schema: type: object example: success: true message: 'List of teams' data: current_page: 1 data: [] first_page_url: 'https://debug-lead.commercial.kampunginggrislc.com/api/cs-team?page=1' from: null last_page: 1 last_page_url: 'https://debug-lead.commercial.kampunginggrislc.com/api/cs-team?page=1' links: - url: null label: pagination.previous active: false - url: 'https://debug-lead.commercial.kampunginggrislc.com/api/cs-team?page=1' label: '1' active: true - url: null label: pagination.next active: false next_page_url: null path: 'https://debug-lead.commercial.kampunginggrislc.com/api/cs-team' per_page: 10 prev_page_url: null to: null total: 0 error: '' properties: success: type: boolean example: true message: type: string example: 'List of teams' data: type: object properties: current_page: type: integer example: 1 data: type: array example: [] first_page_url: type: string example: 'https://debug-lead.commercial.kampunginggrislc.com/api/cs-team?page=1' from: type: string example: null last_page: type: integer example: 1 last_page_url: type: string example: 'https://debug-lead.commercial.kampunginggrislc.com/api/cs-team?page=1' links: type: array example: - url: null label: pagination.previous active: false - url: 'https://debug-lead.commercial.kampunginggrislc.com/api/cs-team?page=1' label: '1' active: true - url: null label: pagination.next active: false items: type: object properties: url: type: string example: null label: type: string example: pagination.previous active: type: boolean example: false next_page_url: type: string example: null path: type: string example: 'https://debug-lead.commercial.kampunginggrislc.com/api/cs-team' per_page: type: integer example: 10 prev_page_url: type: string example: null to: type: string example: null total: type: integer example: 0 error: type: string example: '' tags: - 'Customer Service Team' security: [] post: summary: 'Store Team Customer Service.' operationId: storeTeamCustomerService description: '' parameters: [] responses: { } tags: - 'Customer Service Team' requestBody: required: true content: application/json: schema: type: object properties: name: type: string description: '' example: dolores nullable: false customer_service: type: array description: '' example: - [] items: type: object properties: id: type: integer description: 'The id of an existing record in the customer_services table.' example: 3 nullable: false required: - id required: - name - customer_service '/api/cs-team/{id}': get: summary: 'Detail Team Customer Service.' operationId: detailTeamCustomerService description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: success: true message: 'Team detail' data: id: 13 name: 'Retired CS' created_at: '2025-02-12T06:33:12.000000Z' updated_at: '2025-02-12T06:33:12.000000Z' deleted_at: null created_by: 623567a0-5aad-42d3-a508-a072ff5bb888 updated_by: 623567a0-5aad-42d3-a508-a072ff5bb888 deleted_by: null customer_services: - id: 16 id_officer: 255 counter: null percent: 100 name: 'Andy yusmant' username: Jeka is_active: true - id: 6 id_officer: 67 counter: null percent: 90 name: jihanabdiah11 username: tia is_active: true - id: 5 id_officer: 69 counter: null percent: 100 name: izanugroho92 username: ryas is_active: true error: '' properties: success: type: boolean example: true message: type: string example: 'Team detail' data: type: object properties: id: type: integer example: 13 name: type: string example: 'Retired CS' created_at: type: string example: '2025-02-12T06:33:12.000000Z' updated_at: type: string example: '2025-02-12T06:33:12.000000Z' deleted_at: type: string example: null created_by: type: string example: 623567a0-5aad-42d3-a508-a072ff5bb888 updated_by: type: string example: 623567a0-5aad-42d3-a508-a072ff5bb888 deleted_by: type: string example: null customer_services: type: array example: - id: 16 id_officer: 255 counter: null percent: 100 name: 'Andy yusmant' username: Jeka is_active: true - id: 6 id_officer: 67 counter: null percent: 90 name: jihanabdiah11 username: tia is_active: true - id: 5 id_officer: 69 counter: null percent: 100 name: izanugroho92 username: ryas is_active: true items: type: object properties: id: type: integer example: 16 id_officer: type: integer example: 255 counter: type: string example: null percent: type: integer example: 100 name: type: string example: 'Andy yusmant' username: type: string example: Jeka is_active: type: boolean example: true error: type: string example: '' tags: - 'Customer Service Team' security: [] put: summary: 'Update Team Customer Service.' operationId: updateTeamCustomerService description: '' parameters: [] responses: { } tags: - 'Customer Service Team' requestBody: required: true content: application/json: schema: type: object properties: name: type: string description: '' example: quidem nullable: false customer_service: type: array description: '' example: - [] items: type: object properties: id: type: integer description: 'The id of an existing record in the customer_services table.' example: 20 nullable: false is_active: type: boolean description: '' example: false nullable: false channel_requirement: type: array description: '' example: - [] items: type: object properties: id: type: integer description: '' example: 4 nullable: false is_active: type: boolean description: '' example: false nullable: false required: - id - is_active required: - id - is_active - channel_requirement required: - name - customer_service delete: summary: 'Delete Team Customer Service.' operationId: deleteTeamCustomerService description: '' parameters: [] responses: { } tags: - 'Customer Service Team' parameters: - in: path name: id description: 'The ID of the cs team.' example: 13 required: true schema: type: integer '/api/cs-team/{team_id}/set-active': put: summary: 'Set Customer Service Active/InActive ON Team.' operationId: setCustomerServiceActiveInActiveONTeam description: '' parameters: [] responses: { } tags: - 'Customer Service Team' parameters: - in: path name: team_id description: 'The ID of the team.' example: 13 required: true schema: type: integer /api/sending-initiate-whatsapp: get: summary: '' operationId: getApiSendingInitiateWhatsapp description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: success: true message: 'WhatsApp initiation sent' data: [] error: '' properties: success: type: boolean example: true message: type: string example: 'WhatsApp initiation sent' data: type: array example: [] error: type: string example: '' tags: - Endpoints security: [] /api/start-of-pause-assignment: get: summary: '' operationId: getApiStartOfPauseAssignment description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: success: true message: 'Pause assignment started' data: [] error: '' properties: success: type: boolean example: true message: type: string example: 'Pause assignment started' data: type: array example: [] error: type: string example: '' tags: - Endpoints security: [] /api/update-qontak-tags: post: summary: 'Main function to trigger the update process' operationId: mainFunctionToTriggerTheUpdateProcess description: '' parameters: [] responses: { } tags: - Endpoints security: [] /api/label-chat/update: post: summary: '' operationId: postApiLabelChatUpdate description: '' parameters: [] responses: { } tags: - Endpoints requestBody: required: true content: application/json: schema: type: object properties: payload: type: object description: '' example: [] nullable: false properties: { } required: - payload security: [] /api/lead/histories: get: summary: 'List Lead Histories.' operationId: listLeadHistories description: '' parameters: - in: query name: page description: 'The page of the list.' example: '1' required: true schema: type: string description: 'The page of the list.' example: '1' nullable: false - in: query name: limit description: 'The limit of the list.' example: '10' required: true schema: type: string description: 'The limit of the list.' example: '10' nullable: false - in: query name: lead_name description: 'The search query for lead name.' example: aut required: false schema: type: string description: 'The search query for lead name.' example: aut nullable: false - in: query name: lead_history_name description: 'The search query for lead history name.' example: et required: false schema: type: string description: 'The search query for lead history name.' example: et nullable: false - in: query name: email description: 'The search query for email.' example: bgusikowski@example.org required: false schema: type: string description: 'The search query for email.' example: bgusikowski@example.org nullable: false - in: query name: whatsapp description: 'The search query for whatsapp.' example: sed required: false schema: type: string description: 'The search query for whatsapp.' example: sed nullable: false - in: query name: course_package_name description: 'The search query for course package name.' example: perferendis required: false schema: type: string description: 'The search query for course package name.' example: perferendis nullable: false - in: query name: bank description: 'The search query for bank.' example: rerum required: false schema: type: string description: 'The search query for bank.' example: rerum nullable: false - in: query name: registration_id description: 'The search query for registration id.' example: natus required: false schema: type: string description: 'The search query for registration id.' example: natus nullable: false - in: query name: utm_campaign description: 'The search query for utm campaign.' example: molestias required: false schema: type: string description: 'The search query for utm campaign.' example: molestias nullable: false - in: query name: utm_source description: 'The search query for utm source.' example: at required: false schema: type: string description: 'The search query for utm source.' example: at nullable: false - in: query name: utm_medium description: 'The search query for utm medium.' example: ipsum required: false schema: type: string description: 'The search query for utm medium.' example: ipsum nullable: false - in: query name: utm_content description: 'The search query for utm content.' example: laudantium required: false schema: type: string description: 'The search query for utm content.' example: laudantium nullable: false - in: query name: clid description: 'The search query for clid.' example: earum required: false schema: type: string description: 'The search query for clid.' example: earum nullable: false - in: query name: response_info description: 'The search query for response info.' example: ea required: false schema: type: string description: 'The search query for response info.' example: ea nullable: false - in: query name: source description: 'The search query for source.' example: est required: false schema: type: string description: 'The search query for source.' example: est nullable: false - in: query name: cs_id description: 'The customer service id.' example: '1' required: false schema: type: string description: 'The customer service id.' example: '1' nullable: false - in: query name: start_date description: 'The start date.' example: '2021-01-01' required: false schema: type: string description: 'The start date.' example: '2021-01-01' nullable: false - in: query name: end_date description: 'The end date.' example: '2021-12-31' required: false schema: type: string description: 'The end date.' example: '2021-12-31' nullable: false - in: query name: start_period description: 'The start period date.' example: '2021-01-01' required: false schema: type: string description: 'The start period date.' example: '2021-01-01' nullable: false - in: query name: end_period description: 'The end period date.' example: '2021-12-31' required: false schema: type: string description: 'The end period date.' example: '2021-12-31' nullable: false - in: query name: start_registration description: 'The start registration date.' example: '2021-01-01' required: false schema: type: string description: 'The start registration date.' example: '2021-01-01' nullable: false - in: query name: end_registration description: 'The end registration date.' example: '2021-12-31' required: false schema: type: string description: 'The end registration date.' example: '2021-12-31' nullable: false - in: query name: start_payment description: 'The start payment date.' example: '2021-01-01' required: false schema: type: string description: 'The start payment date.' example: '2021-01-01' nullable: false - in: query name: end_payment description: 'The end payment date.' example: '2021-12-31' required: false schema: type: string description: 'The end payment date.' example: '2021-12-31' nullable: false - in: query name: branch_id description: 'The branch id.' example: '1' required: false schema: type: string description: 'The branch id.' example: '1' nullable: false - in: query name: category_id description: 'The category id.' example: '1' required: false schema: type: string description: 'The category id.' example: '1' nullable: false - in: query name: status_id description: 'The status id.' example: '1' required: false schema: type: string description: 'The status id.' example: '1' nullable: false - in: query name: is_replied description: 'The is replied status.' example: 'true' required: false schema: type: string description: 'The is replied status.' example: 'true' nullable: false - in: query name: show description: 'The show status.' example: own required: false schema: type: string description: 'The show status.' example: own nullable: false responses: 200: description: '' content: application/json: schema: type: object example: success: true message: 'List of lead histories' data: current_page: 1 data: [] first_page_url: 'https://debug-lead.commercial.kampunginggrislc.com/api/lead/histories?page=1' from: null last_page: 1 last_page_url: 'https://debug-lead.commercial.kampunginggrislc.com/api/lead/histories?page=1' links: - url: null label: pagination.previous active: false - url: 'https://debug-lead.commercial.kampunginggrislc.com/api/lead/histories?page=1' label: '1' active: true - url: null label: pagination.next active: false next_page_url: null path: 'https://debug-lead.commercial.kampunginggrislc.com/api/lead/histories' per_page: 10 prev_page_url: null to: null total: 0 error: '' properties: success: type: boolean example: true message: type: string example: 'List of lead histories' data: type: object properties: current_page: type: integer example: 1 data: type: array example: [] first_page_url: type: string example: 'https://debug-lead.commercial.kampunginggrislc.com/api/lead/histories?page=1' from: type: string example: null last_page: type: integer example: 1 last_page_url: type: string example: 'https://debug-lead.commercial.kampunginggrislc.com/api/lead/histories?page=1' links: type: array example: - url: null label: pagination.previous active: false - url: 'https://debug-lead.commercial.kampunginggrislc.com/api/lead/histories?page=1' label: '1' active: true - url: null label: pagination.next active: false items: type: object properties: url: type: string example: null label: type: string example: pagination.previous active: type: boolean example: false next_page_url: type: string example: null path: type: string example: 'https://debug-lead.commercial.kampunginggrislc.com/api/lead/histories' per_page: type: integer example: 10 prev_page_url: type: string example: null to: type: string example: null total: type: integer example: 0 error: type: string example: '' tags: - Lead security: [] /api/lead/histories/send-message: post: summary: 'Send Message to Lead.' operationId: sendMessageToLead description: '' parameters: [] responses: { } tags: - Lead requestBody: required: true content: application/json: schema: type: object properties: history_lead_id: type: integer description: '' example: 6 nullable: false required: - history_lead_id security: [] /api/lead/histories/detail: get: summary: 'Lead History Detail.' operationId: leadHistoryDetail description: '' parameters: - in: query name: lead_id description: 'The lead id.' example: '109468' required: true schema: type: string description: 'The lead id.' example: '109468' nullable: false - in: query name: registration_id description: 'The registration id.' example: '058534' required: true schema: type: string description: 'The registration id.' example: '058534' nullable: false responses: 200: description: '' content: application/json: schema: type: object example: success: true message: 'Lead History Detail' data: id: 131320 created_at: '2023-06-17T17:00:00.000000Z' name: 'David Martin Munthe' course_package_name: 'Paket Holiday Ceria 2 Minggu' branch_name: 'PARE - JATIM' category_name: 'LC OFFLINE' registration_date: '2023-06-18 00:00:00+00' payment_date: '2023-06-20' registration_number: '058534' period_date: '2023-06-26' bank: IDN status_name: ENGAGED utm_campaign: null utm_source: null utm_medium: null utm_content: null clid: null response_info: null source: Registrasi is_replied: null lead_name: 'David Martin Munthe' lead_email: davidmmunthe8sg@gmail.com lead_whatsapp: '6282190187672' lead_created_at: '2023-06-18T03:22:47.000000Z' error: '' properties: success: type: boolean example: true message: type: string example: 'Lead History Detail' data: type: object properties: id: type: integer example: 131320 created_at: type: string example: '2023-06-17T17:00:00.000000Z' name: type: string example: 'David Martin Munthe' course_package_name: type: string example: 'Paket Holiday Ceria 2 Minggu' branch_name: type: string example: 'PARE - JATIM' category_name: type: string example: 'LC OFFLINE' registration_date: type: string example: '2023-06-18 00:00:00+00' payment_date: type: string example: '2023-06-20' registration_number: type: string example: '058534' period_date: type: string example: '2023-06-26' bank: type: string example: IDN status_name: type: string example: ENGAGED utm_campaign: type: string example: null utm_source: type: string example: null utm_medium: type: string example: null utm_content: type: string example: null clid: type: string example: null response_info: type: string example: null source: type: string example: Registrasi is_replied: type: string example: null lead_name: type: string example: 'David Martin Munthe' lead_email: type: string example: davidmmunthe8sg@gmail.com lead_whatsapp: type: string example: '6282190187672' lead_created_at: type: string example: '2023-06-18T03:22:47.000000Z' error: type: string example: '' tags: - Lead security: [] /api/lead/get-category-list: get: summary: 'Get List of Lead Categories.' operationId: getListOfLeadCategories description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: success: true message: 'List of lead categories' data: - id: 2 name: 'LC OFFLINE' - id: 1 name: 'LC ONLINE' error: '' properties: success: type: boolean example: true message: type: string example: 'List of lead categories' data: type: array example: - id: 2 name: 'LC OFFLINE' - id: 1 name: 'LC ONLINE' items: type: object properties: id: type: integer example: 2 name: type: string example: 'LC OFFLINE' error: type: string example: '' tags: - Lead security: [] /api/lead/get-status-list: get: summary: 'Get List of Lead Statuses.' operationId: getListOfLeadStatuses description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: success: true message: 'List of lead statuses' data: - id: 2 name: ENGAGED - id: 1 name: 'NEW LEAD' error: '' properties: success: type: boolean example: true message: type: string example: 'List of lead statuses' data: type: array example: - id: 2 name: ENGAGED - id: 1 name: 'NEW LEAD' items: type: object properties: id: type: integer example: 2 name: type: string example: ENGAGED error: type: string example: '' tags: - Lead security: [] /api/lead: get: summary: 'List Leads.' operationId: listLeads description: '' parameters: - in: query name: page description: 'The page of the list.' example: '1' required: true schema: type: string description: 'The page of the list.' example: '1' nullable: false - in: query name: limit description: 'The limit of the list.' example: '10' required: true schema: type: string description: 'The limit of the list.' example: '10' nullable: false - in: query name: q description: 'The search query.' example: repudiandae required: false schema: type: string description: 'The search query.' example: repudiandae nullable: false - in: query name: cs_id description: 'The customer service id.' example: '1' required: false schema: type: string description: 'The customer service id.' example: '1' nullable: false - in: query name: start_date description: 'The start date.' example: '2021-01-01' required: false schema: type: string description: 'The start date.' example: '2021-01-01' nullable: false - in: query name: end_date description: 'The end date.' example: '2021-12-31' required: false schema: type: string description: 'The end date.' example: '2021-12-31' nullable: false responses: 200: description: '' content: application/json: schema: type: object example: success: true message: 'List of leads' data: [] error: '' properties: success: type: boolean example: true message: type: string example: 'List of leads' data: type: array example: [] error: type: string example: '' tags: - Lead security: [] '/api/lead/{id}': get: summary: 'Show Lead Detail.' operationId: showLeadDetail description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: success: true message: 'Detail of lead' data: id: 165228 created_at: '2024-01-29T01:18:19.000000Z' name: 'Denta Eka Wijaya' email: null whatsapp: '628977583352' histories: - id: 194724 created_at: '2024-01-29T01:18:19.000000Z' history_name: 'Denta Eka Wijaya' course_package_name: 'VIP Program (1 Bulan)' branch_name: 'PARE - JATIM' category_name: 'LC OFFLINE' registration_date: null payment_date: null registration_number: null period_date: null bank: null status_name: 'NEW LEAD' cs_name: 'Retha Febrianasari' cs_team_name: ZURI cs_group_name: 'Area 1' utm_campaign: null utm_source: null utm_medium: null utm_content: null clid: null response_info: null source: TanyaCs is_replied: null error: '' properties: success: type: boolean example: true message: type: string example: 'Detail of lead' data: type: object properties: id: type: integer example: 165228 created_at: type: string example: '2024-01-29T01:18:19.000000Z' name: type: string example: 'Denta Eka Wijaya' email: type: string example: null whatsapp: type: string example: '628977583352' histories: type: array example: - id: 194724 created_at: '2024-01-29T01:18:19.000000Z' history_name: 'Denta Eka Wijaya' course_package_name: 'VIP Program (1 Bulan)' branch_name: 'PARE - JATIM' category_name: 'LC OFFLINE' registration_date: null payment_date: null registration_number: null period_date: null bank: null status_name: 'NEW LEAD' cs_name: 'Retha Febrianasari' cs_team_name: ZURI cs_group_name: 'Area 1' utm_campaign: null utm_source: null utm_medium: null utm_content: null clid: null response_info: null source: TanyaCs is_replied: null items: type: object properties: id: type: integer example: 194724 created_at: type: string example: '2024-01-29T01:18:19.000000Z' history_name: type: string example: 'Denta Eka Wijaya' course_package_name: type: string example: 'VIP Program (1 Bulan)' branch_name: type: string example: 'PARE - JATIM' category_name: type: string example: 'LC OFFLINE' registration_date: type: string example: null payment_date: type: string example: null registration_number: type: string example: null period_date: type: string example: null bank: type: string example: null status_name: type: string example: 'NEW LEAD' cs_name: type: string example: 'Retha Febrianasari' cs_team_name: type: string example: ZURI cs_group_name: type: string example: 'Area 1' utm_campaign: type: string example: null utm_source: type: string example: null utm_medium: type: string example: null utm_content: type: string example: null clid: type: string example: null response_info: type: string example: null source: type: string example: TanyaCs is_replied: type: string example: null error: type: string example: '' tags: - Lead security: [] parameters: - in: path name: id description: 'The ID of the lead.' example: 165228 required: true schema: type: integer /api/dashboard-cs: get: summary: 'Dashboard of Customer Service.' operationId: dashboardOfCustomerService description: '' parameters: [] responses: 404: description: '' content: application/json: schema: type: object example: success: false message: 'Customer Service Not Found' data: null error: '' properties: success: type: boolean example: false message: type: string example: 'Customer Service Not Found' data: type: string example: null error: type: string example: '' tags: - Lead /api/dashboard-spv: get: summary: 'Dashboard of Spv Selling.' operationId: dashboardOfSpvSelling description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: success: true message: 'Dashboard of Spv Selling' data: statistics: total_lead_count: 513356 lead_count_today: 41 lead_count_yesterday: 476 lead_count_this_month: 11261 lead_count_last_month: 23403 total_registered_lead_count: 55844 registered_lead_count_today: 4 registered_lead_count_yesterday: 36 registered_lead_count_this_month: 898 registered_lead_count_last_month: 2095 total_payment_lead_count: 31284 payment_lead_count_today: 0 payment_lead_count_yesterday: 12 payment_lead_count_this_month: 359 payment_lead_count_last_month: 740 per_team: - team_name: ARIEL total_lead_count: 84721 lead_count_today: 0 lead_count_this_month: 0 total_registered_lead_count: 9648 registered_lead_count_today: 0 registered_lead_count_this_month: 0 total_payment_lead_count: 5703 payment_lead_count_today: 0 payment_lead_count_this_month: 0 schedule: - id: 10 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:50:13.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 1 name: 'Ismi Sofiatul Q.' username: Hana team_id: 4 team_name: ARIEL group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13611 - id: 4 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:17:29.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 4 name: ajaynursyamsu2211 username: Max team_id: 4 team_name: ARIEL group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13612 - team_name: DIAZ total_lead_count: 77625 lead_count_today: 0 lead_count_this_month: 0 total_registered_lead_count: 8525 registered_lead_count_today: 0 registered_lead_count_this_month: 0 total_payment_lead_count: 4907 payment_lead_count_today: 0 payment_lead_count_this_month: 0 schedule: - id: 2 schedule_shift_id: 1801 percent: 80 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:24:18.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 3 name: 'Irfan Mohamad Sukri' username: Evan team_id: 5 team_name: DIAZ group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13613 - id: 13 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:44:37.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 4 name: 'Fitria Rachmawati Oemardi' username: Yuki team_id: 5 team_name: DIAZ group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13614 - team_name: IZZY total_lead_count: 99808 lead_count_today: 0 lead_count_this_month: 0 total_registered_lead_count: 10943 registered_lead_count_today: 0 registered_lead_count_this_month: 0 total_payment_lead_count: 6471 payment_lead_count_today: 0 payment_lead_count_this_month: 0 schedule: - id: 3 schedule_shift_id: 1801 percent: 0 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 0 name: dewintan username: Fita team_id: 6 team_name: IZZY group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13615 - id: 17 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:33:20.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 1 name: 'Nashiha Afidah' username: Ryas team_id: 6 team_name: IZZY group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13616 - team_name: ZURI total_lead_count: 55923 lead_count_today: 0 lead_count_this_month: 0 total_registered_lead_count: 6731 registered_lead_count_today: 0 registered_lead_count_this_month: 0 total_payment_lead_count: 3819 payment_lead_count_today: 0 payment_lead_count_this_month: 0 schedule: - id: 11 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:35:50.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 3 name: 'Devina Dyah' username: Zea team_id: 7 team_name: ZURI group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13620 - id: 12 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:44:39.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 4 name: 'Retha Febrianasari' username: Ara team_id: 7 team_name: ZURI group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13619 - team_name: NIKY total_lead_count: 26543 lead_count_today: 0 lead_count_this_month: 0 total_registered_lead_count: 2287 registered_lead_count_today: 0 registered_lead_count_this_month: 0 total_payment_lead_count: 1474 payment_lead_count_today: 0 payment_lead_count_this_month: 0 schedule: - id: 15 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:16:16.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 3 name: 'Tiara Selling' username: Kenzie team_id: 8 team_name: NIKY group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13617 - id: 7 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:35:39.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 3 name: 'eko wicaksono' username: Kia team_id: 16 team_name: 'Branch CS 1' group_id: 33 group_name: 'Branch Group 1' schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13618 - team_name: Unknown total_lead_count: 8930 lead_count_today: 0 lead_count_this_month: 0 total_registered_lead_count: 828 registered_lead_count_today: 0 registered_lead_count_this_month: 0 total_payment_lead_count: 485 payment_lead_count_today: 0 payment_lead_count_this_month: 0 schedule: [] - team_name: SPV total_lead_count: 45252 lead_count_today: 0 lead_count_this_month: 0 total_registered_lead_count: 7825 registered_lead_count_today: 0 registered_lead_count_this_month: 0 total_payment_lead_count: 4275 payment_lead_count_today: 0 payment_lead_count_this_month: 0 schedule: - id: 9 schedule_shift_id: 1801 percent: 10 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:09:21.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 2 name: 'Ms. Rossy Selling' username: Nada team_id: 11 team_name: SPV group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13621 - team_name: Frontline total_lead_count: 456 lead_count_today: 0 lead_count_this_month: 17 total_registered_lead_count: 358 registered_lead_count_today: 0 registered_lead_count_this_month: 17 total_payment_lead_count: 168 payment_lead_count_today: 0 payment_lead_count_this_month: 2 schedule: [] - team_name: 'Retired CS' total_lead_count: 4103 lead_count_today: 0 lead_count_this_month: 106 total_registered_lead_count: 303 registered_lead_count_today: 0 registered_lead_count_this_month: 10 total_payment_lead_count: 119 payment_lead_count_today: 0 payment_lead_count_this_month: 4 schedule: [] - team_name: 'NEW CS' total_lead_count: 884 lead_count_today: 0 lead_count_this_month: 0 total_registered_lead_count: 89 registered_lead_count_today: 0 registered_lead_count_this_month: 0 total_payment_lead_count: 45 payment_lead_count_today: 0 payment_lead_count_this_month: 0 schedule: - id: 18 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:40:34.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 3 name: 'Thomas Aldi Setiawan' username: Vyn team_id: 14 team_name: 'NEW CS' group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13622 - id: 19 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:40:39.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 3 name: 'Evryta P.' username: Gea team_id: 14 team_name: 'NEW CS' group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13623 - team_name: 'HQ CS' total_lead_count: 62391 lead_count_today: 26 lead_count_this_month: 6459 total_registered_lead_count: 4409 registered_lead_count_today: 4 registered_lead_count_this_month: 434 total_payment_lead_count: 1941 payment_lead_count_today: 0 payment_lead_count_this_month: 148 schedule: - id: 15 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:16:16.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 3 name: 'Tiara Selling' username: Kenzie team_id: 8 team_name: NIKY group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13617 - id: 4 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:17:29.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 4 name: ajaynursyamsu2211 username: Max team_id: 4 team_name: ARIEL group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13612 - id: 2 schedule_shift_id: 1801 percent: 80 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:24:18.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 3 name: 'Irfan Mohamad Sukri' username: Evan team_id: 5 team_name: DIAZ group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13613 - id: 18 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:40:34.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 3 name: 'Thomas Aldi Setiawan' username: Vyn team_id: 14 team_name: 'NEW CS' group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13622 - id: 19 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:40:39.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 3 name: 'Evryta P.' username: Gea team_id: 14 team_name: 'NEW CS' group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13623 - id: 12 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:44:39.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 4 name: 'Retha Febrianasari' username: Ara team_id: 7 team_name: ZURI group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13619 - id: 20 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:46:03.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 3 name: 'Ana Ismatul Mubarokah' username: 'CS Tia' team_id: 15 team_name: 'HQ CS' group_id: 32 group_name: 'HQ Group' schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13624 - team_name: 'Branch CS 1' total_lead_count: 24385 lead_count_today: 10 lead_count_this_month: 2635 total_registered_lead_count: 1908 registered_lead_count_today: 0 registered_lead_count_this_month: 198 total_payment_lead_count: 997 payment_lead_count_today: 0 payment_lead_count_this_month: 108 schedule: - id: 7 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:35:39.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 3 name: 'eko wicaksono' username: Kia team_id: 16 team_name: 'Branch CS 1' group_id: 33 group_name: 'Branch Group 1' schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13618 - id: 11 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:35:50.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 3 name: 'Devina Dyah' username: Zea team_id: 7 team_name: ZURI group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13620 - id: 13 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:44:37.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 4 name: 'Fitria Rachmawati Oemardi' username: Yuki team_id: 5 team_name: DIAZ group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13614 - team_name: 'Branch CS 2' total_lead_count: 18451 lead_count_today: 2 lead_count_this_month: 1728 total_registered_lead_count: 1641 registered_lead_count_today: 0 registered_lead_count_this_month: 213 total_payment_lead_count: 732 payment_lead_count_today: 0 payment_lead_count_this_month: 87 schedule: - id: 21 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 0 name: 'Nur Rafida' username: Oliv team_id: 17 team_name: 'Branch CS 2' group_id: 35 group_name: 'Branch Group 2' schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13625 - id: 10 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:50:13.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 1 name: 'Ismi Sofiatul Q.' username: Hana team_id: 4 team_name: ARIEL group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13611 - id: 17 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:33:20.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 1 name: 'Nashiha Afidah' username: Ryas team_id: 6 team_name: IZZY group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13616 - id: 19 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:40:39.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 3 name: 'Evryta P.' username: Gea team_id: 14 team_name: 'NEW CS' group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13623 - team_name: 'HQ SPV' total_lead_count: 1959 lead_count_today: 0 lead_count_this_month: 130 total_registered_lead_count: 123 registered_lead_count_today: 0 registered_lead_count_this_month: 8 total_payment_lead_count: 54 payment_lead_count_today: 0 payment_lead_count_this_month: 1 schedule: - id: 3 schedule_shift_id: 1801 percent: 0 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 0 name: dewintan username: Fita team_id: 6 team_name: IZZY group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13615 - team_name: 'Branch SPV' total_lead_count: 1925 lead_count_today: 3 lead_count_this_month: 186 total_registered_lead_count: 226 registered_lead_count_today: 0 registered_lead_count_this_month: 18 total_payment_lead_count: 94 payment_lead_count_today: 0 payment_lead_count_this_month: 9 schedule: - id: 9 schedule_shift_id: 1801 percent: 10 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:09:21.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 2 name: 'Ms. Rossy Selling' username: Nada team_id: 11 team_name: SPV group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13621 error: '' properties: success: type: boolean example: true message: type: string example: 'Dashboard of Spv Selling' data: type: object properties: statistics: type: object properties: total_lead_count: type: integer example: 513356 lead_count_today: type: integer example: 41 lead_count_yesterday: type: integer example: 476 lead_count_this_month: type: integer example: 11261 lead_count_last_month: type: integer example: 23403 total_registered_lead_count: type: integer example: 55844 registered_lead_count_today: type: integer example: 4 registered_lead_count_yesterday: type: integer example: 36 registered_lead_count_this_month: type: integer example: 898 registered_lead_count_last_month: type: integer example: 2095 total_payment_lead_count: type: integer example: 31284 payment_lead_count_today: type: integer example: 0 payment_lead_count_yesterday: type: integer example: 12 payment_lead_count_this_month: type: integer example: 359 payment_lead_count_last_month: type: integer example: 740 per_team: type: array example: - team_name: ARIEL total_lead_count: 84721 lead_count_today: 0 lead_count_this_month: 0 total_registered_lead_count: 9648 registered_lead_count_today: 0 registered_lead_count_this_month: 0 total_payment_lead_count: 5703 payment_lead_count_today: 0 payment_lead_count_this_month: 0 schedule: - id: 10 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:50:13.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 1 name: 'Ismi Sofiatul Q.' username: Hana team_id: 4 team_name: ARIEL group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13611 - id: 4 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:17:29.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 4 name: ajaynursyamsu2211 username: Max team_id: 4 team_name: ARIEL group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13612 - team_name: DIAZ total_lead_count: 77625 lead_count_today: 0 lead_count_this_month: 0 total_registered_lead_count: 8525 registered_lead_count_today: 0 registered_lead_count_this_month: 0 total_payment_lead_count: 4907 payment_lead_count_today: 0 payment_lead_count_this_month: 0 schedule: - id: 2 schedule_shift_id: 1801 percent: 80 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:24:18.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 3 name: 'Irfan Mohamad Sukri' username: Evan team_id: 5 team_name: DIAZ group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13613 - id: 13 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:44:37.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 4 name: 'Fitria Rachmawati Oemardi' username: Yuki team_id: 5 team_name: DIAZ group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13614 - team_name: IZZY total_lead_count: 99808 lead_count_today: 0 lead_count_this_month: 0 total_registered_lead_count: 10943 registered_lead_count_today: 0 registered_lead_count_this_month: 0 total_payment_lead_count: 6471 payment_lead_count_today: 0 payment_lead_count_this_month: 0 schedule: - id: 3 schedule_shift_id: 1801 percent: 0 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 0 name: dewintan username: Fita team_id: 6 team_name: IZZY group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13615 - id: 17 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:33:20.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 1 name: 'Nashiha Afidah' username: Ryas team_id: 6 team_name: IZZY group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13616 - team_name: ZURI total_lead_count: 55923 lead_count_today: 0 lead_count_this_month: 0 total_registered_lead_count: 6731 registered_lead_count_today: 0 registered_lead_count_this_month: 0 total_payment_lead_count: 3819 payment_lead_count_today: 0 payment_lead_count_this_month: 0 schedule: - id: 11 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:35:50.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 3 name: 'Devina Dyah' username: Zea team_id: 7 team_name: ZURI group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13620 - id: 12 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:44:39.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 4 name: 'Retha Febrianasari' username: Ara team_id: 7 team_name: ZURI group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13619 - team_name: NIKY total_lead_count: 26543 lead_count_today: 0 lead_count_this_month: 0 total_registered_lead_count: 2287 registered_lead_count_today: 0 registered_lead_count_this_month: 0 total_payment_lead_count: 1474 payment_lead_count_today: 0 payment_lead_count_this_month: 0 schedule: - id: 15 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:16:16.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 3 name: 'Tiara Selling' username: Kenzie team_id: 8 team_name: NIKY group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13617 - id: 7 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:35:39.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 3 name: 'eko wicaksono' username: Kia team_id: 16 team_name: 'Branch CS 1' group_id: 33 group_name: 'Branch Group 1' schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13618 - team_name: Unknown total_lead_count: 8930 lead_count_today: 0 lead_count_this_month: 0 total_registered_lead_count: 828 registered_lead_count_today: 0 registered_lead_count_this_month: 0 total_payment_lead_count: 485 payment_lead_count_today: 0 payment_lead_count_this_month: 0 schedule: [] - team_name: SPV total_lead_count: 45252 lead_count_today: 0 lead_count_this_month: 0 total_registered_lead_count: 7825 registered_lead_count_today: 0 registered_lead_count_this_month: 0 total_payment_lead_count: 4275 payment_lead_count_today: 0 payment_lead_count_this_month: 0 schedule: - id: 9 schedule_shift_id: 1801 percent: 10 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:09:21.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 2 name: 'Ms. Rossy Selling' username: Nada team_id: 11 team_name: SPV group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13621 - team_name: Frontline total_lead_count: 456 lead_count_today: 0 lead_count_this_month: 17 total_registered_lead_count: 358 registered_lead_count_today: 0 registered_lead_count_this_month: 17 total_payment_lead_count: 168 payment_lead_count_today: 0 payment_lead_count_this_month: 2 schedule: [] - team_name: 'Retired CS' total_lead_count: 4103 lead_count_today: 0 lead_count_this_month: 106 total_registered_lead_count: 303 registered_lead_count_today: 0 registered_lead_count_this_month: 10 total_payment_lead_count: 119 payment_lead_count_today: 0 payment_lead_count_this_month: 4 schedule: [] - team_name: 'NEW CS' total_lead_count: 884 lead_count_today: 0 lead_count_this_month: 0 total_registered_lead_count: 89 registered_lead_count_today: 0 registered_lead_count_this_month: 0 total_payment_lead_count: 45 payment_lead_count_today: 0 payment_lead_count_this_month: 0 schedule: - id: 18 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:40:34.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 3 name: 'Thomas Aldi Setiawan' username: Vyn team_id: 14 team_name: 'NEW CS' group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13622 - id: 19 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:40:39.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 3 name: 'Evryta P.' username: Gea team_id: 14 team_name: 'NEW CS' group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13623 - team_name: 'HQ CS' total_lead_count: 62391 lead_count_today: 26 lead_count_this_month: 6459 total_registered_lead_count: 4409 registered_lead_count_today: 4 registered_lead_count_this_month: 434 total_payment_lead_count: 1941 payment_lead_count_today: 0 payment_lead_count_this_month: 148 schedule: - id: 15 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:16:16.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 3 name: 'Tiara Selling' username: Kenzie team_id: 8 team_name: NIKY group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13617 - id: 4 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:17:29.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 4 name: ajaynursyamsu2211 username: Max team_id: 4 team_name: ARIEL group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13612 - id: 2 schedule_shift_id: 1801 percent: 80 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:24:18.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 3 name: 'Irfan Mohamad Sukri' username: Evan team_id: 5 team_name: DIAZ group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13613 - id: 18 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:40:34.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 3 name: 'Thomas Aldi Setiawan' username: Vyn team_id: 14 team_name: 'NEW CS' group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13622 - id: 19 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:40:39.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 3 name: 'Evryta P.' username: Gea team_id: 14 team_name: 'NEW CS' group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13623 - id: 12 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:44:39.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 4 name: 'Retha Febrianasari' username: Ara team_id: 7 team_name: ZURI group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13619 - id: 20 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:46:03.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 3 name: 'Ana Ismatul Mubarokah' username: 'CS Tia' team_id: 15 team_name: 'HQ CS' group_id: 32 group_name: 'HQ Group' schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13624 - team_name: 'Branch CS 1' total_lead_count: 24385 lead_count_today: 10 lead_count_this_month: 2635 total_registered_lead_count: 1908 registered_lead_count_today: 0 registered_lead_count_this_month: 198 total_payment_lead_count: 997 payment_lead_count_today: 0 payment_lead_count_this_month: 108 schedule: - id: 7 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:35:39.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 3 name: 'eko wicaksono' username: Kia team_id: 16 team_name: 'Branch CS 1' group_id: 33 group_name: 'Branch Group 1' schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13618 - id: 11 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:35:50.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 3 name: 'Devina Dyah' username: Zea team_id: 7 team_name: ZURI group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13620 - id: 13 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:44:37.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 4 name: 'Fitria Rachmawati Oemardi' username: Yuki team_id: 5 team_name: DIAZ group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13614 - team_name: 'Branch CS 2' total_lead_count: 18451 lead_count_today: 2 lead_count_this_month: 1728 total_registered_lead_count: 1641 registered_lead_count_today: 0 registered_lead_count_this_month: 213 total_payment_lead_count: 732 payment_lead_count_today: 0 payment_lead_count_this_month: 87 schedule: - id: 21 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 0 name: 'Nur Rafida' username: Oliv team_id: 17 team_name: 'Branch CS 2' group_id: 35 group_name: 'Branch Group 2' schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13625 - id: 10 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:50:13.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 1 name: 'Ismi Sofiatul Q.' username: Hana team_id: 4 team_name: ARIEL group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13611 - id: 17 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:33:20.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 1 name: 'Nashiha Afidah' username: Ryas team_id: 6 team_name: IZZY group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13616 - id: 19 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:40:39.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 3 name: 'Evryta P.' username: Gea team_id: 14 team_name: 'NEW CS' group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13623 - team_name: 'HQ SPV' total_lead_count: 1959 lead_count_today: 0 lead_count_this_month: 130 total_registered_lead_count: 123 registered_lead_count_today: 0 registered_lead_count_this_month: 8 total_payment_lead_count: 54 payment_lead_count_today: 0 payment_lead_count_this_month: 1 schedule: - id: 3 schedule_shift_id: 1801 percent: 0 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 0 name: dewintan username: Fita team_id: 6 team_name: IZZY group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13615 - team_name: 'Branch SPV' total_lead_count: 1925 lead_count_today: 3 lead_count_this_month: 186 total_registered_lead_count: 226 registered_lead_count_today: 0 registered_lead_count_this_month: 18 total_payment_lead_count: 94 payment_lead_count_today: 0 payment_lead_count_this_month: 9 schedule: - id: 9 schedule_shift_id: 1801 percent: 10 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:09:21.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 2 name: 'Ms. Rossy Selling' username: Nada team_id: 11 team_name: SPV group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13621 items: type: object properties: team_name: type: string example: ARIEL total_lead_count: type: integer example: 84721 lead_count_today: type: integer example: 0 lead_count_this_month: type: integer example: 0 total_registered_lead_count: type: integer example: 9648 registered_lead_count_today: type: integer example: 0 registered_lead_count_this_month: type: integer example: 0 total_payment_lead_count: type: integer example: 5703 payment_lead_count_today: type: integer example: 0 payment_lead_count_this_month: type: integer example: 0 schedule: type: array example: - id: 10 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:50:13.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 1 name: 'Ismi Sofiatul Q.' username: Hana team_id: 4 team_name: ARIEL group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13611 - id: 4 schedule_shift_id: 1801 percent: 100 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T01:17:29.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 4 name: ajaynursyamsu2211 username: Max team_id: 4 team_name: ARIEL group_id: null group_name: null schedule_shift: id: 1801 schedule_id: 681 shift_id: 4 is_active: true created_at: '2026-01-21T00:00:00.000000Z' updated_at: '2026-01-21T00:00:00.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null template_schedule_shift_cs_id: 13612 items: type: object properties: id: type: integer example: 10 schedule_shift_id: type: integer example: 1801 percent: type: integer example: 100 is_active: type: boolean example: true created_at: type: string example: '2026-01-21T00:00:00.000000Z' updated_at: type: string example: '2026-01-21T00:50:13.000000Z' deleted_at: type: string example: null created_by: type: string example: system updated_by: type: string example: system deleted_by: type: string example: null counter: type: integer example: 1 name: type: string example: 'Ismi Sofiatul Q.' username: type: string example: Hana team_id: type: integer example: 4 team_name: type: string example: ARIEL group_id: type: string example: null group_name: type: string example: null schedule_shift: type: object properties: id: { type: integer, example: 1801 } schedule_id: { type: integer, example: 681 } shift_id: { type: integer, example: 4 } is_active: { type: boolean, example: true } created_at: { type: string, example: '2026-01-21T00:00:00.000000Z' } updated_at: { type: string, example: '2026-01-21T00:00:00.000000Z' } deleted_at: { type: string, example: null } created_by: { type: string, example: system } updated_by: { type: string, example: system } deleted_by: { type: string, example: null } shift: { type: object, properties: { id: { type: integer, example: 4 }, name: { type: string, example: '24 Jam' }, start_time: { type: string, example: '00:00:00' }, end_time: { type: string, example: '23:59:00' }, created_at: { type: string, example: '2024-10-29T09:17:33.000000Z' }, updated_at: { type: string, example: '2024-10-29T09:17:33.000000Z' }, deleted_at: { type: string, example: null }, created_by: { type: string, example: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 }, updated_by: { type: string, example: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 }, deleted_by: { type: string, example: null } } } template_schedule_shift_cs_id: type: integer example: 13611 error: type: string example: '' tags: - Lead security: [] /api/affiliate/check-phone: post: summary: 'Send Message to Lead.' operationId: sendMessageToLead description: '' parameters: [] responses: { } tags: - Lead requestBody: required: true content: application/json: schema: type: object properties: whatsapp: type: string description: '' example: numquam nullable: false required: - whatsapp security: [] /api/retrieve-lead/token: get: summary: 'Getting Secret Key For Retrieving Lead' operationId: gettingSecretKeyForRetrievingLead description: '' parameters: - in: query name: secret_key description: 'The secret key for retrieving lead.' example: lcokaoke required: true schema: type: string description: 'The secret key for retrieving lead.' example: lcokaoke nullable: false - in: query name: number_whatsapp description: 'The number whatsapp for retrieving lead' example: dolore required: true schema: type: string description: 'The number whatsapp for retrieving lead' example: dolore nullable: false responses: 200: description: '' content: application/json: schema: type: object example: success: true message: success data: secret_key: lcokaoke number_whatsapp: dolore token: af282ca18893640e1cd5b90727bf4c62 error: '' properties: success: type: boolean example: true message: type: string example: success data: type: object properties: secret_key: type: string example: lcokaoke number_whatsapp: type: string example: dolore token: type: string example: af282ca18893640e1cd5b90727bf4c62 error: type: string example: '' tags: - 'Retrieving Lead' security: [] /api/retrieve-lead/clid: get: summary: 'Get CLID by WhatsApp Number' operationId: getCLIDByWhatsAppNumber description: '' parameters: - in: query name: whatsapp description: 'The whatsapp number.' example: '628951596034' required: true schema: type: string description: 'The whatsapp number.' example: '628951596034' nullable: false responses: 200: description: '' content: application/json: schema: type: object example: success: false message: 'No CLID found for this WhatsApp number within 30 days' data: null error: '' properties: success: type: boolean example: false message: type: string example: 'No CLID found for this WhatsApp number within 30 days' data: type: string example: null error: type: string example: '' tags: - 'Retrieving Lead' requestBody: required: true content: application/json: schema: type: object properties: whatsapp: type: string description: '' example: animi nullable: false required: - whatsapp security: [] /api/qontak/assign-cs: post: summary: 'Assign Customer Service To Room ( Qontak )' operationId: assignCustomerServiceToRoomQontak description: '' parameters: [] responses: { } tags: - 'Retrieving Lead' requestBody: required: true content: application/json: schema: type: object properties: room_id: type: string description: '' example: fugit nullable: false phone_number: type: string description: 'Ensuring that the registration_id exists in the leads table.' example: consequatur nullable: false name: type: string description: 'Ensuring that the bio_filled is a boolean.' example: assumenda nullable: true required: - room_id - phone_number security: [] /api/assign-unassigned-lead: get: summary: 'Assign Unassigned Customer Service To Room ( Qontak )' operationId: assignUnassignedCustomerServiceToRoomQontak description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: success: true message: 'No unassigned leads' data: null error: '' properties: success: type: boolean example: true message: type: string example: 'No unassigned leads' data: type: string example: null error: type: string example: '' tags: - 'Retrieving Lead' security: [] /api/retrieve-lead: post: summary: 'Retrieving Lead.' operationId: retrievingLead description: '' parameters: [] responses: { } tags: - 'Retrieving Lead' requestBody: required: true content: application/json: schema: type: object properties: name: type: string description: 'The name of the lead.' example: 'Akbar Hidayat' nullable: false whatsapp: type: string description: 'The phone number of the lead.' example: '081393597900' nullable: false branch_code: type: string description: 'The CODE of the branch. Example : PARE, BOGOR, BANDUNG, JOGJA, LAMPUNG, SERANG, MEDAN, MAKASSAR, ONLINE.' example: PARE nullable: false course_package_name: type: string description: 'The name of the course package.' example: 'Basic English' nullable: false source: type: string description: 'The source of the lead. Example : RegistrasiOnline, Registrasi, TanyaCs.' example: TanyaCs nullable: false email: type: string description: 'The email address of the lead. validation.email.' example: john@example.com nullable: true period_date: type: string description: 'The date of the period.' example: '2024-09-01' nullable: true registration_id: type: string description: 'The ID of the registration.' example: 1001 nullable: true registration_date: type: string description: 'The registration date of the lead. validation.date.' example: '2023-09-10 00:00:00' nullable: true payment_date: type: string description: 'The payment date of the lead. validation.date.' example: '2023-09-15 00:00:00' nullable: true cs_id: type: string description: 'The ID of the customer service.' example: N0F3ZStvZGxyL202c3FhOFBpUENOdz09OjpwTZypzA8lmuaybr4w4paO nullable: true affiliate: type: string description: 'Affiliate information if any.' example: 'Affiliate XYZ' nullable: true description: type: string description: 'Additional description for the lead.' example: 'Interested in advanced course packages.' nullable: true utm_source: type: string description: 'UTM source for tracking lead acquisition. Example : FB,IG,GOOGLE,GA,YT,TT.' example: FB nullable: true utm_medium: type: string description: 'UTM medium for tracking lead acquisition on content.' example: '' nullable: true utm_campaign: type: string description: 'UTM campaign for tracking lead acquisition. Example : PAID, ORGANIC.' example: PAID nullable: true utm_term: type: string description: 'UTM term for tracking keyword leads.' example: '' nullable: true utm_content: type: string description: 'UTM content for tracking specific content that generated the lead. Example : pare, bogor, bandung, lampung, makassar, medan, yogyakarta, online, holiday_ceria, intensive, vip, em, esk.' example: pare nullable: true clid: type: object description: 'Click ID for tracking lead acquisition source as JSON object.' example: campaign_id: '12345' ad_group_id: '67890' keyword: 'belajar bahasa inggris' nullable: true properties: { } required: - name - whatsapp - branch_code - course_package_name - source security: [] /api/update-payment-lead: post: summary: 'Update Payment Lead.' operationId: updatePaymentLead description: '' parameters: [] responses: { } tags: - 'Retrieving Lead' requestBody: required: true content: application/json: schema: type: object properties: registration_id: type: integer description: 'The registration id of the lead.' example: 0 nullable: false payment_date: type: date description: 'The payment date of the lead.' example: '2021-08-01' nullable: false bank: type: string description: 'The bank name of the lead.' example: BCA nullable: false whatsapp: type: string description: 'The whatsapp number of the lead.' example: '081393597900' nullable: false required: - registration_id - payment_date - bank - whatsapp security: [] /api/update-status-bio: post: summary: 'Update Status Bio Filled.' operationId: updateStatusBioFilled description: '' parameters: [] responses: { } tags: - 'Retrieving Lead' requestBody: required: true content: application/json: schema: type: object properties: registration_id: type: integer description: 'The registration id of the lead.' example: 0 nullable: false bio_filled: type: boolean description: 'The bio filled status of the lead.' example: true nullable: false whatsapp: type: string description: 'The whatsapp number of the lead.' example: '081393597900' nullable: false required: - registration_id - bio_filled - whatsapp security: [] /api/select-cs: post: summary: 'Select Customer Service.' operationId: selectCustomerService description: '' parameters: [] responses: { } tags: - 'Retrieving Lead' requestBody: required: true content: application/json: schema: type: object properties: cs_id: type: string description: '' example: voluptatem nullable: true whatsapp: type: string description: 'The whatsapp number of the lead.' example: '081393597900' nullable: false branch_code: type: string description: 'The branch code of the lead : PARE, BOGOR, BANDUNG, JOGJA, LAMPUNG, SERANG, MEDAN, MAKASSAR, ONLINE.' example: PARE nullable: false required: - whatsapp - branch_code security: [] /api/schedule/create-today: get: summary: 'Create Schedule' operationId: createSchedule description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: success: true message: 'Schedule already created today' data: [] error: '' properties: success: type: boolean example: true message: type: string example: 'Schedule already created today' data: type: array example: [] error: type: string example: '' tags: - Schedule security: [] /api/schedule: get: summary: 'List Schedule.' operationId: listSchedule description: '' parameters: - in: query name: page description: 'The page of the list.' example: '1' required: true schema: type: string description: 'The page of the list.' example: '1' nullable: false - in: query name: limit description: 'The limit of the list.' example: '10' required: true schema: type: string description: 'The limit of the list.' example: '10' nullable: false - in: query name: date description: 'The date of the schedule.' example: '2021-09-01' required: false schema: type: string description: 'The date of the schedule.' example: '2021-09-01' nullable: false responses: 200: description: '' content: application/json: schema: type: object example: success: true message: 'List Schedule' data: current_page: 1 data: [] first_page_url: 'https://debug-lead.commercial.kampunginggrislc.com/api/schedule?page=1' from: null last_page: 1 last_page_url: 'https://debug-lead.commercial.kampunginggrislc.com/api/schedule?page=1' links: - url: null label: pagination.previous active: false - url: 'https://debug-lead.commercial.kampunginggrislc.com/api/schedule?page=1' label: '1' active: true - url: null label: pagination.next active: false next_page_url: null path: 'https://debug-lead.commercial.kampunginggrislc.com/api/schedule' per_page: 10 prev_page_url: null to: null total: 0 error: '' properties: success: type: boolean example: true message: type: string example: 'List Schedule' data: type: object properties: current_page: type: integer example: 1 data: type: array example: [] first_page_url: type: string example: 'https://debug-lead.commercial.kampunginggrislc.com/api/schedule?page=1' from: type: string example: null last_page: type: integer example: 1 last_page_url: type: string example: 'https://debug-lead.commercial.kampunginggrislc.com/api/schedule?page=1' links: type: array example: - url: null label: pagination.previous active: false - url: 'https://debug-lead.commercial.kampunginggrislc.com/api/schedule?page=1' label: '1' active: true - url: null label: pagination.next active: false items: type: object properties: url: type: string example: null label: type: string example: pagination.previous active: type: boolean example: false next_page_url: type: string example: null path: type: string example: 'https://debug-lead.commercial.kampunginggrislc.com/api/schedule' per_page: type: integer example: 10 prev_page_url: type: string example: null to: type: string example: null total: type: integer example: 0 error: type: string example: '' tags: - Schedule security: [] '/api/schedule/{id}': get: summary: 'Detail Schedule.' operationId: detailSchedule description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: success: true message: 'Detail Schedule' data: id: 618 created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T08:38:31.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null updated_by_name: system schedule_shift: - id: 1632 schedule_id: 618 shift_id: 4 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T08:38:31.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null schedule_shift_cs_with_customer_service: - id: 3 schedule_shift_id: 1632 percent: 0 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T08:38:31.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 0 name: dewintan username: Fita team_id: 18 team_name: 'HQ SPV' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 11200 - id: 20 schedule_shift_id: 1632 percent: 80 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:21:30.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 16 name: 'Ana Ismatul Mubarokah' username: 'CS Tia' team_id: 15 team_name: 'HQ CS' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 11209 - id: 12 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:38:23.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 20 name: 'Retha Febrianasari' username: Ara team_id: 15 team_name: 'HQ CS' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 11204 - id: 18 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:39:13.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 20 name: 'Thomas Aldi Setiawan' username: Vyn team_id: 15 team_name: 'HQ CS' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 11207 - id: 7 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:42:23.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 23 name: 'eko wicaksono' username: Kia team_id: 16 team_name: 'Branch CS 1' group_id: 33 group_name: 'Branch Group 1' template_schedule_shift_cs_id: 11203 - id: 19 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:43:52.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 20 name: 'Evryta P.' username: Gea team_id: 15 team_name: 'HQ CS' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 11208 - id: 11 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:45:32.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 23 name: 'Devina Dyah' username: Zea team_id: 16 team_name: 'Branch CS 1' group_id: 33 group_name: 'Branch Group 1' template_schedule_shift_cs_id: 11205 - id: 4 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:45:36.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 21 name: ajaynursyamsu2211 username: Max team_id: 15 team_name: 'HQ CS' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 11197 - id: 13 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:46:59.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 24 name: 'Fitria Rachmawati Oemardi' username: Yuki team_id: 16 team_name: 'Branch CS 1' group_id: 33 group_name: 'Branch Group 1' template_schedule_shift_cs_id: 11199 - id: 21 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:52:44.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 16 name: 'Nur Rafida' username: Oliv team_id: 17 team_name: 'Branch CS 2' group_id: 35 group_name: 'Branch Group 2' template_schedule_shift_cs_id: 11210 - id: 10 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:53:13.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 17 name: 'Ismi Sofiatul Q.' username: Hana team_id: 17 team_name: 'Branch CS 2' group_id: 35 group_name: 'Branch Group 2' template_schedule_shift_cs_id: 11196 - id: 2 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:54:26.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 21 name: 'Irfan Mohamad Sukri' username: Evan team_id: 15 team_name: 'HQ CS' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 11198 - id: 17 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:54:58.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 17 name: 'Nashiha Afidah' username: Ryas team_id: 17 team_name: 'Branch CS 2' group_id: 35 group_name: 'Branch Group 2' template_schedule_shift_cs_id: 11201 - id: 15 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:58:35.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 21 name: 'Tiara Selling' username: Kenzie team_id: 15 team_name: 'HQ CS' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 11202 - id: 9 schedule_shift_id: 1632 percent: 10 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T22:41:03.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 3 name: 'Ms. Rossy Selling' username: Nada team_id: 19 team_name: 'Branch SPV' group_id: 33 group_name: 'Branch Group 1' template_schedule_shift_cs_id: 11206 error: '' properties: success: type: boolean example: true message: type: string example: 'Detail Schedule' data: type: object properties: id: type: integer example: 618 created_at: type: string example: '2025-11-19T08:38:31.000000Z' updated_at: type: string example: '2025-11-19T08:38:31.000000Z' deleted_at: type: string example: null created_by: type: string example: system updated_by: type: string example: system deleted_by: type: string example: null updated_by_name: type: string example: system schedule_shift: type: array example: - id: 1632 schedule_id: 618 shift_id: 4 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T08:38:31.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null shift: id: 4 name: '24 Jam' start_time: '00:00:00' end_time: '23:59:00' created_at: '2024-10-29T09:17:33.000000Z' updated_at: '2024-10-29T09:17:33.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null schedule_shift_cs_with_customer_service: - id: 3 schedule_shift_id: 1632 percent: 0 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T08:38:31.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 0 name: dewintan username: Fita team_id: 18 team_name: 'HQ SPV' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 11200 - id: 20 schedule_shift_id: 1632 percent: 80 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:21:30.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 16 name: 'Ana Ismatul Mubarokah' username: 'CS Tia' team_id: 15 team_name: 'HQ CS' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 11209 - id: 12 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:38:23.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 20 name: 'Retha Febrianasari' username: Ara team_id: 15 team_name: 'HQ CS' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 11204 - id: 18 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:39:13.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 20 name: 'Thomas Aldi Setiawan' username: Vyn team_id: 15 team_name: 'HQ CS' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 11207 - id: 7 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:42:23.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 23 name: 'eko wicaksono' username: Kia team_id: 16 team_name: 'Branch CS 1' group_id: 33 group_name: 'Branch Group 1' template_schedule_shift_cs_id: 11203 - id: 19 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:43:52.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 20 name: 'Evryta P.' username: Gea team_id: 15 team_name: 'HQ CS' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 11208 - id: 11 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:45:32.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 23 name: 'Devina Dyah' username: Zea team_id: 16 team_name: 'Branch CS 1' group_id: 33 group_name: 'Branch Group 1' template_schedule_shift_cs_id: 11205 - id: 4 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:45:36.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 21 name: ajaynursyamsu2211 username: Max team_id: 15 team_name: 'HQ CS' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 11197 - id: 13 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:46:59.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 24 name: 'Fitria Rachmawati Oemardi' username: Yuki team_id: 16 team_name: 'Branch CS 1' group_id: 33 group_name: 'Branch Group 1' template_schedule_shift_cs_id: 11199 - id: 21 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:52:44.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 16 name: 'Nur Rafida' username: Oliv team_id: 17 team_name: 'Branch CS 2' group_id: 35 group_name: 'Branch Group 2' template_schedule_shift_cs_id: 11210 - id: 10 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:53:13.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 17 name: 'Ismi Sofiatul Q.' username: Hana team_id: 17 team_name: 'Branch CS 2' group_id: 35 group_name: 'Branch Group 2' template_schedule_shift_cs_id: 11196 - id: 2 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:54:26.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 21 name: 'Irfan Mohamad Sukri' username: Evan team_id: 15 team_name: 'HQ CS' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 11198 - id: 17 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:54:58.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 17 name: 'Nashiha Afidah' username: Ryas team_id: 17 team_name: 'Branch CS 2' group_id: 35 group_name: 'Branch Group 2' template_schedule_shift_cs_id: 11201 - id: 15 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:58:35.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 21 name: 'Tiara Selling' username: Kenzie team_id: 15 team_name: 'HQ CS' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 11202 - id: 9 schedule_shift_id: 1632 percent: 10 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T22:41:03.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 3 name: 'Ms. Rossy Selling' username: Nada team_id: 19 team_name: 'Branch SPV' group_id: 33 group_name: 'Branch Group 1' template_schedule_shift_cs_id: 11206 items: type: object properties: id: type: integer example: 1632 schedule_id: type: integer example: 618 shift_id: type: integer example: 4 is_active: type: boolean example: true created_at: type: string example: '2025-11-19T08:38:31.000000Z' updated_at: type: string example: '2025-11-19T08:38:31.000000Z' deleted_at: type: string example: null created_by: type: string example: system updated_by: type: string example: system deleted_by: type: string example: null shift: type: object properties: id: type: integer example: 4 name: type: string example: '24 Jam' start_time: type: string example: '00:00:00' end_time: type: string example: '23:59:00' created_at: type: string example: '2024-10-29T09:17:33.000000Z' updated_at: type: string example: '2024-10-29T09:17:33.000000Z' deleted_at: type: string example: null created_by: type: string example: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: type: string example: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: type: string example: null schedule_shift_cs_with_customer_service: type: array example: - id: 3 schedule_shift_id: 1632 percent: 0 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T08:38:31.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 0 name: dewintan username: Fita team_id: 18 team_name: 'HQ SPV' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 11200 - id: 20 schedule_shift_id: 1632 percent: 80 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:21:30.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 16 name: 'Ana Ismatul Mubarokah' username: 'CS Tia' team_id: 15 team_name: 'HQ CS' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 11209 - id: 12 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:38:23.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 20 name: 'Retha Febrianasari' username: Ara team_id: 15 team_name: 'HQ CS' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 11204 - id: 18 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:39:13.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 20 name: 'Thomas Aldi Setiawan' username: Vyn team_id: 15 team_name: 'HQ CS' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 11207 - id: 7 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:42:23.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 23 name: 'eko wicaksono' username: Kia team_id: 16 team_name: 'Branch CS 1' group_id: 33 group_name: 'Branch Group 1' template_schedule_shift_cs_id: 11203 - id: 19 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:43:52.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 20 name: 'Evryta P.' username: Gea team_id: 15 team_name: 'HQ CS' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 11208 - id: 11 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:45:32.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 23 name: 'Devina Dyah' username: Zea team_id: 16 team_name: 'Branch CS 1' group_id: 33 group_name: 'Branch Group 1' template_schedule_shift_cs_id: 11205 - id: 4 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:45:36.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 21 name: ajaynursyamsu2211 username: Max team_id: 15 team_name: 'HQ CS' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 11197 - id: 13 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:46:59.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 24 name: 'Fitria Rachmawati Oemardi' username: Yuki team_id: 16 team_name: 'Branch CS 1' group_id: 33 group_name: 'Branch Group 1' template_schedule_shift_cs_id: 11199 - id: 21 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:52:44.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 16 name: 'Nur Rafida' username: Oliv team_id: 17 team_name: 'Branch CS 2' group_id: 35 group_name: 'Branch Group 2' template_schedule_shift_cs_id: 11210 - id: 10 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:53:13.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 17 name: 'Ismi Sofiatul Q.' username: Hana team_id: 17 team_name: 'Branch CS 2' group_id: 35 group_name: 'Branch Group 2' template_schedule_shift_cs_id: 11196 - id: 2 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:54:26.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 21 name: 'Irfan Mohamad Sukri' username: Evan team_id: 15 team_name: 'HQ CS' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 11198 - id: 17 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:54:58.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 17 name: 'Nashiha Afidah' username: Ryas team_id: 17 team_name: 'Branch CS 2' group_id: 35 group_name: 'Branch Group 2' template_schedule_shift_cs_id: 11201 - id: 15 schedule_shift_id: 1632 percent: 100 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T23:58:35.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 21 name: 'Tiara Selling' username: Kenzie team_id: 15 team_name: 'HQ CS' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 11202 - id: 9 schedule_shift_id: 1632 percent: 10 is_active: true created_at: '2025-11-19T08:38:31.000000Z' updated_at: '2025-11-19T22:41:03.000000Z' deleted_at: null created_by: system updated_by: system deleted_by: null counter: 3 name: 'Ms. Rossy Selling' username: Nada team_id: 19 team_name: 'Branch SPV' group_id: 33 group_name: 'Branch Group 1' template_schedule_shift_cs_id: 11206 items: type: object properties: id: type: integer example: 3 schedule_shift_id: type: integer example: 1632 percent: type: integer example: 0 is_active: type: boolean example: true created_at: type: string example: '2025-11-19T08:38:31.000000Z' updated_at: type: string example: '2025-11-19T08:38:31.000000Z' deleted_at: type: string example: null created_by: type: string example: system updated_by: type: string example: system deleted_by: type: string example: null counter: type: integer example: 0 name: type: string example: dewintan username: type: string example: Fita team_id: type: integer example: 18 team_name: type: string example: 'HQ SPV' group_id: type: integer example: 32 group_name: type: string example: 'HQ Group' template_schedule_shift_cs_id: type: integer example: 11200 error: type: string example: '' tags: - Schedule security: [] put: summary: 'Update Schedule.' operationId: updateSchedule description: '' parameters: [] responses: { } tags: - Schedule requestBody: required: true content: application/json: schema: type: object properties: schedule_shifts: type: array description: '' example: - [] items: type: object properties: id: type: integer description: '' example: 10 nullable: false is_active: type: boolean description: '' example: true nullable: false customer_services: type: array description: '' example: - [] items: type: object properties: id: type: integer description: '' example: 20 nullable: false percent: type: integer description: '' example: 19 nullable: false is_active: type: boolean description: '' example: true nullable: false counter: type: integer description: '' example: 3 nullable: false required: - id - percent - is_active - counter required: - id - is_active - customer_services required: - schedule_shifts security: [] parameters: - in: path name: id description: 'The ID of the schedule.' example: 618 required: true schema: type: integer /api/setting: get: summary: 'Show Setting.' operationId: showSetting description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: success: true message: Setting data: id: 1 max_cs_per_team: 10 max_days_lead: 2 updated_by: null created_by: null deleted_by: null deleted_at: null created_at: '2024-08-30T02:35:06.000000Z' updated_at: '2024-09-16T02:59:01.000000Z' cs_time_create: '00:00' user_initiate: true error: '' properties: success: type: boolean example: true message: type: string example: Setting data: type: object properties: id: type: integer example: 1 max_cs_per_team: type: integer example: 10 max_days_lead: type: integer example: 2 updated_by: type: string example: null created_by: type: string example: null deleted_by: type: string example: null deleted_at: type: string example: null created_at: type: string example: '2024-08-30T02:35:06.000000Z' updated_at: type: string example: '2024-09-16T02:59:01.000000Z' cs_time_create: type: string example: '00:00' user_initiate: type: boolean example: true error: type: string example: '' tags: - Setting security: [] post: summary: 'Store Setting.' operationId: storeSetting description: '' parameters: [] responses: { } tags: - Setting requestBody: required: false content: application/json: schema: type: object properties: max_cs_per_team: type: integer description: 'The max cs per team.' example: 10 nullable: false max_days_lead: type: integer description: 'The max days lead.' example: 10 nullable: false cs_time_create: type: string description: 'The time to create schedule.' example: '00:00:00' nullable: false security: [] '/api/setting/{id}': put: summary: 'Update Setting.' operationId: updateSetting description: '' parameters: [] responses: { } tags: - Setting requestBody: required: false content: application/json: schema: type: object properties: max_cs_per_team: type: integer description: 'The max cs per team.' example: 10 nullable: false max_days_lead: type: integer description: 'The max days lead.' example: 10 nullable: false cs_time_create: type: string description: 'The time to create schedule.' example: '00:00:00' nullable: false security: [] parameters: - in: path name: id description: 'The ID of the setting.' example: 1 required: true schema: type: integer /api/shift: get: summary: 'Show all shifts' operationId: showAllShifts description: '' parameters: - in: query name: page description: 'The page of the list.' example: '1' required: true schema: type: string description: 'The page of the list.' example: '1' nullable: false - in: query name: limit description: 'The limit of the list.' example: '10' required: true schema: type: string description: 'The limit of the list.' example: '10' nullable: false - in: query name: q description: 'The search query.' example: John required: false schema: type: string description: 'The search query.' example: John nullable: false responses: 200: description: '' content: application/json: schema: type: object example: success: true message: 'List of shifts' data: current_page: 1 data: [] first_page_url: 'https://debug-lead.commercial.kampunginggrislc.com/api/shift?page=1' from: null last_page: 1 last_page_url: 'https://debug-lead.commercial.kampunginggrislc.com/api/shift?page=1' links: - url: null label: pagination.previous active: false - url: 'https://debug-lead.commercial.kampunginggrislc.com/api/shift?page=1' label: '1' active: true - url: null label: pagination.next active: false next_page_url: null path: 'https://debug-lead.commercial.kampunginggrislc.com/api/shift' per_page: 10 prev_page_url: null to: null total: 0 error: '' properties: success: type: boolean example: true message: type: string example: 'List of shifts' data: type: object properties: current_page: type: integer example: 1 data: type: array example: [] first_page_url: type: string example: 'https://debug-lead.commercial.kampunginggrislc.com/api/shift?page=1' from: type: string example: null last_page: type: integer example: 1 last_page_url: type: string example: 'https://debug-lead.commercial.kampunginggrislc.com/api/shift?page=1' links: type: array example: - url: null label: pagination.previous active: false - url: 'https://debug-lead.commercial.kampunginggrislc.com/api/shift?page=1' label: '1' active: true - url: null label: pagination.next active: false items: type: object properties: url: type: string example: null label: type: string example: pagination.previous active: type: boolean example: false next_page_url: type: string example: null path: type: string example: 'https://debug-lead.commercial.kampunginggrislc.com/api/shift' per_page: type: integer example: 10 prev_page_url: type: string example: null to: type: string example: null total: type: integer example: 0 error: type: string example: '' tags: - Shift security: [] post: summary: 'Store Shift' operationId: storeShift description: '' parameters: [] responses: { } tags: - Shift requestBody: required: true content: application/json: schema: type: object properties: name: type: string description: '' example: qui nullable: false start_time: type: string description: '' example: vel nullable: false end_time: type: string description: '' example: ullam nullable: false required: - name - start_time - end_time '/api/shift/{id}': get: summary: 'Detail Shift' operationId: detailShift description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: success: true message: 'Shift detail' data: id: 2 name: Sore start_time: '14:00:00' end_time: '23:59:00' created_at: '2024-09-02T04:14:00.000000Z' updated_at: '2024-10-03T08:29:46.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null error: '' properties: success: type: boolean example: true message: type: string example: 'Shift detail' data: type: object properties: id: type: integer example: 2 name: type: string example: Sore start_time: type: string example: '14:00:00' end_time: type: string example: '23:59:00' created_at: type: string example: '2024-09-02T04:14:00.000000Z' updated_at: type: string example: '2024-10-03T08:29:46.000000Z' deleted_at: type: string example: null created_by: type: string example: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: type: string example: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: type: string example: null error: type: string example: '' tags: - Shift security: [] put: summary: 'Update Shift' operationId: updateShift description: '' parameters: [] responses: { } tags: - Shift requestBody: required: true content: application/json: schema: type: object properties: name: type: string description: '' example: aut nullable: false start_time: type: string description: '' example: debitis nullable: false end_time: type: string description: '' example: quae nullable: false required: - name - start_time - end_time delete: summary: 'Remove shift' operationId: removeShift description: '' parameters: [] responses: { } tags: - Shift parameters: - in: path name: id description: 'The ID of the shift.' example: 2 required: true schema: type: integer /api/template-schedule: get: summary: 'List Template Schedule.' operationId: listTemplateSchedule description: '' parameters: - in: query name: page description: 'The page of the list.' example: '1' required: true schema: type: string description: 'The page of the list.' example: '1' nullable: false - in: query name: limit description: 'The limit of the list.' example: '10' required: true schema: type: string description: 'The limit of the list.' example: '10' nullable: false - in: query name: q description: 'The search query.' example: 'All Shift' required: false schema: type: string description: 'The search query.' example: 'All Shift' nullable: false responses: 200: description: '' content: application/json: schema: type: object example: success: true message: '1' data: current_page: 1 data: - id: 7 name: 'All Shift' created_at: '2025-05-08T02:25:34.000000Z' updated_at: '2025-10-27T04:23:29.000000Z' deleted_at: null created_by: 5cb9b47b-8da5-47dd-98fb-92b2fff31476 updated_by: e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187 deleted_by: null is_active: true first_page_url: 'https://debug-lead.commercial.kampunginggrislc.com/api/template-schedule?page=1' from: 1 last_page: 1 last_page_url: 'https://debug-lead.commercial.kampunginggrislc.com/api/template-schedule?page=1' links: - url: null label: pagination.previous active: false - url: 'https://debug-lead.commercial.kampunginggrislc.com/api/template-schedule?page=1' label: '1' active: true - url: null label: pagination.next active: false next_page_url: null path: 'https://debug-lead.commercial.kampunginggrislc.com/api/template-schedule' per_page: 10 prev_page_url: null to: 1 total: 1 error: '' properties: success: type: boolean example: true message: type: string example: '1' data: type: object properties: current_page: type: integer example: 1 data: type: array example: - id: 7 name: 'All Shift' created_at: '2025-05-08T02:25:34.000000Z' updated_at: '2025-10-27T04:23:29.000000Z' deleted_at: null created_by: 5cb9b47b-8da5-47dd-98fb-92b2fff31476 updated_by: e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187 deleted_by: null is_active: true items: type: object properties: id: type: integer example: 7 name: type: string example: 'All Shift' created_at: type: string example: '2025-05-08T02:25:34.000000Z' updated_at: type: string example: '2025-10-27T04:23:29.000000Z' deleted_at: type: string example: null created_by: type: string example: 5cb9b47b-8da5-47dd-98fb-92b2fff31476 updated_by: type: string example: e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187 deleted_by: type: string example: null is_active: type: boolean example: true first_page_url: type: string example: 'https://debug-lead.commercial.kampunginggrislc.com/api/template-schedule?page=1' from: type: integer example: 1 last_page: type: integer example: 1 last_page_url: type: string example: 'https://debug-lead.commercial.kampunginggrislc.com/api/template-schedule?page=1' links: type: array example: - url: null label: pagination.previous active: false - url: 'https://debug-lead.commercial.kampunginggrislc.com/api/template-schedule?page=1' label: '1' active: true - url: null label: pagination.next active: false items: type: object properties: url: type: string example: null label: type: string example: pagination.previous active: type: boolean example: false next_page_url: type: string example: null path: type: string example: 'https://debug-lead.commercial.kampunginggrislc.com/api/template-schedule' per_page: type: integer example: 10 prev_page_url: type: string example: null to: type: integer example: 1 total: type: integer example: 1 error: type: string example: '' tags: - 'Template Schedule' security: [] post: summary: 'Store Template Schedule.' operationId: storeTemplateSchedule description: '' parameters: [] responses: { } tags: - 'Template Schedule' requestBody: required: true content: application/json: schema: type: object properties: name: type: string description: '' example: id nullable: false shifts: type: array description: '' example: - [] items: type: object properties: id: type: integer description: '' example: 18 nullable: false customer_services: type: array description: '' example: - [] items: type: object properties: id: type: integer description: '' example: 11 nullable: false percent: type: integer description: validation.between. example: 0 nullable: false required: - id - percent required: - id - customer_services required: - name - shifts '/api/template-schedule/{id}': get: summary: 'Detail Template Schedule.' operationId: detailTemplateSchedule description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: success: true message: 'Success get detail template schedule' data: id: 3 name: Daily created_at: '2024-09-18T01:49:56.000000Z' updated_at: '2024-10-09T09:18:57.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 5cb9b47b-8da5-47dd-98fb-92b2fff31476 deleted_by: null is_active: false template_shift: - id: 14 template_schedule_id: 3 shift_id: 1 created_at: '2024-09-21T05:27:47.000000Z' updated_at: '2024-09-21T05:27:47.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null shift: id: 1 name: Tes start_time: '00:00:00' end_time: '13:59:00' created_at: '2024-09-02T01:51:56.000000Z' updated_at: '2024-10-07T07:11:12.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 5cb9b47b-8da5-47dd-98fb-92b2fff31476 deleted_by: null customer_service: - id: 4 customer_service_id: 4 template_schedule_shift_id: 14 percent: 10 created_at: '2024-09-21T05:27:47.000000Z' updated_at: '2024-09-21T05:27:47.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null name: ajaynursyamsu2211 username: Max team_id: 15 officer_id: 46 team_name: 'HQ CS' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 33 - id: 2 customer_service_id: 2 template_schedule_shift_id: 14 percent: 10 created_at: '2024-09-21T05:27:47.000000Z' updated_at: '2024-09-21T05:27:47.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null name: 'Irfan Mohamad Sukri' username: Evan team_id: 15 officer_id: 247 team_name: 'HQ CS' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 34 - id: 3 customer_service_id: 3 template_schedule_shift_id: 14 percent: 10 created_at: '2024-09-21T05:27:47.000000Z' updated_at: '2024-09-21T05:27:47.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null name: dewintan username: Fita team_id: 18 officer_id: 61 team_name: 'HQ SPV' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 35 - id: 11 customer_service_id: 11 template_schedule_shift_id: 14 percent: 0 created_at: '2024-09-21T05:27:47.000000Z' updated_at: '2024-09-21T05:27:47.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null name: 'Devina Dyah' username: Zea team_id: 16 officer_id: 48 team_name: 'Branch CS 1' group_id: 33 group_name: 'Branch Group 1' template_schedule_shift_cs_id: 36 - id: 14 customer_service_id: 14 template_schedule_shift_id: 14 percent: 10 created_at: '2024-09-21T05:27:47.000000Z' updated_at: '2024-09-21T05:27:47.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null name: 'Team IT' username: 'IT IT' team_id: null officer_id: 1 team_name: null group_id: null group_name: null template_schedule_shift_cs_id: 37 - id: 15 template_schedule_id: 3 shift_id: 2 created_at: '2024-09-21T05:27:47.000000Z' updated_at: '2024-09-21T05:27:47.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null shift: id: 2 name: Sore start_time: '14:00:00' end_time: '23:59:00' created_at: '2024-09-02T04:14:00.000000Z' updated_at: '2024-10-03T08:29:46.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null customer_service: - id: 10 customer_service_id: 10 template_schedule_shift_id: 15 percent: 20 created_at: '2024-09-21T05:27:47.000000Z' updated_at: '2024-09-21T05:27:47.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null name: 'Ismi Sofiatul Q.' username: Hana team_id: 17 officer_id: 250 team_name: 'Branch CS 2' group_id: 35 group_name: 'Branch Group 2' template_schedule_shift_cs_id: 38 - id: 13 customer_service_id: 13 template_schedule_shift_id: 15 percent: 10 created_at: '2024-09-21T05:27:47.000000Z' updated_at: '2024-09-21T05:27:47.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null name: 'Fitria Rachmawati Oemardi' username: Yuki team_id: 16 officer_id: 249 team_name: 'Branch CS 1' group_id: 33 group_name: 'Branch Group 1' template_schedule_shift_cs_id: 39 - id: 5 customer_service_id: 5 template_schedule_shift_id: 15 percent: 30 created_at: '2024-09-21T05:27:47.000000Z' updated_at: '2024-09-21T05:27:47.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null name: izanugroho92 username: ryas team_id: 13 officer_id: 69 team_name: 'Retired CS' group_id: 29 group_name: 'Retired Group CS' template_schedule_shift_cs_id: 40 - id: 12 customer_service_id: 12 template_schedule_shift_id: 15 percent: 100 created_at: '2024-09-21T05:27:47.000000Z' updated_at: '2024-09-21T05:27:47.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null name: 'Retha Febrianasari' username: Ara team_id: 15 officer_id: 246 team_name: 'HQ CS' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 41 - id: 8 customer_service_id: 8 template_schedule_shift_id: 15 percent: 20 created_at: '2024-09-21T05:27:47.000000Z' updated_at: '2024-09-21T05:27:47.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null name: jehanadani username: Lucy team_id: 12 officer_id: 44 team_name: Frontline group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 42 error: '' properties: success: type: boolean example: true message: type: string example: 'Success get detail template schedule' data: type: object properties: id: type: integer example: 3 name: type: string example: Daily created_at: type: string example: '2024-09-18T01:49:56.000000Z' updated_at: type: string example: '2024-10-09T09:18:57.000000Z' deleted_at: type: string example: null created_by: type: string example: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: type: string example: 5cb9b47b-8da5-47dd-98fb-92b2fff31476 deleted_by: type: string example: null is_active: type: boolean example: false template_shift: type: array example: - id: 14 template_schedule_id: 3 shift_id: 1 created_at: '2024-09-21T05:27:47.000000Z' updated_at: '2024-09-21T05:27:47.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null shift: id: 1 name: Tes start_time: '00:00:00' end_time: '13:59:00' created_at: '2024-09-02T01:51:56.000000Z' updated_at: '2024-10-07T07:11:12.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 5cb9b47b-8da5-47dd-98fb-92b2fff31476 deleted_by: null customer_service: - id: 4 customer_service_id: 4 template_schedule_shift_id: 14 percent: 10 created_at: '2024-09-21T05:27:47.000000Z' updated_at: '2024-09-21T05:27:47.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null name: ajaynursyamsu2211 username: Max team_id: 15 officer_id: 46 team_name: 'HQ CS' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 33 - id: 2 customer_service_id: 2 template_schedule_shift_id: 14 percent: 10 created_at: '2024-09-21T05:27:47.000000Z' updated_at: '2024-09-21T05:27:47.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null name: 'Irfan Mohamad Sukri' username: Evan team_id: 15 officer_id: 247 team_name: 'HQ CS' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 34 - id: 3 customer_service_id: 3 template_schedule_shift_id: 14 percent: 10 created_at: '2024-09-21T05:27:47.000000Z' updated_at: '2024-09-21T05:27:47.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null name: dewintan username: Fita team_id: 18 officer_id: 61 team_name: 'HQ SPV' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 35 - id: 11 customer_service_id: 11 template_schedule_shift_id: 14 percent: 0 created_at: '2024-09-21T05:27:47.000000Z' updated_at: '2024-09-21T05:27:47.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null name: 'Devina Dyah' username: Zea team_id: 16 officer_id: 48 team_name: 'Branch CS 1' group_id: 33 group_name: 'Branch Group 1' template_schedule_shift_cs_id: 36 - id: 14 customer_service_id: 14 template_schedule_shift_id: 14 percent: 10 created_at: '2024-09-21T05:27:47.000000Z' updated_at: '2024-09-21T05:27:47.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null name: 'Team IT' username: 'IT IT' team_id: null officer_id: 1 team_name: null group_id: null group_name: null template_schedule_shift_cs_id: 37 - id: 15 template_schedule_id: 3 shift_id: 2 created_at: '2024-09-21T05:27:47.000000Z' updated_at: '2024-09-21T05:27:47.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null shift: id: 2 name: Sore start_time: '14:00:00' end_time: '23:59:00' created_at: '2024-09-02T04:14:00.000000Z' updated_at: '2024-10-03T08:29:46.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null customer_service: - id: 10 customer_service_id: 10 template_schedule_shift_id: 15 percent: 20 created_at: '2024-09-21T05:27:47.000000Z' updated_at: '2024-09-21T05:27:47.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null name: 'Ismi Sofiatul Q.' username: Hana team_id: 17 officer_id: 250 team_name: 'Branch CS 2' group_id: 35 group_name: 'Branch Group 2' template_schedule_shift_cs_id: 38 - id: 13 customer_service_id: 13 template_schedule_shift_id: 15 percent: 10 created_at: '2024-09-21T05:27:47.000000Z' updated_at: '2024-09-21T05:27:47.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null name: 'Fitria Rachmawati Oemardi' username: Yuki team_id: 16 officer_id: 249 team_name: 'Branch CS 1' group_id: 33 group_name: 'Branch Group 1' template_schedule_shift_cs_id: 39 - id: 5 customer_service_id: 5 template_schedule_shift_id: 15 percent: 30 created_at: '2024-09-21T05:27:47.000000Z' updated_at: '2024-09-21T05:27:47.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null name: izanugroho92 username: ryas team_id: 13 officer_id: 69 team_name: 'Retired CS' group_id: 29 group_name: 'Retired Group CS' template_schedule_shift_cs_id: 40 - id: 12 customer_service_id: 12 template_schedule_shift_id: 15 percent: 100 created_at: '2024-09-21T05:27:47.000000Z' updated_at: '2024-09-21T05:27:47.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null name: 'Retha Febrianasari' username: Ara team_id: 15 officer_id: 246 team_name: 'HQ CS' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 41 - id: 8 customer_service_id: 8 template_schedule_shift_id: 15 percent: 20 created_at: '2024-09-21T05:27:47.000000Z' updated_at: '2024-09-21T05:27:47.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null name: jehanadani username: Lucy team_id: 12 officer_id: 44 team_name: Frontline group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 42 items: type: object properties: id: type: integer example: 14 template_schedule_id: type: integer example: 3 shift_id: type: integer example: 1 created_at: type: string example: '2024-09-21T05:27:47.000000Z' updated_at: type: string example: '2024-09-21T05:27:47.000000Z' deleted_at: type: string example: null created_by: type: string example: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: type: string example: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: type: string example: null shift: type: object properties: id: type: integer example: 1 name: type: string example: Tes start_time: type: string example: '00:00:00' end_time: type: string example: '13:59:00' created_at: type: string example: '2024-09-02T01:51:56.000000Z' updated_at: type: string example: '2024-10-07T07:11:12.000000Z' deleted_at: type: string example: null created_by: type: string example: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: type: string example: 5cb9b47b-8da5-47dd-98fb-92b2fff31476 deleted_by: type: string example: null customer_service: type: array example: - id: 4 customer_service_id: 4 template_schedule_shift_id: 14 percent: 10 created_at: '2024-09-21T05:27:47.000000Z' updated_at: '2024-09-21T05:27:47.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null name: ajaynursyamsu2211 username: Max team_id: 15 officer_id: 46 team_name: 'HQ CS' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 33 - id: 2 customer_service_id: 2 template_schedule_shift_id: 14 percent: 10 created_at: '2024-09-21T05:27:47.000000Z' updated_at: '2024-09-21T05:27:47.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null name: 'Irfan Mohamad Sukri' username: Evan team_id: 15 officer_id: 247 team_name: 'HQ CS' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 34 - id: 3 customer_service_id: 3 template_schedule_shift_id: 14 percent: 10 created_at: '2024-09-21T05:27:47.000000Z' updated_at: '2024-09-21T05:27:47.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null name: dewintan username: Fita team_id: 18 officer_id: 61 team_name: 'HQ SPV' group_id: 32 group_name: 'HQ Group' template_schedule_shift_cs_id: 35 - id: 11 customer_service_id: 11 template_schedule_shift_id: 14 percent: 0 created_at: '2024-09-21T05:27:47.000000Z' updated_at: '2024-09-21T05:27:47.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null name: 'Devina Dyah' username: Zea team_id: 16 officer_id: 48 team_name: 'Branch CS 1' group_id: 33 group_name: 'Branch Group 1' template_schedule_shift_cs_id: 36 - id: 14 customer_service_id: 14 template_schedule_shift_id: 14 percent: 10 created_at: '2024-09-21T05:27:47.000000Z' updated_at: '2024-09-21T05:27:47.000000Z' deleted_at: null created_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: null name: 'Team IT' username: 'IT IT' team_id: null officer_id: 1 team_name: null group_id: null group_name: null template_schedule_shift_cs_id: 37 items: type: object properties: id: type: integer example: 4 customer_service_id: type: integer example: 4 template_schedule_shift_id: type: integer example: 14 percent: type: integer example: 10 created_at: type: string example: '2024-09-21T05:27:47.000000Z' updated_at: type: string example: '2024-09-21T05:27:47.000000Z' deleted_at: type: string example: null created_by: type: string example: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 updated_by: type: string example: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39 deleted_by: type: string example: null name: type: string example: ajaynursyamsu2211 username: type: string example: Max team_id: type: integer example: 15 officer_id: type: integer example: 46 team_name: type: string example: 'HQ CS' group_id: type: integer example: 32 group_name: type: string example: 'HQ Group' template_schedule_shift_cs_id: type: integer example: 33 error: type: string example: '' tags: - 'Template Schedule' security: [] put: summary: 'Update Template Schedule.' operationId: updateTemplateSchedule description: '' parameters: [] responses: { } tags: - 'Template Schedule' requestBody: required: true content: application/json: schema: type: object properties: name: type: string description: '' example: laborum nullable: false shifts: type: array description: '' example: - [] items: type: object properties: id: type: integer description: '' example: 14 nullable: false customer_services: type: array description: '' example: - [] items: type: object properties: id: type: integer description: '' example: 17 nullable: false percent: type: integer description: validation.between. example: 0 nullable: false required: - id - percent required: - id - customer_services required: - name - shifts delete: summary: 'Delete Template Schedule.' operationId: deleteTemplateSchedule description: '' parameters: [] responses: { } tags: - 'Template Schedule' parameters: - in: path name: id description: 'The ID of the template schedule.' example: 3 required: true schema: type: integer '/api/template-schedule/{template_schedule_id}/set-active': put: summary: 'Change status Template Schedule.' operationId: changeStatusTemplateSchedule description: '' parameters: [] responses: { } tags: - 'Template Schedule' parameters: - in: path name: template_schedule_id description: 'The ID of the template schedule.' example: '1' required: true schema: type: string