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: 16
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
- 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: 16
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: 22
id_officer: 363
counter: null
percent: 0
name: 'Anisa Solikhawati'
username: Celine
is_active: true
team_name: 'HQ CS'
team_id: 15
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: 'Retired CS'
team_id: 13
group_name: 'Retired Group CS'
group_id: 29
-
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: 'KILCIT Team'
username: 'IT IT'
is_active: true
team_name: 'Retired CS'
team_id: 13
group_name: 'Retired Group CS'
group_id: 29
-
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: 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 SPV'
team_id: 19
group_name: 'Branch Group 2'
group_id: 35
-
id: 9
id_officer: 66
counter: null
percent: 100
name: 'Ms. Rossy Selling'
username: Nada
is_active: true
team_name: 'HQ SPV'
team_id: 18
group_name: 'HQ Group'
group_id: 32
-
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: 'Branch CS 1'
team_id: 16
group_name: 'Branch Group 1'
group_id: 33
-
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: 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: 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: 22
id_officer: 363
counter: null
percent: 0
name: 'Anisa Solikhawati'
username: Celine
is_active: true
team_name: 'HQ CS'
team_id: 15
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: 'Retired CS'
team_id: 13
group_name: 'Retired Group CS'
group_id: 29
-
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: 'KILCIT Team'
username: 'IT IT'
is_active: true
team_name: 'Retired CS'
team_id: 13
group_name: 'Retired Group CS'
group_id: 29
-
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: 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 SPV'
team_id: 19
group_name: 'Branch Group 2'
group_id: 35
-
id: 9
id_officer: 66
counter: null
percent: 100
name: 'Ms. Rossy Selling'
username: Nada
is_active: true
team_name: 'HQ SPV'
team_id: 18
group_name: 'HQ Group'
group_id: 32
-
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: 'Branch CS 1'
team_id: 16
group_name: 'Branch Group 1'
group_id: 33
-
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: 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: 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: 22
id_officer:
type: integer
example: 363
counter:
type: string
example: null
percent:
type: integer
example: 0
name:
type: string
example: 'Anisa Solikhawati'
username:
type: string
example: Celine
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
-
id: 2
channel_id: Qontak
name: Qontak
description: '{"qontak_staff_id" : "132321231"}'
is_active: true
created_at: '2024-09-12T09:38:15.000000Z'
updated_at: '2026-04-03T02:59:48.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
-
id: 2
channel_id: Qontak
name: Qontak
description: '{"qontak_staff_id" : "132321231"}'
is_active: true
created_at: '2024-09-12T09:38:15.000000Z'
updated_at: '2026-04-03T02:59:48.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: true
created_at: '2024-09-12T09:38:15.000000Z'
updated_at: '2026-04-03T02:59:48.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: true
created_at: '2024-09-12T09:38:15.000000Z'
updated_at: '2026-04-03T02:59:48.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: 'Vel sit nobis ut.'
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: 'Sed et non est in molestias nam.'
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: doloremque
required: false
schema:
type: string
description: 'The search query.'
example: doloremque
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://lead-service.devkilc.lcpare.com/api/cs-group?page=1'
from: null
last_page: 1
last_page_url: 'https://lead-service.devkilc.lcpare.com/api/cs-group?page=1'
links:
-
url: null
label: pagination.previous
active: false
-
url: 'https://lead-service.devkilc.lcpare.com/api/cs-group?page=1'
label: '1'
active: true
-
url: null
label: pagination.next
active: false
next_page_url: null
path: 'https://lead-service.devkilc.lcpare.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://lead-service.devkilc.lcpare.com/api/cs-group?page=1'
from:
type: string
example: null
last_page:
type: integer
example: 1
last_page_url:
type: string
example: 'https://lead-service.devkilc.lcpare.com/api/cs-group?page=1'
links:
type: array
example:
-
url: null
label: pagination.previous
active: false
-
url: 'https://lead-service.devkilc.lcpare.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://lead-service.devkilc.lcpare.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: sit
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: false
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: '2026-05-31T21:09:49.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: '2026-05-31T21:09:49.000000Z'
branches:
-
branch_id: 1
branch_uid: de3c25fd-c066-41d1-8360-7c641655b3bd
code: PARE
name_branch: 'PARE - JATIM'
img_url: branches/WJA3JUdF7iNUxNUtPwgzywkVTozDjZ39JAsxmrDT.jpg
status: 1
created_at: '2022-11-11T09:18:15.000000Z'
updated_at: '2024-01-11T08:29:08.000000Z'
updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39
pivot:
cs_group_id: 35
branch_id: 1
is_active: true
created_by: null
updated_by: null
deleted_by: null
created_at: '2026-05-31T21:09:49.000000Z'
updated_at: '2026-05-31T21:09:49.000000Z'
-
branch_id: 2
branch_uid: 7c62d5a9-ce71-406a-bf49-22ce4ea1fd06
code: BOGOR
name_branch: 'BOGOR - JABAR'
img_url: branches/MNKgTo0SOxy2L4mVXbub4gcoswbbNOa1VMdZIAGd.jpg
status: 1
created_at: '2022-11-12T01:29:59.000000Z'
updated_at: '2024-01-11T08:35:07.000000Z'
updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39
pivot:
cs_group_id: 35
branch_id: 2
is_active: true
created_by: null
updated_by: null
deleted_by: null
created_at: '2026-05-31T21:09:49.000000Z'
updated_at: '2026-05-31T21:09:49.000000Z'
-
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-15T14: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: '2026-05-31T21:09:49.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-05T13: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: '2026-05-31T21:09:49.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: '2026-05-31T21:09:49.000000Z'
-
branch_id: 8
branch_uid: b05586c5-ec2b-4cc5-ad2d-ca851c66a935
code: MAKASSAR
name_branch: 'MAKASSAR - SULAWESI'
img_url: branches/Fq2A3jOGxkkbI75pTNVCysea281aVagQvtSkCdPI.jpg
status: 1
created_at: '2024-07-06T04:09:35.000000Z'
updated_at: '2024-07-06T04:09:35.000000Z'
updated_by: system
pivot:
cs_group_id: 35
branch_id: 8
is_active: true
created_by: null
updated_by: null
deleted_by: null
created_at: '2026-05-31T21:09:49.000000Z'
updated_at: '2026-05-31T21:09:49.000000Z'
-
branch_id: 9
branch_uid: 1c18bf81-096a-47ba-97d8-7cb8a512c580
code: ONLINE
name_branch: ONLINE
img_url: branches/JtosUPLdgngRUOWGQ57wvBq0B19I6hTN6YXG0RJp.png
status: 1
created_at: '2024-07-29T11:59:52.000000Z'
updated_at: '2024-07-29T11:59:52.000000Z'
updated_by: system
pivot:
cs_group_id: 35
branch_id: 9
is_active: true
created_by: null
updated_by: null
deleted_by: null
created_at: '2026-05-31T21:09:49.000000Z'
updated_at: '2026-05-31T21:09:49.000000Z'
-
branch_id: 10
branch_uid: c5c2400c-9b57-435f-b682-dd6869581dec
code: SURABAYA
name_branch: 'SURABAYA - JATIM'
img_url: branches/FycM7DrfrKoykaSOds6ZVGyYqCKa9JI8klgLWB1o.png
status: 1
created_at: '2025-05-01T07:39:20.000000Z'
updated_at: '2025-05-01T07:39:20.000000Z'
updated_by: system
pivot:
cs_group_id: 35
branch_id: 10
is_active: true
created_by: null
updated_by: null
deleted_by: null
created_at: '2026-05-31T21:09:49.000000Z'
updated_at: '2026-05-31T21:09:49.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: '2026-05-31T21:09:49.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: '2026-05-31T21:09:49.000000Z'
-
branch_id: 13
branch_uid: ad1aeb7b-c06c-4667-acf6-739790cb3aca
code: MAKASSAR-TAMALANREA
name_branch: 'MAKASSAR TAMALANREA - Sulawesi'
img_url: branches/YgKrlnHyhhOJQiNCql4ruOIG26ISz9Ri9f918nni.png
status: 1
created_at: '2025-09-22T07:57:38.000000Z'
updated_at: '2026-02-12T10:50:53.000000Z'
updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39
pivot:
cs_group_id: 35
branch_id: 13
is_active: true
created_by: null
updated_by: null
deleted_by: null
created_at: '2026-05-31T21:09:49.000000Z'
updated_at: '2026-05-31T21:09:49.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: '2026-02-12T10:51:07.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: '2026-05-31T21:09:49.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: '2026-05-31T21:09:49.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: '2026-05-31T21:09:49.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: '2026-05-31T21:09:49.000000Z'
branches:
type: array
example:
-
branch_id: 1
branch_uid: de3c25fd-c066-41d1-8360-7c641655b3bd
code: PARE
name_branch: 'PARE - JATIM'
img_url: branches/WJA3JUdF7iNUxNUtPwgzywkVTozDjZ39JAsxmrDT.jpg
status: 1
created_at: '2022-11-11T09:18:15.000000Z'
updated_at: '2024-01-11T08:29:08.000000Z'
updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39
pivot:
cs_group_id: 35
branch_id: 1
is_active: true
created_by: null
updated_by: null
deleted_by: null
created_at: '2026-05-31T21:09:49.000000Z'
updated_at: '2026-05-31T21:09:49.000000Z'
-
branch_id: 2
branch_uid: 7c62d5a9-ce71-406a-bf49-22ce4ea1fd06
code: BOGOR
name_branch: 'BOGOR - JABAR'
img_url: branches/MNKgTo0SOxy2L4mVXbub4gcoswbbNOa1VMdZIAGd.jpg
status: 1
created_at: '2022-11-12T01:29:59.000000Z'
updated_at: '2024-01-11T08:35:07.000000Z'
updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39
pivot:
cs_group_id: 35
branch_id: 2
is_active: true
created_by: null
updated_by: null
deleted_by: null
created_at: '2026-05-31T21:09:49.000000Z'
updated_at: '2026-05-31T21:09:49.000000Z'
-
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-15T14: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: '2026-05-31T21:09:49.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-05T13: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: '2026-05-31T21:09:49.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: '2026-05-31T21:09:49.000000Z'
-
branch_id: 8
branch_uid: b05586c5-ec2b-4cc5-ad2d-ca851c66a935
code: MAKASSAR
name_branch: 'MAKASSAR - SULAWESI'
img_url: branches/Fq2A3jOGxkkbI75pTNVCysea281aVagQvtSkCdPI.jpg
status: 1
created_at: '2024-07-06T04:09:35.000000Z'
updated_at: '2024-07-06T04:09:35.000000Z'
updated_by: system
pivot:
cs_group_id: 35
branch_id: 8
is_active: true
created_by: null
updated_by: null
deleted_by: null
created_at: '2026-05-31T21:09:49.000000Z'
updated_at: '2026-05-31T21:09:49.000000Z'
-
branch_id: 9
branch_uid: 1c18bf81-096a-47ba-97d8-7cb8a512c580
code: ONLINE
name_branch: ONLINE
img_url: branches/JtosUPLdgngRUOWGQ57wvBq0B19I6hTN6YXG0RJp.png
status: 1
created_at: '2024-07-29T11:59:52.000000Z'
updated_at: '2024-07-29T11:59:52.000000Z'
updated_by: system
pivot:
cs_group_id: 35
branch_id: 9
is_active: true
created_by: null
updated_by: null
deleted_by: null
created_at: '2026-05-31T21:09:49.000000Z'
updated_at: '2026-05-31T21:09:49.000000Z'
-
branch_id: 10
branch_uid: c5c2400c-9b57-435f-b682-dd6869581dec
code: SURABAYA
name_branch: 'SURABAYA - JATIM'
img_url: branches/FycM7DrfrKoykaSOds6ZVGyYqCKa9JI8klgLWB1o.png
status: 1
created_at: '2025-05-01T07:39:20.000000Z'
updated_at: '2025-05-01T07:39:20.000000Z'
updated_by: system
pivot:
cs_group_id: 35
branch_id: 10
is_active: true
created_by: null
updated_by: null
deleted_by: null
created_at: '2026-05-31T21:09:49.000000Z'
updated_at: '2026-05-31T21:09:49.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: '2026-05-31T21:09:49.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: '2026-05-31T21:09:49.000000Z'
-
branch_id: 13
branch_uid: ad1aeb7b-c06c-4667-acf6-739790cb3aca
code: MAKASSAR-TAMALANREA
name_branch: 'MAKASSAR TAMALANREA - Sulawesi'
img_url: branches/YgKrlnHyhhOJQiNCql4ruOIG26ISz9Ri9f918nni.png
status: 1
created_at: '2025-09-22T07:57:38.000000Z'
updated_at: '2026-02-12T10:50:53.000000Z'
updated_by: 351214d7-db5f-4be8-bdf8-6a0fbe2d8e39
pivot:
cs_group_id: 35
branch_id: 13
is_active: true
created_by: null
updated_by: null
deleted_by: null
created_at: '2026-05-31T21:09:49.000000Z'
updated_at: '2026-05-31T21:09:49.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: '2026-02-12T10:51:07.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: '2026-05-31T21:09:49.000000Z'
items:
type: object
properties:
branch_id:
type: integer
example: 1
branch_uid:
type: string
example: de3c25fd-c066-41d1-8360-7c641655b3bd
code:
type: string
example: PARE
name_branch:
type: string
example: 'PARE - JATIM'
img_url:
type: string
example: branches/WJA3JUdF7iNUxNUtPwgzywkVTozDjZ39JAsxmrDT.jpg
status:
type: integer
example: 1
created_at:
type: string
example: '2022-11-11T09:18:15.000000Z'
updated_at:
type: string
example: '2024-01-11T08:29:08.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: 1
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: '2026-05-31T21:09:49.000000Z'
updated_at:
type: string
example: '2026-05-31T21:09:49.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: voluptatum
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: false
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://lead-service.devkilc.lcpare.com/api/cs-team?page=1'
from: null
last_page: 1
last_page_url: 'https://lead-service.devkilc.lcpare.com/api/cs-team?page=1'
links:
-
url: null
label: pagination.previous
active: false
-
url: 'https://lead-service.devkilc.lcpare.com/api/cs-team?page=1'
label: '1'
active: true
-
url: null
label: pagination.next
active: false
next_page_url: null
path: 'https://lead-service.devkilc.lcpare.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://lead-service.devkilc.lcpare.com/api/cs-team?page=1'
from:
type: string
example: null
last_page:
type: integer
example: 1
last_page_url:
type: string
example: 'https://lead-service.devkilc.lcpare.com/api/cs-team?page=1'
links:
type: array
example:
-
url: null
label: pagination.previous
active: false
-
url: 'https://lead-service.devkilc.lcpare.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://lead-service.devkilc.lcpare.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: quia
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
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: 5
id_officer: 69
counter: null
percent: 100
name: izanugroho92
username: ryas
is_active: false
-
id: 16
id_officer: 255
counter: null
percent: 100
name: 'Andy yusmant'
username: Jeka
is_active: false
-
id: 6
id_officer: 67
counter: null
percent: 90
name: jihanabdiah11
username: tia
is_active: false
-
id: 14
id_officer: 1
counter: null
percent: 10
name: 'KILCIT Team'
username: 'IT IT'
is_active: true
-
id: 2
id_officer: 247
counter: null
percent: 100
name: 'Irfan Mohamad Sukri'
username: Evan
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: 5
id_officer: 69
counter: null
percent: 100
name: izanugroho92
username: ryas
is_active: false
-
id: 16
id_officer: 255
counter: null
percent: 100
name: 'Andy yusmant'
username: Jeka
is_active: false
-
id: 6
id_officer: 67
counter: null
percent: 90
name: jihanabdiah11
username: tia
is_active: false
-
id: 14
id_officer: 1
counter: null
percent: 10
name: 'KILCIT Team'
username: 'IT IT'
is_active: true
-
id: 2
id_officer: 247
counter: null
percent: 100
name: 'Irfan Mohamad Sukri'
username: Evan
is_active: true
items:
type: object
properties:
id:
type: integer
example: 5
id_officer:
type: integer
example: 69
counter:
type: string
example: null
percent:
type: integer
example: 100
name:
type: string
example: izanugroho92
username:
type: string
example: ryas
is_active:
type: boolean
example: false
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: aut
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: 16
nullable: false
is_active:
type: boolean
description: ''
example: true
nullable: false
channel_requirement:
type: array
description: ''
example:
- []
items:
type: object
properties:
id:
type: integer
description: ''
example: 8
nullable: false
is_active:
type: boolean
description: ''
example: true
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/qontak/assign-cs:
post:
summary: 'Assign Customer Service To Room ( Qontak )'
operationId: assignCustomerServiceToRoomQontak
description: ''
parameters: []
responses: { }
tags:
- Endpoints
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
room_id:
type: string
description: ''
example: nihil
nullable: false
phone_number:
type: string
description: 'Ensuring that the registration_id exists in the leads table.'
example: cupiditate
nullable: false
name:
type: string
description: 'Ensuring that the bio_filled is a boolean.'
example: cum
nullable: true
mesage:
type: string
description: 'Ensuring that the bio_filled is a boolean.'
example: ipsam
nullable: true
branch_id:
type: integer
description: ''
example: 13
nullable: true
required:
- room_id
- phone_number
security: []
/api/qontak/initiate-message:
get:
summary: 'Initiate message'
operationId: initiateMessage
description: ''
parameters: []
responses:
401:
description: ''
content:
application/json:
schema:
type: object
example:
success: false
message: 'webhook-token header is not valid'
data: null
error: ''
properties:
success:
type: boolean
example: false
message:
type: string
example: 'webhook-token header is not valid'
data:
type: string
example: null
error:
type: string
example: ''
tags:
- Endpoints
security: []
/api/qontak/initiate-message-at-morning:
get:
summary: ''
operationId: getApiQontakInitiateMessageAtMorning
description: ''
parameters: []
responses:
401:
description: ''
content:
application/json:
schema:
type: object
example:
success: false
message: 'webhook-token header is not valid'
data: null
error: ''
properties:
success:
type: boolean
example: false
message:
type: string
example: 'webhook-token header is not valid'
data:
type: string
example: null
error:
type: string
example: ''
tags:
- Endpoints
security: []
/api/qontak/label-sync:
get:
summary: ''
operationId: getApiQontakLabelSync
description: ''
parameters: []
responses:
401:
description: ''
content:
application/json:
schema:
type: object
example:
success: false
message: 'webhook-token header is not valid'
data: null
error: ''
properties:
success:
type: boolean
example: false
message:
type: string
example: 'webhook-token header is not valid'
data:
type: string
example: null
error:
type: string
example: ''
tags:
- Endpoints
security: []
'/api/qontak/label/{phone_number}':
post:
summary: ''
operationId: postApiQontakLabelPhone_number
description: ''
parameters: []
responses: { }
tags:
- Endpoints
security: []
delete:
summary: ''
operationId: deleteApiQontakLabelPhone_number
description: ''
parameters: []
responses: { }
tags:
- Endpoints
security: []
parameters:
-
in: path
name: phone_number
description: ''
example: molestias
required: true
schema:
type: string
'/api/qontak/check-lead/{phone_number}':
get:
summary: ''
operationId: getApiQontakCheckLeadPhone_number
description: ''
parameters: []
responses:
401:
description: ''
content:
application/json:
schema:
type: object
example:
success: false
message: 'webhook-token header is not valid'
data: null
error: ''
properties:
success:
type: boolean
example: false
message:
type: string
example: 'webhook-token header is not valid'
data:
type: string
example: null
error:
type: string
example: ''
tags:
- Endpoints
security: []
parameters:
-
in: path
name: phone_number
description: ''
example: aut
required: true
schema:
type: string
/api/qontak/conversation-main-gate:
post:
summary: ''
operationId: postApiQontakConversationMainGate
description: ''
parameters: []
responses: { }
tags:
- Endpoints
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
room_id:
type: string
description: ''
example: eveniet
nullable: false
phone_number:
type: string
description: 'Ensuring that the registration_id exists in the leads table.'
example: vel
nullable: false
name:
type: string
description: 'Ensuring that the bio_filled is a boolean.'
example: modi
nullable: true
mesage:
type: string
description: 'Ensuring that the bio_filled is a boolean.'
example: minima
nullable: true
required:
- room_id
- phone_number
security: []
/api/qontak/retrieve-lead:
post:
summary: ''
operationId: postApiQontakRetrieveLead
description: ''
parameters: []
responses: { }
tags:
- Endpoints
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
room_id:
type: string
description: ''
example: vero
nullable: false
phone_number:
type: string
description: 'Ensuring that the registration_id exists in the leads table.'
example: quos
nullable: false
name:
type: string
description: 'Ensuring that the bio_filled is a boolean.'
example: autem
nullable: true
branch_id:
type: string
description: 'Ensuring that the bio_filled is a boolean.'
example: placeat
nullable: false
required:
- room_id
- phone_number
- branch_id
security: []
/api/qontak/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: 'Successfully assign lead into selected CS'
data: null
error: ''
properties:
success:
type: boolean
example: true
message:
type: string
example: 'Successfully assign lead into selected CS'
data:
type: string
example: null
error:
type: string
example: ''
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-share-link:
get:
summary: 'Get All Lead Share Links.'
operationId: getAllLeadShareLinks
description: ''
parameters: []
responses:
200:
description: ''
content:
application/json:
schema:
type: object
example:
success: true
message: 'List of lead share links'
data: []
error: ''
properties:
success:
type: boolean
example: true
message:
type: string
example: 'List of lead share links'
data:
type: array
example: []
error:
type: string
example: ''
tags:
- Endpoints
security: []
post:
summary: 'Create Lead Share Link.'
operationId: createLeadShareLink
description: ''
parameters: []
responses: { }
tags:
- Endpoints
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
lead_id:
type: integer
description: 'The lead id.'
example: 1
nullable: false
required:
- lead_id
security: []
'/api/lead-share-link/lead/{leadId}':
get:
summary: 'Get Lead Share Links by Lead ID.'
operationId: getLeadShareLinksByLeadID
description: ''
parameters: []
responses:
200:
description: ''
content:
application/json:
schema:
type: object
example:
success: true
message: 'List of lead share links'
data: []
error: ''
properties:
success:
type: boolean
example: true
message:
type: string
example: 'List of lead share links'
data:
type: array
example: []
error:
type: string
example: ''
tags:
- Endpoints
security: []
parameters:
-
in: path
name: leadId
description: ''
example: 387954
required: true
schema:
type: integer
'/api/lead-share-link/{uid}/is-used':
patch:
summary: 'Update is_used.'
operationId: updateIsUsed
description: ''
parameters: []
responses: { }
tags:
- Endpoints
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
is_used:
type: boolean
description: required.
example: true
nullable: false
security: []
parameters:
-
in: path
name: uid
description: ''
example: similique
required: true
schema:
type: string
'/api/lead-share-link/{uid}/first-use':
patch:
summary: 'Update first_use_by_lead_id.'
operationId: updateFirstUseByLeadId
description: ''
parameters: []
responses: { }
tags:
- Endpoints
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
first_use_by_lead_id:
type: integer
description: required.
example: 1
nullable: false
security: []
parameters:
-
in: path
name: uid
description: ''
example: nihil
required: true
schema:
type: string
/api/lead-share-link-usage:
get:
summary: 'Get All Lead Share Link Usages.'
operationId: getAllLeadShareLinkUsages
description: ''
parameters: []
responses:
200:
description: ''
content:
application/json:
schema:
type: object
example:
success: true
message: 'List of lead share link usages'
data: []
error: ''
properties:
success:
type: boolean
example: true
message:
type: string
example: 'List of lead share link usages'
data:
type: array
example: []
error:
type: string
example: ''
tags:
- Endpoints
security: []
post:
summary: 'Create Lead Share Link Usage.'
operationId: createLeadShareLinkUsage
description: ''
parameters: []
responses: { }
tags:
- Endpoints
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
lead_share_link_uid:
type: string
description: required.
example: uuid
nullable: false
lead_id:
type: integer
description: required.
example: 1
nullable: false
security: []
'/api/lead-share-link-usage/share-link/{uid}':
get:
summary: 'Get Lead Share Link Usages by Lead Share Link UID.'
operationId: getLeadShareLinkUsagesByLeadShareLinkUID
description: ''
parameters: []
responses:
200:
description: ''
content:
application/json:
schema:
type: object
example:
success: true
message: 'List of lead share link usages'
data: []
error: ''
properties:
success:
type: boolean
example: true
message:
type: string
example: 'List of lead share link usages'
data:
type: array
example: []
error:
type: string
example: ''
tags:
- Endpoints
security: []
parameters:
-
in: path
name: uid
description: ''
example: beatae
required: true
schema:
type: string
'/api/lead-share-link-usage/lead/{leadId}':
get:
summary: 'Get Lead Share Link Usages by Lead ID.'
operationId: getLeadShareLinkUsagesByLeadID
description: ''
parameters: []
responses:
200:
description: ''
content:
application/json:
schema:
type: object
example:
success: true
message: 'List of lead share link usages'
data: []
error: ''
properties:
success:
type: boolean
example: true
message:
type: string
example: 'List of lead share link usages'
data:
type: array
example: []
error:
type: string
example: ''
tags:
- Endpoints
security: []
parameters:
-
in: path
name: leadId
description: ''
example: 387954
required: true
schema:
type: integer
/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: cum
required: false
schema:
type: string
description: 'The search query for lead name.'
example: cum
nullable: false
-
in: query
name: lead_history_name
description: 'The search query for lead history name.'
example: eos
required: false
schema:
type: string
description: 'The search query for lead history name.'
example: eos
nullable: false
-
in: query
name: email
description: 'The search query for email.'
example: ivah.schulist@example.org
required: false
schema:
type: string
description: 'The search query for email.'
example: ivah.schulist@example.org
nullable: false
-
in: query
name: whatsapp
description: 'The search query for whatsapp.'
example: omnis
required: false
schema:
type: string
description: 'The search query for whatsapp.'
example: omnis
nullable: false
-
in: query
name: course_package_name
description: 'The search query for course package name.'
example: iste
required: false
schema:
type: string
description: 'The search query for course package name.'
example: iste
nullable: false
-
in: query
name: bank
description: 'The search query for bank.'
example: voluptas
required: false
schema:
type: string
description: 'The search query for bank.'
example: voluptas
nullable: false
-
in: query
name: registration_id
description: 'The search query for registration id.'
example: vel
required: false
schema:
type: string
description: 'The search query for registration id.'
example: vel
nullable: false
-
in: query
name: utm_campaign
description: 'The search query for utm campaign.'
example: eum
required: false
schema:
type: string
description: 'The search query for utm campaign.'
example: eum
nullable: false
-
in: query
name: utm_source
description: 'The search query for utm source.'
example: voluptatem
required: false
schema:
type: string
description: 'The search query for utm source.'
example: voluptatem
nullable: false
-
in: query
name: utm_medium
description: 'The search query for utm medium.'
example: inventore
required: false
schema:
type: string
description: 'The search query for utm medium.'
example: inventore
nullable: false
-
in: query
name: utm_content
description: 'The search query for utm content.'
example: itaque
required: false
schema:
type: string
description: 'The search query for utm content.'
example: itaque
nullable: false
-
in: query
name: clid
description: 'The search query for clid.'
example: ut
required: false
schema:
type: string
description: 'The search query for clid.'
example: ut
nullable: false
-
in: query
name: response_info
description: 'The search query for response info.'
example: eum
required: false
schema:
type: string
description: 'The search query for response info.'
example: eum
nullable: false
-
in: query
name: source
description: 'The search query for source.'
example: eligendi
required: false
schema:
type: string
description: 'The search query for source.'
example: eligendi
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://lead-service.devkilc.lcpare.com/api/lead/histories?page=1'
from: null
last_page: 1
last_page_url: 'https://lead-service.devkilc.lcpare.com/api/lead/histories?page=1'
links:
-
url: null
label: pagination.previous
active: false
-
url: 'https://lead-service.devkilc.lcpare.com/api/lead/histories?page=1'
label: '1'
active: true
-
url: null
label: pagination.next
active: false
next_page_url: null
path: 'https://lead-service.devkilc.lcpare.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://lead-service.devkilc.lcpare.com/api/lead/histories?page=1'
from:
type: string
example: null
last_page:
type: integer
example: 1
last_page_url:
type: string
example: 'https://lead-service.devkilc.lcpare.com/api/lead/histories?page=1'
links:
type: array
example:
-
url: null
label: pagination.previous
active: false
-
url: 'https://lead-service.devkilc.lcpare.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://lead-service.devkilc.lcpare.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: 16
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/histories/latest:
get:
summary: 'Get Latest Lead History in Last 3 Months.'
operationId: getLatestLeadHistoryInLast3Months
description: ''
parameters:
-
in: query
name: lead_id
description: 'The lead id.'
example: '1'
required: false
schema:
type: string
description: 'The lead id.'
example: '1'
nullable: false
-
in: query
name: wa_number
description: 'The whatsapp number.'
example: 628123456789
required: false
schema:
type: integer
description: 'The whatsapp number.'
example: 628123456789
nullable: false
responses:
404:
description: ''
content:
application/json:
schema:
type: object
example:
success: false
message: 'No history found in last 3 months'
data: null
error: ''
properties:
success:
type: boolean
example: false
message:
type: string
example: 'No history found in last 3 months'
data:
type: string
example: null
error:
type: string
example: ''
tags:
- Lead
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
lead_id:
type: integer
description: 'This field is required when wa_number is not present.'
example: 16
nullable: true
wa_number:
type: string
description: 'This field is required when lead_id is not present.'
example: rerum
nullable: true
security: []
/api/lead/histories/update-utm:
patch:
summary: ''
operationId: patchApiLeadHistoriesUpdateUtm
description: ''
parameters: []
responses: { }
tags:
- Lead
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
lead_id:
type: integer
description: ''
example: 17
nullable: false
utm_campaign:
type: string
description: ''
example: sapiente
nullable: true
utm_source:
type: string
description: ''
example: consequatur
nullable: true
utm_medium:
type: string
description: ''
example: consequatur
nullable: true
utm_content:
type: string
description: ''
example: odit
nullable: true
cs_id:
type: integer
description: ''
example: 16
nullable: true
required:
- lead_id
security: []
/api/lead/validate-email:
get:
summary: ''
operationId: getApiLeadValidateEmail
description: ''
parameters: []
responses:
200:
description: ''
content:
application/json:
schema:
type: object
example:
success: true
message: 'Email validation result'
data:
email: kelly77@example.org
is_allowed: true
reason: null
lead_data: null
error: ''
properties:
success:
type: boolean
example: true
message:
type: string
example: 'Email validation result'
data:
type: object
properties:
email:
type: string
example: kelly77@example.org
is_allowed:
type: boolean
example: true
reason:
type: string
example: null
lead_data:
type: string
example: null
error:
type: string
example: ''
tags:
- Lead
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
email:
type: string
description: validation.email.
example: kelly77@example.org
nullable: false
whatsapp:
type: string
description: ''
example: fugiat
nullable: false
required:
- email
- whatsapp
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: est
required: false
schema:
type: string
description: 'The search query.'
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
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: 387954
created_at: '2025-12-07T12:55:08.000000Z'
name: ANGGA
email: null
whatsapp: '6289513376444'
histories:
-
id: 484284
created_at: '2025-12-07T12:55:08.000000Z'
history_name: ANGGA
course_package_name: 'HOLIDAY CERIA'
branch_name: 'BOGOR - JABAR'
category_name: 'LC OFFLINE'
registration_date: null
payment_date: null
registration_number: null
period_date: null
bank: null
status_name: 'NEW LEAD'
cs_name: 'eko wicaksono'
cs_team_name: 'Branch CS 1'
cs_group_name: 'Branch Group 1'
utm_campaign: organik
utm_source: IG
utm_medium: biopare
utm_content: LP_BOGOR
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: 387954
created_at:
type: string
example: '2025-12-07T12:55:08.000000Z'
name:
type: string
example: ANGGA
email:
type: string
example: null
whatsapp:
type: string
example: '6289513376444'
histories:
type: array
example:
-
id: 484284
created_at: '2025-12-07T12:55:08.000000Z'
history_name: ANGGA
course_package_name: 'HOLIDAY CERIA'
branch_name: 'BOGOR - JABAR'
category_name: 'LC OFFLINE'
registration_date: null
payment_date: null
registration_number: null
period_date: null
bank: null
status_name: 'NEW LEAD'
cs_name: 'eko wicaksono'
cs_team_name: 'Branch CS 1'
cs_group_name: 'Branch Group 1'
utm_campaign: organik
utm_source: IG
utm_medium: biopare
utm_content: LP_BOGOR
clid: null
response_info: null
source: TanyaCs
is_replied: null
items:
type: object
properties:
id:
type: integer
example: 484284
created_at:
type: string
example: '2025-12-07T12:55:08.000000Z'
history_name:
type: string
example: ANGGA
course_package_name:
type: string
example: 'HOLIDAY CERIA'
branch_name:
type: string
example: 'BOGOR - JABAR'
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: 'eko wicaksono'
cs_team_name:
type: string
example: 'Branch CS 1'
cs_group_name:
type: string
example: 'Branch Group 1'
utm_campaign:
type: string
example: organik
utm_source:
type: string
example: IG
utm_medium:
type: string
example: biopare
utm_content:
type: string
example: LP_BOGOR
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: 387954
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: 579507
lead_count_today: 0
lead_count_yesterday: 0
lead_count_this_month: 8707
lead_count_last_month: 21113
total_registered_lead_count: 61929
registered_lead_count_today: 0
registered_lead_count_yesterday: 0
registered_lead_count_this_month: 1095
registered_lead_count_last_month: 1970
total_payment_lead_count: 34291
payment_lead_count_today: 0
payment_lead_count_yesterday: 0
payment_lead_count_this_month: 708
payment_lead_count_last_month: 1165
per_team:
-
team_name: ARIEL
total_lead_count: 84648
lead_count_today: 0
lead_count_this_month: 0
total_registered_lead_count: 9645
registered_lead_count_today: 0
registered_lead_count_this_month: 0
total_payment_lead_count: 5702
payment_lead_count_today: 0
payment_lead_count_this_month: 0
schedule: []
-
team_name: DIAZ
total_lead_count: 77555
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: []
-
team_name: IZZY
total_lead_count: 99425
lead_count_today: 0
lead_count_this_month: 0
total_registered_lead_count: 10939
registered_lead_count_today: 0
registered_lead_count_this_month: 0
total_payment_lead_count: 6469
payment_lead_count_today: 0
payment_lead_count_this_month: 0
schedule: []
-
team_name: ZURI
total_lead_count: 55886
lead_count_today: 0
lead_count_this_month: 0
total_registered_lead_count: 6724
registered_lead_count_today: 0
registered_lead_count_this_month: 0
total_payment_lead_count: 3817
payment_lead_count_today: 0
payment_lead_count_this_month: 0
schedule: []
-
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: []
-
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: 45215
lead_count_today: 0
lead_count_this_month: 0
total_registered_lead_count: 7824
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: []
-
team_name: Frontline
total_lead_count: 456
lead_count_today: 0
lead_count_this_month: 0
total_registered_lead_count: 358
registered_lead_count_today: 0
registered_lead_count_this_month: 0
total_payment_lead_count: 168
payment_lead_count_today: 0
payment_lead_count_this_month: 0
schedule: []
-
team_name: 'Retired CS'
total_lead_count: 5413
lead_count_today: 0
lead_count_this_month: 174
total_registered_lead_count: 391
registered_lead_count_today: 0
registered_lead_count_this_month: 16
total_payment_lead_count: 161
payment_lead_count_today: 0
payment_lead_count_this_month: 13
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: []
-
team_name: 'HQ CS'
total_lead_count: 101989
lead_count_today: 0
lead_count_this_month: 4335
total_registered_lead_count: 7762
registered_lead_count_today: 0
registered_lead_count_this_month: 578
total_payment_lead_count: 3386
payment_lead_count_today: 0
payment_lead_count_this_month: 352
schedule: []
-
team_name: 'Branch CS 1'
total_lead_count: 38101
lead_count_today: 0
lead_count_this_month: 2009
total_registered_lead_count: 3263
registered_lead_count_today: 0
registered_lead_count_this_month: 221
total_payment_lead_count: 1762
payment_lead_count_today: 0
payment_lead_count_this_month: 145
schedule: []
-
team_name: 'Branch CS 2'
total_lead_count: 28557
lead_count_today: 0
lead_count_this_month: 1881
total_registered_lead_count: 2698
registered_lead_count_today: 0
registered_lead_count_this_month: 206
total_payment_lead_count: 1362
payment_lead_count_today: 0
payment_lead_count_this_month: 144
schedule: []
-
team_name: 'HQ SPV'
total_lead_count: 2776
lead_count_today: 0
lead_count_this_month: 126
total_registered_lead_count: 222
registered_lead_count_today: 0
registered_lead_count_this_month: 52
total_payment_lead_count: 109
payment_lead_count_today: 0
payment_lead_count_this_month: 34
schedule: []
-
team_name: 'Branch SPV'
total_lead_count: 3129
lead_count_today: 0
lead_count_this_month: 182
total_registered_lead_count: 374
registered_lead_count_today: 0
registered_lead_count_this_month: 22
total_payment_lead_count: 169
payment_lead_count_today: 0
payment_lead_count_this_month: 20
schedule: []
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: 579507
lead_count_today:
type: integer
example: 0
lead_count_yesterday:
type: integer
example: 0
lead_count_this_month:
type: integer
example: 8707
lead_count_last_month:
type: integer
example: 21113
total_registered_lead_count:
type: integer
example: 61929
registered_lead_count_today:
type: integer
example: 0
registered_lead_count_yesterday:
type: integer
example: 0
registered_lead_count_this_month:
type: integer
example: 1095
registered_lead_count_last_month:
type: integer
example: 1970
total_payment_lead_count:
type: integer
example: 34291
payment_lead_count_today:
type: integer
example: 0
payment_lead_count_yesterday:
type: integer
example: 0
payment_lead_count_this_month:
type: integer
example: 708
payment_lead_count_last_month:
type: integer
example: 1165
per_team:
type: array
example:
-
team_name: ARIEL
total_lead_count: 84648
lead_count_today: 0
lead_count_this_month: 0
total_registered_lead_count: 9645
registered_lead_count_today: 0
registered_lead_count_this_month: 0
total_payment_lead_count: 5702
payment_lead_count_today: 0
payment_lead_count_this_month: 0
schedule: []
-
team_name: DIAZ
total_lead_count: 77555
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: []
-
team_name: IZZY
total_lead_count: 99425
lead_count_today: 0
lead_count_this_month: 0
total_registered_lead_count: 10939
registered_lead_count_today: 0
registered_lead_count_this_month: 0
total_payment_lead_count: 6469
payment_lead_count_today: 0
payment_lead_count_this_month: 0
schedule: []
-
team_name: ZURI
total_lead_count: 55886
lead_count_today: 0
lead_count_this_month: 0
total_registered_lead_count: 6724
registered_lead_count_today: 0
registered_lead_count_this_month: 0
total_payment_lead_count: 3817
payment_lead_count_today: 0
payment_lead_count_this_month: 0
schedule: []
-
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: []
-
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: 45215
lead_count_today: 0
lead_count_this_month: 0
total_registered_lead_count: 7824
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: []
-
team_name: Frontline
total_lead_count: 456
lead_count_today: 0
lead_count_this_month: 0
total_registered_lead_count: 358
registered_lead_count_today: 0
registered_lead_count_this_month: 0
total_payment_lead_count: 168
payment_lead_count_today: 0
payment_lead_count_this_month: 0
schedule: []
-
team_name: 'Retired CS'
total_lead_count: 5413
lead_count_today: 0
lead_count_this_month: 174
total_registered_lead_count: 391
registered_lead_count_today: 0
registered_lead_count_this_month: 16
total_payment_lead_count: 161
payment_lead_count_today: 0
payment_lead_count_this_month: 13
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: []
-
team_name: 'HQ CS'
total_lead_count: 101989
lead_count_today: 0
lead_count_this_month: 4335
total_registered_lead_count: 7762
registered_lead_count_today: 0
registered_lead_count_this_month: 578
total_payment_lead_count: 3386
payment_lead_count_today: 0
payment_lead_count_this_month: 352
schedule: []
-
team_name: 'Branch CS 1'
total_lead_count: 38101
lead_count_today: 0
lead_count_this_month: 2009
total_registered_lead_count: 3263
registered_lead_count_today: 0
registered_lead_count_this_month: 221
total_payment_lead_count: 1762
payment_lead_count_today: 0
payment_lead_count_this_month: 145
schedule: []
-
team_name: 'Branch CS 2'
total_lead_count: 28557
lead_count_today: 0
lead_count_this_month: 1881
total_registered_lead_count: 2698
registered_lead_count_today: 0
registered_lead_count_this_month: 206
total_payment_lead_count: 1362
payment_lead_count_today: 0
payment_lead_count_this_month: 144
schedule: []
-
team_name: 'HQ SPV'
total_lead_count: 2776
lead_count_today: 0
lead_count_this_month: 126
total_registered_lead_count: 222
registered_lead_count_today: 0
registered_lead_count_this_month: 52
total_payment_lead_count: 109
payment_lead_count_today: 0
payment_lead_count_this_month: 34
schedule: []
-
team_name: 'Branch SPV'
total_lead_count: 3129
lead_count_today: 0
lead_count_this_month: 182
total_registered_lead_count: 374
registered_lead_count_today: 0
registered_lead_count_this_month: 22
total_payment_lead_count: 169
payment_lead_count_today: 0
payment_lead_count_this_month: 20
schedule: []
items:
type: object
properties:
team_name:
type: string
example: ARIEL
total_lead_count:
type: integer
example: 84648
lead_count_today:
type: integer
example: 0
lead_count_this_month:
type: integer
example: 0
total_registered_lead_count:
type: integer
example: 9645
registered_lead_count_today:
type: integer
example: 0
registered_lead_count_this_month:
type: integer
example: 0
total_payment_lead_count:
type: integer
example: 5702
payment_lead_count_today:
type: integer
example: 0
payment_lead_count_this_month:
type: integer
example: 0
schedule:
type: array
example: []
error:
type: string
example: ''
tags:
- Lead
security: []
'/api/get-lead-repeat-closing/{phone}':
get:
summary: ''
operationId: getApiGetLeadRepeatClosingPhone
description: ''
parameters: []
responses:
401:
description: ''
content:
application/json:
schema:
type: object
example:
success: false
message: 'webhook-token header is not valid'
data: null
error: ''
properties:
success:
type: boolean
example: false
message:
type: string
example: 'webhook-token header is not valid'
data:
type: string
example: null
error:
type: string
example: ''
tags:
- Lead
security: []
parameters:
-
in: path
name: phone
description: ''
example: et
required: true
schema:
type: string
/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: eligendi
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: sunt
required: true
schema:
type: string
description: 'The number whatsapp for retrieving lead'
example: sunt
nullable: false
responses:
200:
description: ''
content:
application/json:
schema:
type: object
example:
success: true
message: success
data:
secret_key: lcokaoke
number_whatsapp: sunt
token: e961359b58621a1c4b57fdfb1044b282
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: sunt
token:
type: string
example: e961359b58621a1c4b57fdfb1044b282
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: asperiores
nullable: false
required:
- whatsapp
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: { }
occupation:
type: string
description: ''
example: PEKERJA
nullable: true
enum:
- SD
- SMP
- SMA
- KULIAH
- UMUM
- PEKERJA
id_lead:
type: integer
description: 'The id of an existing record in the leads table.'
example: 4
nullable: true
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: ratione
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/halo-ai/assign-cs:
post:
summary: 'Assign Customer Service To Room ( Halo AI )'
operationId: assignCustomerServiceToRoomHaloAI
description: ''
parameters: []
responses: { }
tags:
- 'Retrieving Lead'
security: []
/api/halo-ai/messages/initiate:
get:
summary: 'Sending initiate mesage to customer using Halo AI'
operationId: sendingInitiateMesageToCustomerUsingHaloAI
description: ''
parameters: []
responses:
401:
description: ''
content:
application/json:
schema:
type: object
example:
success: false
message: 'webhook-token header is not valid'
data: null
error: ''
properties:
success:
type: boolean
example: false
message:
type: string
example: 'webhook-token header is not valid'
data:
type: string
example: null
error:
type: string
example: ''
tags:
- 'Retrieving Lead'
security: []
/api/schedule/create-today:
get:
summary: 'Create Schedule'
operationId: createSchedule
description: ''
parameters: []
responses:
201:
description: ''
content:
application/json:
schema:
type: object
example:
success: true
message: 'Success Create'
data: []
error: ''
properties:
success:
type: boolean
example: true
message:
type: string
example: 'Success Create'
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://lead-service.devkilc.lcpare.com/api/schedule?page=1'
from: null
last_page: 1
last_page_url: 'https://lead-service.devkilc.lcpare.com/api/schedule?page=1'
links:
-
url: null
label: pagination.previous
active: false
-
url: 'https://lead-service.devkilc.lcpare.com/api/schedule?page=1'
label: '1'
active: true
-
url: null
label: pagination.next
active: false
next_page_url: null
path: 'https://lead-service.devkilc.lcpare.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://lead-service.devkilc.lcpare.com/api/schedule?page=1'
from:
type: string
example: null
last_page:
type: integer
example: 1
last_page_url:
type: string
example: 'https://lead-service.devkilc.lcpare.com/api/schedule?page=1'
links:
type: array
example:
-
url: null
label: pagination.previous
active: false
-
url: 'https://lead-service.devkilc.lcpare.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://lead-service.devkilc.lcpare.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: 16
team_name: 'Branch CS 1'
group_id: 33
group_name: 'Branch Group 1'
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: 19
team_name: 'Branch SPV'
group_id: 35
group_name: 'Branch Group 2'
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: 13
team_name: 'Retired CS'
group_id: 29
group_name: 'Retired Group CS'
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: 18
team_name: 'HQ SPV'
group_id: 32
group_name: 'HQ Group'
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: 16
team_name: 'Branch CS 1'
group_id: 33
group_name: 'Branch Group 1'
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: 19
team_name: 'Branch SPV'
group_id: 35
group_name: 'Branch Group 2'
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: 13
team_name: 'Retired CS'
group_id: 29
group_name: 'Retired Group CS'
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: 18
team_name: 'HQ SPV'
group_id: 32
group_name: 'HQ Group'
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: 16
team_name: 'Branch CS 1'
group_id: 33
group_name: 'Branch Group 1'
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: 19
team_name: 'Branch SPV'
group_id: 35
group_name: 'Branch Group 2'
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: 13
team_name: 'Retired CS'
group_id: 29
group_name: 'Retired Group CS'
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: 18
team_name: 'HQ SPV'
group_id: 32
group_name: 'HQ Group'
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: 16
team_name:
type: string
example: 'Branch CS 1'
group_id:
type: integer
example: 33
group_name:
type: string
example: 'Branch Group 1'
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: 18
nullable: false
is_active:
type: boolean
description: ''
example: false
nullable: false
customer_services:
type: array
description: ''
example:
- []
items:
type: object
properties:
id:
type: integer
description: ''
example: 8
nullable: false
percent:
type: integer
description: ''
example: 9
nullable: false
is_active:
type: boolean
description: ''
example: true
nullable: false
counter:
type: integer
description: ''
example: 16
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://lead-service.devkilc.lcpare.com/api/shift?page=1'
from: null
last_page: 1
last_page_url: 'https://lead-service.devkilc.lcpare.com/api/shift?page=1'
links:
-
url: null
label: pagination.previous
active: false
-
url: 'https://lead-service.devkilc.lcpare.com/api/shift?page=1'
label: '1'
active: true
-
url: null
label: pagination.next
active: false
next_page_url: null
path: 'https://lead-service.devkilc.lcpare.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://lead-service.devkilc.lcpare.com/api/shift?page=1'
from:
type: string
example: null
last_page:
type: integer
example: 1
last_page_url:
type: string
example: 'https://lead-service.devkilc.lcpare.com/api/shift?page=1'
links:
type: array
example:
-
url: null
label: pagination.previous
active: false
-
url: 'https://lead-service.devkilc.lcpare.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://lead-service.devkilc.lcpare.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: totam
nullable: false
start_time:
type: string
description: ''
example: cum
nullable: false
end_time:
type: string
description: ''
example: deserunt
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: id
nullable: false
start_time:
type: string
description: ''
example: recusandae
nullable: false
end_time:
type: string
description: ''
example: ducimus
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://lead-service.devkilc.lcpare.com/api/template-schedule?page=1'
from: 1
last_page: 1
last_page_url: 'https://lead-service.devkilc.lcpare.com/api/template-schedule?page=1'
links:
-
url: null
label: pagination.previous
active: false
-
url: 'https://lead-service.devkilc.lcpare.com/api/template-schedule?page=1'
label: '1'
active: true
-
url: null
label: pagination.next
active: false
next_page_url: null
path: 'https://lead-service.devkilc.lcpare.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://lead-service.devkilc.lcpare.com/api/template-schedule?page=1'
from:
type: integer
example: 1
last_page:
type: integer
example: 1
last_page_url:
type: string
example: 'https://lead-service.devkilc.lcpare.com/api/template-schedule?page=1'
links:
type: array
example:
-
url: null
label: pagination.previous
active: false
-
url: 'https://lead-service.devkilc.lcpare.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://lead-service.devkilc.lcpare.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: odio
nullable: false
shifts:
type: array
description: ''
example:
- []
items:
type: object
properties:
id:
type: integer
description: ''
example: 9
nullable: false
customer_services:
type: array
description: ''
example:
- []
items:
type: object
properties:
id:
type: integer
description: ''
example: 2
nullable: false
percent:
type: integer
description: validation.between.
example: 1
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: 13
officer_id: 247
team_name: 'Retired CS'
group_id: 29
group_name: 'Retired Group CS'
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: 16
officer_id: 61
team_name: 'Branch CS 1'
group_id: 33
group_name: 'Branch Group 1'
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: 19
officer_id: 48
team_name: 'Branch SPV'
group_id: 35
group_name: 'Branch Group 2'
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: 'KILCIT Team'
username: 'IT IT'
team_id: 13
officer_id: 1
team_name: 'Retired CS'
group_id: 29
group_name: 'Retired Group CS'
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: 13
officer_id: 247
team_name: 'Retired CS'
group_id: 29
group_name: 'Retired Group CS'
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: 16
officer_id: 61
team_name: 'Branch CS 1'
group_id: 33
group_name: 'Branch Group 1'
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: 19
officer_id: 48
team_name: 'Branch SPV'
group_id: 35
group_name: 'Branch Group 2'
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: 'KILCIT Team'
username: 'IT IT'
team_id: 13
officer_id: 1
team_name: 'Retired CS'
group_id: 29
group_name: 'Retired Group CS'
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: 13
officer_id: 247
team_name: 'Retired CS'
group_id: 29
group_name: 'Retired Group CS'
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: 16
officer_id: 61
team_name: 'Branch CS 1'
group_id: 33
group_name: 'Branch Group 1'
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: 19
officer_id: 48
team_name: 'Branch SPV'
group_id: 35
group_name: 'Branch Group 2'
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: 'KILCIT Team'
username: 'IT IT'
team_id: 13
officer_id: 1
team_name: 'Retired CS'
group_id: 29
group_name: 'Retired Group CS'
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: cupiditate
nullable: false
shifts:
type: array
description: ''
example:
- []
items:
type: object
properties:
id:
type: integer
description: ''
example: 19
nullable: false
customer_services:
type: array
description: ''
example:
- []
items:
type: object
properties:
id:
type: integer
description: ''
example: 8
nullable: false
percent:
type: integer
description: validation.between.
example: 1
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