Full API documentation for your API
This documentation aims to provide all the information you need to work with our API.
To authenticate requests, include an Authorization header with the value "Bearer { BEARER_TOKEN }".
All authenticated endpoints are marked with a requires authentication badge in the documentation below.
You can retrieve your token by visiting your dashboard and clicking Generate API token.
APIs for managing customer service
The page of the list.
The limit of the list.
The search query.
curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/cs?page=1&limit=10&q=John" \
--header "Content-Type: application/json" \
--header "Accept: application/json" content-type
: application/json
cache-control
: no-cache, private
access-control-allow-origin
: *
{
"success": true,
"message": "Data not found",
"data": [],
"error": ""
}
curl --request POST \
"https://lead-service.devkilc.lcpare.com/api/cs" \
--header "Authorization: Bearer { BEARER_TOKEN }" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"percent\": 0,
\"officer_id\": 15,
\"cs_channel\": [
{
\"cs_channel_id\": 14,
\"is_active\": false,
\"requirement\": []
}
]
}"
The ID of the customer service.
curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/cs/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" content-type
: application/json
cache-control
: no-cache, private
access-control-allow-origin
: *
{
"success": true,
"message": "Customer service detail",
"data": {
"id": 1,
"id_officer": 47,
"counter": null,
"percent": 30,
"name": "zunililaifi",
"username": "lila",
"is_active": true,
"channel": [
{
"id": 2,
"channel_id": "Qontak",
"name": "Qontak",
"description": "{\"qontak_staff_id\" : \"132321231\"}",
"is_active": true,
"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": ""
}
The ID of the customer service.
curl --request PUT \
"https://lead-service.devkilc.lcpare.com/api/cs/1" \
--header "Authorization: Bearer { BEARER_TOKEN }" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"percent\": 1,
\"cs_channel\": [
{
\"cs_channel_id\": 19,
\"is_active\": true,
\"requirement\": []
}
]
}"
The ID of the customer service.
curl --request PUT \
"https://lead-service.devkilc.lcpare.com/api/cs/1/set-active" \
--header "Authorization: Bearer { BEARER_TOKEN }" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/cs/team-group/list" \
--header "Content-Type: application/json" \
--header "Accept: application/json" content-type
: application/json
cache-control
: no-cache, private
access-control-allow-origin
: *
{
"success": false,
"message": "Attempt to read property \"id\" on null",
"data": [
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php",
"line": 256,
"function": "handleError",
"class": "Illuminate\\Foundation\\Bootstrap\\HandleExceptions",
"type": "->",
"args": [
2,
"Attempt to read property \"id\" on null",
"/var/www/html/app/Http/Controllers/CsController.php",
273
]
},
{
"file": "/var/www/html/app/Http/Controllers/CsController.php",
"line": 273,
"function": "Illuminate\\Foundation\\Bootstrap\\{closure}",
"class": "Illuminate\\Foundation\\Bootstrap\\HandleExceptions",
"type": "->",
"args": [
2,
"Attempt to read property \"id\" on null",
"/var/www/html/app/Http/Controllers/CsController.php",
273
]
},
{
"function": "App\\Http\\Controllers\\{closure}",
"class": "App\\Http\\Controllers\\CsController",
"type": "->",
"args": [
{
"id": 18,
"percent": 0,
"officer_id": 328,
"is_active": true,
"created_at": "2025-06-25T15:31:51.000000Z",
"updated_at": "2025-06-25T15:31:51.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": null,
"cs_team_customer_service": [
{
"id": 210,
"cs_team_id": 15,
"customer_service_id": 18,
"is_active": true,
"created_at": "2025-08-21T09:12:57.000000Z",
"updated_at": "2025-08-21T09:12:57.000000Z",
"deleted_at": null,
"created_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"updated_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"deleted_by": null,
"cs_team": {
"id": 15,
"name": "HQ CS",
"cs_group_cs_team": [
{
"id": 32,
"name": "HQ Group",
"pivot": {
"cs_team_id": 15,
"cs_group_id": 32,
"id": 30
}
}
]
}
}
]
},
17
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Collections/Arr.php",
"line": 609,
"function": "array_map",
"args": [
{},
[
{
"id": 12,
"percent": 100,
"officer_id": 246,
"is_active": true,
"created_at": "2024-08-30T02:47:53.862000Z",
"updated_at": "2024-09-03T17:02:00.000000Z",
"deleted_at": null,
"created_by": null,
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": {
"id": 246,
"name": "Retha Febrianasari",
"username": "Ara"
},
"cs_team_customer_service": [
{
"id": 206,
"cs_team_id": 15,
"customer_service_id": 12,
"is_active": true,
"created_at": "2025-08-21T09:12:57.000000Z",
"updated_at": "2025-08-21T09:12:57.000000Z",
"deleted_at": null,
"created_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"updated_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"deleted_by": null,
"cs_team": {
"id": 15,
"name": "HQ CS",
"cs_group_cs_team": [
{
"id": 32,
"name": "HQ Group",
"pivot": {
"cs_team_id": 15,
"cs_group_id": 32,
"id": 30
}
}
]
}
}
]
},
{
"id": 14,
"percent": 10,
"officer_id": 1,
"is_active": true,
"created_at": "2024-09-21T11:29:01.000000Z",
"updated_at": "2024-09-21T11:29:01.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": {
"id": 1,
"name": "Team IT",
"username": "IT IT"
},
"cs_team_customer_service": []
},
{
"id": 17,
"percent": 100,
"officer_id": 254,
"is_active": true,
"created_at": "2024-10-08T13:57:39.000000Z",
"updated_at": "2024-10-30T07:30:37.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": {
"id": 254,
"name": "Nashiha Afidah",
"username": "Ryas"
},
"cs_team_customer_service": [
{
"id": 214,
"cs_team_id": 17,
"customer_service_id": 17,
"is_active": true,
"created_at": "2025-09-27T10:03:16.000000Z",
"updated_at": "2025-09-27T10:03:16.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"cs_team": {
"id": 17,
"name": "Branch CS 2",
"cs_group_cs_team": [
{
"id": 35,
"name": "Branch Group 2",
"pivot": {
"cs_team_id": 17,
"cs_group_id": 35,
"id": 33
}
}
]
}
}
]
},
{
"id": 16,
"percent": 100,
"officer_id": 255,
"is_active": true,
"created_at": "2024-10-08T13:57:00.000000Z",
"updated_at": "2024-10-30T07:31:03.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": {
"id": 255,
"name": "Andy yusmant",
"username": "Jeka"
},
"cs_team_customer_service": [
{
"id": 191,
"cs_team_id": 13,
"customer_service_id": 16,
"is_active": true,
"created_at": "2025-08-18T08:50:30.000000Z",
"updated_at": "2025-08-18T08:50:30.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"cs_team": {
"id": 13,
"name": "Retired CS",
"cs_group_cs_team": [
{
"id": 29,
"name": "Retired Group CS",
"pivot": {
"cs_team_id": 13,
"cs_group_id": 29,
"id": 27
}
}
]
}
}
]
},
{
"id": 15,
"percent": 100,
"officer_id": 256,
"is_active": true,
"created_at": "2024-10-08T13:56:13.000000Z",
"updated_at": "2024-10-30T07:31:12.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": {
"id": 256,
"name": "Tiara Selling",
"username": "Kenzie"
},
"cs_team_customer_service": [
{
"id": 209,
"cs_team_id": 15,
"customer_service_id": 15,
"is_active": true,
"created_at": "2025-08-21T09:12:57.000000Z",
"updated_at": "2025-08-21T09:12:57.000000Z",
"deleted_at": null,
"created_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"updated_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"deleted_by": null,
"cs_team": {
"id": 15,
"name": "HQ CS",
"cs_group_cs_team": [
{
"id": 32,
"name": "HQ Group",
"pivot": {
"cs_team_id": 15,
"cs_group_id": 32,
"id": 30
}
}
]
}
}
]
},
{
"id": 13,
"percent": 100,
"officer_id": 249,
"is_active": true,
"created_at": "2024-09-17T23:18:45.000000Z",
"updated_at": "2024-10-30T07:31:29.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": {
"id": 249,
"name": "Fitria Rachmawati Oemardi",
"username": "Yuki"
},
"cs_team_customer_service": [
{
"id": 167,
"cs_team_id": 16,
"customer_service_id": 13,
"is_active": true,
"created_at": "2025-07-16T08:46:32.000000Z",
"updated_at": "2025-07-16T08:46:32.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"cs_team": {
"id": 16,
"name": "Branch CS 1",
"cs_group_cs_team": [
{
"id": 33,
"name": "Branch Group 1",
"pivot": {
"cs_team_id": 16,
"cs_group_id": 33,
"id": 31
}
}
]
}
}
]
},
{
"id": 11,
"percent": 100,
"officer_id": 48,
"is_active": true,
"created_at": "2024-08-30T02:47:53.862000Z",
"updated_at": "2024-10-30T07:31:49.000000Z",
"deleted_at": null,
"created_by": null,
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": {
"id": 48,
"name": "Devina Dyah",
"username": "zea"
},
"cs_team_customer_service": [
{
"id": 166,
"cs_team_id": 16,
"customer_service_id": 11,
"is_active": true,
"created_at": "2025-07-16T08:46:32.000000Z",
"updated_at": "2025-07-16T08:46:32.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"cs_team": {
"id": 16,
"name": "Branch CS 1",
"cs_group_cs_team": [
{
"id": 33,
"name": "Branch Group 1",
"pivot": {
"cs_team_id": 16,
"cs_group_id": 33,
"id": 31
}
}
]
}
}
]
},
{
"id": 9,
"percent": 100,
"officer_id": 66,
"is_active": true,
"created_at": "2024-08-30T02:47:53.862000Z",
"updated_at": "2024-10-30T07:32:08.000000Z",
"deleted_at": null,
"created_by": null,
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": {
"id": 66,
"name": "Ms. Rossy Selling",
"username": "Nada"
},
"cs_team_customer_service": [
{
"id": 173,
"cs_team_id": 19,
"customer_service_id": 9,
"is_active": true,
"created_at": "2025-07-16T08:48:15.000000Z",
"updated_at": "2025-07-16T08:48:15.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"cs_team": {
"id": 19,
"name": "Branch SPV",
"cs_group_cs_team": [
{
"id": 35,
"name": "Branch Group 2",
"pivot": {
"cs_team_id": 19,
"cs_group_id": 35,
"id": 34
}
},
{
"id": 33,
"name": "Branch Group 1",
"pivot": {
"cs_team_id": 19,
"cs_group_id": 33,
"id": 32
}
}
]
}
}
]
},
{
"id": 7,
"percent": 100,
"officer_id": 248,
"is_active": true,
"created_at": "2024-08-30T02:47:53.862000Z",
"updated_at": "2024-10-30T07:32:25.000000Z",
"deleted_at": null,
"created_by": null,
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": {
"id": 248,
"name": "eko wicaksono",
"username": "Kia"
},
"cs_team_customer_service": [
{
"id": 168,
"cs_team_id": 16,
"customer_service_id": 7,
"is_active": true,
"created_at": "2025-07-16T08:46:32.000000Z",
"updated_at": "2025-07-16T08:46:32.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"cs_team": {
"id": 16,
"name": "Branch CS 1",
"cs_group_cs_team": [
{
"id": 33,
"name": "Branch Group 1",
"pivot": {
"cs_team_id": 16,
"cs_group_id": 33,
"id": 31
}
}
]
}
}
]
},
{
"id": 4,
"percent": 100,
"officer_id": 46,
"is_active": true,
"created_at": "2024-08-30T02:47:53.862000Z",
"updated_at": "2024-10-30T07:33:05.000000Z",
"deleted_at": null,
"created_by": null,
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": {
"id": 46,
"name": "ajaynursyamsu2211",
"username": "max"
},
"cs_team_customer_service": [
{
"id": 208,
"cs_team_id": 15,
"customer_service_id": 4,
"is_active": true,
"created_at": "2025-08-21T09:12:57.000000Z",
"updated_at": "2025-08-21T09:12:57.000000Z",
"deleted_at": null,
"created_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"updated_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"deleted_by": null,
"cs_team": {
"id": 15,
"name": "HQ CS",
"cs_group_cs_team": [
{
"id": 32,
"name": "HQ Group",
"pivot": {
"cs_team_id": 15,
"cs_group_id": 32,
"id": 30
}
}
]
}
}
]
},
{
"id": 3,
"percent": 100,
"officer_id": 61,
"is_active": true,
"created_at": "2024-08-30T02:47:53.862000Z",
"updated_at": "2024-10-30T07:33:18.000000Z",
"deleted_at": null,
"created_by": null,
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": {
"id": 61,
"name": "dewintan",
"username": "Fita"
},
"cs_team_customer_service": [
{
"id": 172,
"cs_team_id": 18,
"customer_service_id": 3,
"is_active": true,
"created_at": "2025-07-16T08:47:59.000000Z",
"updated_at": "2025-07-16T08:47:59.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"cs_team": {
"id": 18,
"name": "HQ SPV",
"cs_group_cs_team": [
{
"id": 32,
"name": "HQ Group",
"pivot": {
"cs_team_id": 18,
"cs_group_id": 32,
"id": 29
}
}
]
}
}
]
},
{
"id": 2,
"percent": 100,
"officer_id": 247,
"is_active": true,
"created_at": "2024-08-30T02:47:53.862000Z",
"updated_at": "2024-10-30T07:33:30.000000Z",
"deleted_at": null,
"created_by": null,
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": {
"id": 247,
"name": "Irfan Mohamad Sukri",
"username": "Evan"
},
"cs_team_customer_service": [
{
"id": 207,
"cs_team_id": 15,
"customer_service_id": 2,
"is_active": true,
"created_at": "2025-08-21T09:12:57.000000Z",
"updated_at": "2025-08-21T09:12:57.000000Z",
"deleted_at": null,
"created_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"updated_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"deleted_by": null,
"cs_team": {
"id": 15,
"name": "HQ CS",
"cs_group_cs_team": [
{
"id": 32,
"name": "HQ Group",
"pivot": {
"cs_team_id": 15,
"cs_group_id": 32,
"id": 30
}
}
]
}
}
]
},
{
"id": 8,
"percent": 20,
"officer_id": 44,
"is_active": true,
"created_at": "2024-08-30T02:47:53.862000Z",
"updated_at": "2024-11-01T10:51:36.000000Z",
"deleted_at": null,
"created_by": null,
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": {
"id": 44,
"name": "jehanadani",
"username": "jeje"
},
"cs_team_customer_service": [
{
"id": 217,
"cs_team_id": 12,
"customer_service_id": 8,
"is_active": true,
"created_at": "2025-10-08T10:15:35.000000Z",
"updated_at": "2025-10-08T10:15:35.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"cs_team": {
"id": 12,
"name": "Frontline",
"cs_group_cs_team": [
{
"id": 32,
"name": "HQ Group",
"pivot": {
"cs_team_id": 12,
"cs_group_id": 32,
"id": 35
}
}
]
}
}
]
},
{
"id": 6,
"percent": 90,
"officer_id": 67,
"is_active": true,
"created_at": "2024-08-30T02:47:53.862000Z",
"updated_at": "2024-11-01T10:51:42.000000Z",
"deleted_at": null,
"created_by": null,
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": {
"id": 67,
"name": "jihanabdiah11",
"username": "tia"
},
"cs_team_customer_service": [
{
"id": 192,
"cs_team_id": 13,
"customer_service_id": 6,
"is_active": true,
"created_at": "2025-08-18T08:50:30.000000Z",
"updated_at": "2025-08-18T08:50:30.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"cs_team": {
"id": 13,
"name": "Retired CS",
"cs_group_cs_team": [
{
"id": 29,
"name": "Retired Group CS",
"pivot": {
"cs_team_id": 13,
"cs_group_id": 29,
"id": 27
}
}
]
}
}
]
},
{
"id": 1,
"percent": 30,
"officer_id": 47,
"is_active": true,
"created_at": "2024-08-30T02:47:53.861000Z",
"updated_at": "2024-11-06T03:06:17.000000Z",
"deleted_at": null,
"created_by": null,
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": {
"id": 47,
"name": "zunililaifi",
"username": "lila"
},
"cs_team_customer_service": [
{
"id": 218,
"cs_team_id": 12,
"customer_service_id": 1,
"is_active": true,
"created_at": "2025-10-08T10:15:35.000000Z",
"updated_at": "2025-10-08T10:15:35.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"cs_team": {
"id": 12,
"name": "Frontline",
"cs_group_cs_team": [
{
"id": 32,
"name": "HQ Group",
"pivot": {
"cs_team_id": 12,
"cs_group_id": 32,
"id": 35
}
}
]
}
}
]
},
{
"id": 10,
"percent": 100,
"officer_id": 250,
"is_active": true,
"created_at": "2024-08-30T02:47:53.862000Z",
"updated_at": "2024-12-15T18:19:50.000000Z",
"deleted_at": null,
"created_by": null,
"updated_by": "d249d136-4159-4457-b7c0-1ea26b8c6ceb",
"deleted_by": null,
"officer": {
"id": 250,
"name": "Ismi Sofiatul Q.",
"username": "Hana"
},
"cs_team_customer_service": [
{
"id": 213,
"cs_team_id": 17,
"customer_service_id": 10,
"is_active": true,
"created_at": "2025-09-27T10:03:16.000000Z",
"updated_at": "2025-09-27T10:03:16.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"cs_team": {
"id": 17,
"name": "Branch CS 2",
"cs_group_cs_team": [
{
"id": 35,
"name": "Branch Group 2",
"pivot": {
"cs_team_id": 17,
"cs_group_id": 35,
"id": 33
}
}
]
}
}
]
},
{
"id": 5,
"percent": 100,
"officer_id": 69,
"is_active": true,
"created_at": "2024-08-30T02:47:53.862000Z",
"updated_at": "2025-02-12T13:31:31.000000Z",
"deleted_at": null,
"created_by": null,
"updated_by": "623567a0-5aad-42d3-a508-a072ff5bb888",
"deleted_by": null,
"officer": {
"id": 69,
"name": "izanugroho92",
"username": "ryas"
},
"cs_team_customer_service": [
{
"id": 190,
"cs_team_id": 13,
"customer_service_id": 5,
"is_active": true,
"created_at": "2025-08-18T08:50:30.000000Z",
"updated_at": "2025-08-18T08:50:30.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"cs_team": {
"id": 13,
"name": "Retired CS",
"cs_group_cs_team": [
{
"id": 29,
"name": "Retired Group CS",
"pivot": {
"cs_team_id": 13,
"cs_group_id": 29,
"id": 27
}
}
]
}
}
]
},
{
"id": 18,
"percent": 0,
"officer_id": 328,
"is_active": true,
"created_at": "2025-06-25T15:31:51.000000Z",
"updated_at": "2025-06-25T15:31:51.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": null,
"cs_team_customer_service": [
{
"id": 210,
"cs_team_id": 15,
"customer_service_id": 18,
"is_active": true,
"created_at": "2025-08-21T09:12:57.000000Z",
"updated_at": "2025-08-21T09:12:57.000000Z",
"deleted_at": null,
"created_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"updated_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"deleted_by": null,
"cs_team": {
"id": 15,
"name": "HQ CS",
"cs_group_cs_team": [
{
"id": 32,
"name": "HQ Group",
"pivot": {
"cs_team_id": 15,
"cs_group_id": 32,
"id": 30
}
}
]
}
}
]
},
{
"id": 19,
"percent": 0,
"officer_id": 327,
"is_active": true,
"created_at": "2025-06-25T15:32:49.000000Z",
"updated_at": "2025-06-25T15:32:49.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": null,
"cs_team_customer_service": [
{
"id": 211,
"cs_team_id": 15,
"customer_service_id": 19,
"is_active": true,
"created_at": "2025-08-21T09:12:57.000000Z",
"updated_at": "2025-08-21T09:12:57.000000Z",
"deleted_at": null,
"created_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"updated_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"deleted_by": null,
"cs_team": {
"id": 15,
"name": "HQ CS",
"cs_group_cs_team": [
{
"id": 32,
"name": "HQ Group",
"pivot": {
"cs_team_id": 15,
"cs_group_id": 32,
"id": 30
}
}
]
}
}
]
},
{
"id": 20,
"percent": 0,
"officer_id": 345,
"is_active": true,
"created_at": "2025-08-20T13:03:30.000000Z",
"updated_at": "2025-08-20T13:03:30.000000Z",
"deleted_at": null,
"created_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"updated_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"deleted_by": null,
"officer": null,
"cs_team_customer_service": [
{
"id": 212,
"cs_team_id": 15,
"customer_service_id": 20,
"is_active": true,
"created_at": "2025-08-21T09:12:57.000000Z",
"updated_at": "2025-08-21T09:12:57.000000Z",
"deleted_at": null,
"created_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"updated_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"deleted_by": null,
"cs_team": {
"id": 15,
"name": "HQ CS",
"cs_group_cs_team": [
{
"id": 32,
"name": "HQ Group",
"pivot": {
"cs_team_id": 15,
"cs_group_id": 32,
"id": 30
}
}
]
}
}
]
},
{
"id": 21,
"percent": 0,
"officer_id": 348,
"is_active": true,
"created_at": "2025-09-26T12:02:57.000000Z",
"updated_at": "2025-09-26T12:02:57.000000Z",
"deleted_at": null,
"created_by": "5cb9b47b-8da5-47dd-98fb-92b2fff31476",
"updated_by": "5cb9b47b-8da5-47dd-98fb-92b2fff31476",
"deleted_by": null,
"officer": null,
"cs_team_customer_service": [
{
"id": 216,
"cs_team_id": 17,
"customer_service_id": 21,
"is_active": true,
"created_at": "2025-09-27T10:03:16.000000Z",
"updated_at": "2025-09-27T10:03:16.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"cs_team": {
"id": 17,
"name": "Branch CS 2",
"cs_group_cs_team": [
{
"id": 35,
"name": "Branch Group 2",
"pivot": {
"cs_team_id": 17,
"cs_group_id": 35,
"id": 33
}
}
]
}
}
]
}
],
[
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20
]
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Collections/Collection.php",
"line": 799,
"function": "map",
"class": "Illuminate\\Support\\Arr",
"type": "::",
"args": [
[
{
"id": 12,
"percent": 100,
"officer_id": 246,
"is_active": true,
"created_at": "2024-08-30T02:47:53.862000Z",
"updated_at": "2024-09-03T17:02:00.000000Z",
"deleted_at": null,
"created_by": null,
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": {
"id": 246,
"name": "Retha Febrianasari",
"username": "Ara"
},
"cs_team_customer_service": [
{
"id": 206,
"cs_team_id": 15,
"customer_service_id": 12,
"is_active": true,
"created_at": "2025-08-21T09:12:57.000000Z",
"updated_at": "2025-08-21T09:12:57.000000Z",
"deleted_at": null,
"created_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"updated_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"deleted_by": null,
"cs_team": {
"id": 15,
"name": "HQ CS",
"cs_group_cs_team": [
{
"id": 32,
"name": "HQ Group",
"pivot": {
"cs_team_id": 15,
"cs_group_id": 32,
"id": 30
}
}
]
}
}
]
},
{
"id": 14,
"percent": 10,
"officer_id": 1,
"is_active": true,
"created_at": "2024-09-21T11:29:01.000000Z",
"updated_at": "2024-09-21T11:29:01.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": {
"id": 1,
"name": "Team IT",
"username": "IT IT"
},
"cs_team_customer_service": []
},
{
"id": 17,
"percent": 100,
"officer_id": 254,
"is_active": true,
"created_at": "2024-10-08T13:57:39.000000Z",
"updated_at": "2024-10-30T07:30:37.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": {
"id": 254,
"name": "Nashiha Afidah",
"username": "Ryas"
},
"cs_team_customer_service": [
{
"id": 214,
"cs_team_id": 17,
"customer_service_id": 17,
"is_active": true,
"created_at": "2025-09-27T10:03:16.000000Z",
"updated_at": "2025-09-27T10:03:16.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"cs_team": {
"id": 17,
"name": "Branch CS 2",
"cs_group_cs_team": [
{
"id": 35,
"name": "Branch Group 2",
"pivot": {
"cs_team_id": 17,
"cs_group_id": 35,
"id": 33
}
}
]
}
}
]
},
{
"id": 16,
"percent": 100,
"officer_id": 255,
"is_active": true,
"created_at": "2024-10-08T13:57:00.000000Z",
"updated_at": "2024-10-30T07:31:03.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": {
"id": 255,
"name": "Andy yusmant",
"username": "Jeka"
},
"cs_team_customer_service": [
{
"id": 191,
"cs_team_id": 13,
"customer_service_id": 16,
"is_active": true,
"created_at": "2025-08-18T08:50:30.000000Z",
"updated_at": "2025-08-18T08:50:30.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"cs_team": {
"id": 13,
"name": "Retired CS",
"cs_group_cs_team": [
{
"id": 29,
"name": "Retired Group CS",
"pivot": {
"cs_team_id": 13,
"cs_group_id": 29,
"id": 27
}
}
]
}
}
]
},
{
"id": 15,
"percent": 100,
"officer_id": 256,
"is_active": true,
"created_at": "2024-10-08T13:56:13.000000Z",
"updated_at": "2024-10-30T07:31:12.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": {
"id": 256,
"name": "Tiara Selling",
"username": "Kenzie"
},
"cs_team_customer_service": [
{
"id": 209,
"cs_team_id": 15,
"customer_service_id": 15,
"is_active": true,
"created_at": "2025-08-21T09:12:57.000000Z",
"updated_at": "2025-08-21T09:12:57.000000Z",
"deleted_at": null,
"created_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"updated_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"deleted_by": null,
"cs_team": {
"id": 15,
"name": "HQ CS",
"cs_group_cs_team": [
{
"id": 32,
"name": "HQ Group",
"pivot": {
"cs_team_id": 15,
"cs_group_id": 32,
"id": 30
}
}
]
}
}
]
},
{
"id": 13,
"percent": 100,
"officer_id": 249,
"is_active": true,
"created_at": "2024-09-17T23:18:45.000000Z",
"updated_at": "2024-10-30T07:31:29.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": {
"id": 249,
"name": "Fitria Rachmawati Oemardi",
"username": "Yuki"
},
"cs_team_customer_service": [
{
"id": 167,
"cs_team_id": 16,
"customer_service_id": 13,
"is_active": true,
"created_at": "2025-07-16T08:46:32.000000Z",
"updated_at": "2025-07-16T08:46:32.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"cs_team": {
"id": 16,
"name": "Branch CS 1",
"cs_group_cs_team": [
{
"id": 33,
"name": "Branch Group 1",
"pivot": {
"cs_team_id": 16,
"cs_group_id": 33,
"id": 31
}
}
]
}
}
]
},
{
"id": 11,
"percent": 100,
"officer_id": 48,
"is_active": true,
"created_at": "2024-08-30T02:47:53.862000Z",
"updated_at": "2024-10-30T07:31:49.000000Z",
"deleted_at": null,
"created_by": null,
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": {
"id": 48,
"name": "Devina Dyah",
"username": "zea"
},
"cs_team_customer_service": [
{
"id": 166,
"cs_team_id": 16,
"customer_service_id": 11,
"is_active": true,
"created_at": "2025-07-16T08:46:32.000000Z",
"updated_at": "2025-07-16T08:46:32.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"cs_team": {
"id": 16,
"name": "Branch CS 1",
"cs_group_cs_team": [
{
"id": 33,
"name": "Branch Group 1",
"pivot": {
"cs_team_id": 16,
"cs_group_id": 33,
"id": 31
}
}
]
}
}
]
},
{
"id": 9,
"percent": 100,
"officer_id": 66,
"is_active": true,
"created_at": "2024-08-30T02:47:53.862000Z",
"updated_at": "2024-10-30T07:32:08.000000Z",
"deleted_at": null,
"created_by": null,
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": {
"id": 66,
"name": "Ms. Rossy Selling",
"username": "Nada"
},
"cs_team_customer_service": [
{
"id": 173,
"cs_team_id": 19,
"customer_service_id": 9,
"is_active": true,
"created_at": "2025-07-16T08:48:15.000000Z",
"updated_at": "2025-07-16T08:48:15.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"cs_team": {
"id": 19,
"name": "Branch SPV",
"cs_group_cs_team": [
{
"id": 35,
"name": "Branch Group 2",
"pivot": {
"cs_team_id": 19,
"cs_group_id": 35,
"id": 34
}
},
{
"id": 33,
"name": "Branch Group 1",
"pivot": {
"cs_team_id": 19,
"cs_group_id": 33,
"id": 32
}
}
]
}
}
]
},
{
"id": 7,
"percent": 100,
"officer_id": 248,
"is_active": true,
"created_at": "2024-08-30T02:47:53.862000Z",
"updated_at": "2024-10-30T07:32:25.000000Z",
"deleted_at": null,
"created_by": null,
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": {
"id": 248,
"name": "eko wicaksono",
"username": "Kia"
},
"cs_team_customer_service": [
{
"id": 168,
"cs_team_id": 16,
"customer_service_id": 7,
"is_active": true,
"created_at": "2025-07-16T08:46:32.000000Z",
"updated_at": "2025-07-16T08:46:32.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"cs_team": {
"id": 16,
"name": "Branch CS 1",
"cs_group_cs_team": [
{
"id": 33,
"name": "Branch Group 1",
"pivot": {
"cs_team_id": 16,
"cs_group_id": 33,
"id": 31
}
}
]
}
}
]
},
{
"id": 4,
"percent": 100,
"officer_id": 46,
"is_active": true,
"created_at": "2024-08-30T02:47:53.862000Z",
"updated_at": "2024-10-30T07:33:05.000000Z",
"deleted_at": null,
"created_by": null,
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": {
"id": 46,
"name": "ajaynursyamsu2211",
"username": "max"
},
"cs_team_customer_service": [
{
"id": 208,
"cs_team_id": 15,
"customer_service_id": 4,
"is_active": true,
"created_at": "2025-08-21T09:12:57.000000Z",
"updated_at": "2025-08-21T09:12:57.000000Z",
"deleted_at": null,
"created_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"updated_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"deleted_by": null,
"cs_team": {
"id": 15,
"name": "HQ CS",
"cs_group_cs_team": [
{
"id": 32,
"name": "HQ Group",
"pivot": {
"cs_team_id": 15,
"cs_group_id": 32,
"id": 30
}
}
]
}
}
]
},
{
"id": 3,
"percent": 100,
"officer_id": 61,
"is_active": true,
"created_at": "2024-08-30T02:47:53.862000Z",
"updated_at": "2024-10-30T07:33:18.000000Z",
"deleted_at": null,
"created_by": null,
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": {
"id": 61,
"name": "dewintan",
"username": "Fita"
},
"cs_team_customer_service": [
{
"id": 172,
"cs_team_id": 18,
"customer_service_id": 3,
"is_active": true,
"created_at": "2025-07-16T08:47:59.000000Z",
"updated_at": "2025-07-16T08:47:59.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"cs_team": {
"id": 18,
"name": "HQ SPV",
"cs_group_cs_team": [
{
"id": 32,
"name": "HQ Group",
"pivot": {
"cs_team_id": 18,
"cs_group_id": 32,
"id": 29
}
}
]
}
}
]
},
{
"id": 2,
"percent": 100,
"officer_id": 247,
"is_active": true,
"created_at": "2024-08-30T02:47:53.862000Z",
"updated_at": "2024-10-30T07:33:30.000000Z",
"deleted_at": null,
"created_by": null,
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": {
"id": 247,
"name": "Irfan Mohamad Sukri",
"username": "Evan"
},
"cs_team_customer_service": [
{
"id": 207,
"cs_team_id": 15,
"customer_service_id": 2,
"is_active": true,
"created_at": "2025-08-21T09:12:57.000000Z",
"updated_at": "2025-08-21T09:12:57.000000Z",
"deleted_at": null,
"created_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"updated_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"deleted_by": null,
"cs_team": {
"id": 15,
"name": "HQ CS",
"cs_group_cs_team": [
{
"id": 32,
"name": "HQ Group",
"pivot": {
"cs_team_id": 15,
"cs_group_id": 32,
"id": 30
}
}
]
}
}
]
},
{
"id": 8,
"percent": 20,
"officer_id": 44,
"is_active": true,
"created_at": "2024-08-30T02:47:53.862000Z",
"updated_at": "2024-11-01T10:51:36.000000Z",
"deleted_at": null,
"created_by": null,
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": {
"id": 44,
"name": "jehanadani",
"username": "jeje"
},
"cs_team_customer_service": [
{
"id": 217,
"cs_team_id": 12,
"customer_service_id": 8,
"is_active": true,
"created_at": "2025-10-08T10:15:35.000000Z",
"updated_at": "2025-10-08T10:15:35.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"cs_team": {
"id": 12,
"name": "Frontline",
"cs_group_cs_team": [
{
"id": 32,
"name": "HQ Group",
"pivot": {
"cs_team_id": 12,
"cs_group_id": 32,
"id": 35
}
}
]
}
}
]
},
{
"id": 6,
"percent": 90,
"officer_id": 67,
"is_active": true,
"created_at": "2024-08-30T02:47:53.862000Z",
"updated_at": "2024-11-01T10:51:42.000000Z",
"deleted_at": null,
"created_by": null,
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": {
"id": 67,
"name": "jihanabdiah11",
"username": "tia"
},
"cs_team_customer_service": [
{
"id": 192,
"cs_team_id": 13,
"customer_service_id": 6,
"is_active": true,
"created_at": "2025-08-18T08:50:30.000000Z",
"updated_at": "2025-08-18T08:50:30.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"cs_team": {
"id": 13,
"name": "Retired CS",
"cs_group_cs_team": [
{
"id": 29,
"name": "Retired Group CS",
"pivot": {
"cs_team_id": 13,
"cs_group_id": 29,
"id": 27
}
}
]
}
}
]
},
{
"id": 1,
"percent": 30,
"officer_id": 47,
"is_active": true,
"created_at": "2024-08-30T02:47:53.861000Z",
"updated_at": "2024-11-06T03:06:17.000000Z",
"deleted_at": null,
"created_by": null,
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": {
"id": 47,
"name": "zunililaifi",
"username": "lila"
},
"cs_team_customer_service": [
{
"id": 218,
"cs_team_id": 12,
"customer_service_id": 1,
"is_active": true,
"created_at": "2025-10-08T10:15:35.000000Z",
"updated_at": "2025-10-08T10:15:35.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"cs_team": {
"id": 12,
"name": "Frontline",
"cs_group_cs_team": [
{
"id": 32,
"name": "HQ Group",
"pivot": {
"cs_team_id": 12,
"cs_group_id": 32,
"id": 35
}
}
]
}
}
]
},
{
"id": 10,
"percent": 100,
"officer_id": 250,
"is_active": true,
"created_at": "2024-08-30T02:47:53.862000Z",
"updated_at": "2024-12-15T18:19:50.000000Z",
"deleted_at": null,
"created_by": null,
"updated_by": "d249d136-4159-4457-b7c0-1ea26b8c6ceb",
"deleted_by": null,
"officer": {
"id": 250,
"name": "Ismi Sofiatul Q.",
"username": "Hana"
},
"cs_team_customer_service": [
{
"id": 213,
"cs_team_id": 17,
"customer_service_id": 10,
"is_active": true,
"created_at": "2025-09-27T10:03:16.000000Z",
"updated_at": "2025-09-27T10:03:16.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"cs_team": {
"id": 17,
"name": "Branch CS 2",
"cs_group_cs_team": [
{
"id": 35,
"name": "Branch Group 2",
"pivot": {
"cs_team_id": 17,
"cs_group_id": 35,
"id": 33
}
}
]
}
}
]
},
{
"id": 5,
"percent": 100,
"officer_id": 69,
"is_active": true,
"created_at": "2024-08-30T02:47:53.862000Z",
"updated_at": "2025-02-12T13:31:31.000000Z",
"deleted_at": null,
"created_by": null,
"updated_by": "623567a0-5aad-42d3-a508-a072ff5bb888",
"deleted_by": null,
"officer": {
"id": 69,
"name": "izanugroho92",
"username": "ryas"
},
"cs_team_customer_service": [
{
"id": 190,
"cs_team_id": 13,
"customer_service_id": 5,
"is_active": true,
"created_at": "2025-08-18T08:50:30.000000Z",
"updated_at": "2025-08-18T08:50:30.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"cs_team": {
"id": 13,
"name": "Retired CS",
"cs_group_cs_team": [
{
"id": 29,
"name": "Retired Group CS",
"pivot": {
"cs_team_id": 13,
"cs_group_id": 29,
"id": 27
}
}
]
}
}
]
},
{
"id": 18,
"percent": 0,
"officer_id": 328,
"is_active": true,
"created_at": "2025-06-25T15:31:51.000000Z",
"updated_at": "2025-06-25T15:31:51.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": null,
"cs_team_customer_service": [
{
"id": 210,
"cs_team_id": 15,
"customer_service_id": 18,
"is_active": true,
"created_at": "2025-08-21T09:12:57.000000Z",
"updated_at": "2025-08-21T09:12:57.000000Z",
"deleted_at": null,
"created_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"updated_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"deleted_by": null,
"cs_team": {
"id": 15,
"name": "HQ CS",
"cs_group_cs_team": [
{
"id": 32,
"name": "HQ Group",
"pivot": {
"cs_team_id": 15,
"cs_group_id": 32,
"id": 30
}
}
]
}
}
]
},
{
"id": 19,
"percent": 0,
"officer_id": 327,
"is_active": true,
"created_at": "2025-06-25T15:32:49.000000Z",
"updated_at": "2025-06-25T15:32:49.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"officer": null,
"cs_team_customer_service": [
{
"id": 211,
"cs_team_id": 15,
"customer_service_id": 19,
"is_active": true,
"created_at": "2025-08-21T09:12:57.000000Z",
"updated_at": "2025-08-21T09:12:57.000000Z",
"deleted_at": null,
"created_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"updated_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"deleted_by": null,
"cs_team": {
"id": 15,
"name": "HQ CS",
"cs_group_cs_team": [
{
"id": 32,
"name": "HQ Group",
"pivot": {
"cs_team_id": 15,
"cs_group_id": 32,
"id": 30
}
}
]
}
}
]
},
{
"id": 20,
"percent": 0,
"officer_id": 345,
"is_active": true,
"created_at": "2025-08-20T13:03:30.000000Z",
"updated_at": "2025-08-20T13:03:30.000000Z",
"deleted_at": null,
"created_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"updated_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"deleted_by": null,
"officer": null,
"cs_team_customer_service": [
{
"id": 212,
"cs_team_id": 15,
"customer_service_id": 20,
"is_active": true,
"created_at": "2025-08-21T09:12:57.000000Z",
"updated_at": "2025-08-21T09:12:57.000000Z",
"deleted_at": null,
"created_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"updated_by": "e04549b0-5d1b-43c0-bc3a-cdd4e4fbb187",
"deleted_by": null,
"cs_team": {
"id": 15,
"name": "HQ CS",
"cs_group_cs_team": [
{
"id": 32,
"name": "HQ Group",
"pivot": {
"cs_team_id": 15,
"cs_group_id": 32,
"id": 30
}
}
]
}
}
]
},
{
"id": 21,
"percent": 0,
"officer_id": 348,
"is_active": true,
"created_at": "2025-09-26T12:02:57.000000Z",
"updated_at": "2025-09-26T12:02:57.000000Z",
"deleted_at": null,
"created_by": "5cb9b47b-8da5-47dd-98fb-92b2fff31476",
"updated_by": "5cb9b47b-8da5-47dd-98fb-92b2fff31476",
"deleted_by": null,
"officer": null,
"cs_team_customer_service": [
{
"id": 216,
"cs_team_id": 17,
"customer_service_id": 21,
"is_active": true,
"created_at": "2025-09-27T10:03:16.000000Z",
"updated_at": "2025-09-27T10:03:16.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"cs_team": {
"id": 17,
"name": "Branch CS 2",
"cs_group_cs_team": [
{
"id": 35,
"name": "Branch Group 2",
"pivot": {
"cs_team_id": 17,
"cs_group_id": 35,
"id": 33
}
}
]
}
}
]
}
],
{}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Collection.php",
"line": 388,
"function": "map",
"class": "Illuminate\\Support\\Collection",
"type": "->",
"args": [
{}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Collections/Collection.php",
"line": 1726,
"function": "map",
"class": "Illuminate\\Database\\Eloquent\\Collection",
"type": "->",
"args": [
{}
]
},
{
"file": "/var/www/html/app/Http/Controllers/CsController.php",
"line": 267,
"function": "transform",
"class": "Illuminate\\Support\\Collection",
"type": "->",
"args": [
{}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php",
"line": 47,
"function": "listWithTeamGroup",
"class": "App\\Http\\Controllers\\CsController",
"type": "->",
"args": []
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php",
"line": 266,
"function": "dispatch",
"class": "Illuminate\\Routing\\ControllerDispatcher",
"type": "->",
"args": [
{
"uri": "api/cs/team-group/list",
"methods": [
"GET",
"HEAD"
],
"action": {
"middleware": [
"api"
],
"uses": "App\\Http\\Controllers\\CsController@listWithTeamGroup",
"controller": "App\\Http\\Controllers\\CsController@listWithTeamGroup",
"namespace": null,
"prefix": "api",
"where": [],
"as": "cs-team-group-list"
},
"isFallback": false,
"controller": {},
"defaults": [],
"wheres": [],
"parameters": [],
"parameterNames": [],
"computedMiddleware": [
"api"
],
"compiled": {}
},
{},
"listWithTeamGroup"
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php",
"line": 212,
"function": "runController",
"class": "Illuminate\\Routing\\Route",
"type": "->",
"args": []
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
"line": 808,
"function": "run",
"class": "Illuminate\\Routing\\Route",
"type": "->",
"args": []
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 170,
"function": "Illuminate\\Routing\\{closure}",
"class": "Illuminate\\Routing\\Router",
"type": "->",
"args": [
{
"attributes": {},
"request": {},
"query": {},
"server": {},
"files": {},
"cookies": {},
"headers": {}
}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php",
"line": 51,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->",
"args": [
{
"attributes": {},
"request": {},
"query": {},
"server": {},
"files": {},
"cookies": {},
"headers": {}
}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 209,
"function": "handle",
"class": "Illuminate\\Routing\\Middleware\\SubstituteBindings",
"type": "->",
"args": [
{
"attributes": {},
"request": {},
"query": {},
"server": {},
"files": {},
"cookies": {},
"headers": {}
},
{}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 127,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->",
"args": [
{
"attributes": {},
"request": {},
"query": {},
"server": {},
"files": {},
"cookies": {},
"headers": {}
}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
"line": 807,
"function": "then",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->",
"args": [
{}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
"line": 786,
"function": "runRouteWithinStack",
"class": "Illuminate\\Routing\\Router",
"type": "->",
"args": [
{
"uri": "api/cs/team-group/list",
"methods": [
"GET",
"HEAD"
],
"action": {
"middleware": [
"api"
],
"uses": "App\\Http\\Controllers\\CsController@listWithTeamGroup",
"controller": "App\\Http\\Controllers\\CsController@listWithTeamGroup",
"namespace": null,
"prefix": "api",
"where": [],
"as": "cs-team-group-list"
},
"isFallback": false,
"controller": {},
"defaults": [],
"wheres": [],
"parameters": [],
"parameterNames": [],
"computedMiddleware": [
"api"
],
"compiled": {}
},
{
"attributes": {},
"request": {},
"query": {},
"server": {},
"files": {},
"cookies": {},
"headers": {}
}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
"line": 750,
"function": "runRoute",
"class": "Illuminate\\Routing\\Router",
"type": "->",
"args": [
{
"attributes": {},
"request": {},
"query": {},
"server": {},
"files": {},
"cookies": {},
"headers": {}
},
{
"uri": "api/cs/team-group/list",
"methods": [
"GET",
"HEAD"
],
"action": {
"middleware": [
"api"
],
"uses": "App\\Http\\Controllers\\CsController@listWithTeamGroup",
"controller": "App\\Http\\Controllers\\CsController@listWithTeamGroup",
"namespace": null,
"prefix": "api",
"where": [],
"as": "cs-team-group-list"
},
"isFallback": false,
"controller": {},
"defaults": [],
"wheres": [],
"parameters": [],
"parameterNames": [],
"computedMiddleware": [
"api"
],
"compiled": {}
}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
"line": 739,
"function": "dispatchToRoute",
"class": "Illuminate\\Routing\\Router",
"type": "->",
"args": [
{
"attributes": {},
"request": {},
"query": {},
"server": {},
"files": {},
"cookies": {},
"headers": {}
}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
"line": 201,
"function": "dispatch",
"class": "Illuminate\\Routing\\Router",
"type": "->",
"args": [
{
"attributes": {},
"request": {},
"query": {},
"server": {},
"files": {},
"cookies": {},
"headers": {}
}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 170,
"function": "Illuminate\\Foundation\\Http\\{closure}",
"class": "Illuminate\\Foundation\\Http\\Kernel",
"type": "->",
"args": [
{
"attributes": {},
"request": {},
"query": {},
"server": {},
"files": {},
"cookies": {},
"headers": {}
}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
"line": 21,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->",
"args": [
{
"attributes": {},
"request": {},
"query": {},
"server": {},
"files": {},
"cookies": {},
"headers": {}
}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php",
"line": 31,
"function": "handle",
"class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
"type": "->",
"args": [
{
"attributes": {},
"request": {},
"query": {},
"server": {},
"files": {},
"cookies": {},
"headers": {}
},
{}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 209,
"function": "handle",
"class": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull",
"type": "->",
"args": [
{
"attributes": {},
"request": {},
"query": {},
"server": {},
"files": {},
"cookies": {},
"headers": {}
},
{}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
"line": 21,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->",
"args": [
{
"attributes": {},
"request": {},
"query": {},
"server": {},
"files": {},
"cookies": {},
"headers": {}
}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php",
"line": 51,
"function": "handle",
"class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
"type": "->",
"args": [
{
"attributes": {},
"request": {},
"query": {},
"server": {},
"files": {},
"cookies": {},
"headers": {}
},
{}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 209,
"function": "handle",
"class": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings",
"type": "->",
"args": [
{
"attributes": {},
"request": {},
"query": {},
"server": {},
"files": {},
"cookies": {},
"headers": {}
},
{}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php",
"line": 27,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->",
"args": [
{
"attributes": {},
"request": {},
"query": {},
"server": {},
"files": {},
"cookies": {},
"headers": {}
}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 209,
"function": "handle",
"class": "Illuminate\\Http\\Middleware\\ValidatePostSize",
"type": "->",
"args": [
{
"attributes": {},
"request": {},
"query": {},
"server": {},
"files": {},
"cookies": {},
"headers": {}
},
{}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php",
"line": 110,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->",
"args": [
{
"attributes": {},
"request": {},
"query": {},
"server": {},
"files": {},
"cookies": {},
"headers": {}
}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 209,
"function": "handle",
"class": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance",
"type": "->",
"args": [
{
"attributes": {},
"request": {},
"query": {},
"server": {},
"files": {},
"cookies": {},
"headers": {}
},
{}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php",
"line": 62,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->",
"args": [
{
"attributes": {},
"request": {},
"query": {},
"server": {},
"files": {},
"cookies": {},
"headers": {}
}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 209,
"function": "handle",
"class": "Illuminate\\Http\\Middleware\\HandleCors",
"type": "->",
"args": [
{
"attributes": {},
"request": {},
"query": {},
"server": {},
"files": {},
"cookies": {},
"headers": {}
},
{}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php",
"line": 58,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->",
"args": [
{
"attributes": {},
"request": {},
"query": {},
"server": {},
"files": {},
"cookies": {},
"headers": {}
}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 209,
"function": "handle",
"class": "Illuminate\\Http\\Middleware\\TrustProxies",
"type": "->",
"args": [
{
"attributes": {},
"request": {},
"query": {},
"server": {},
"files": {},
"cookies": {},
"headers": {}
},
{}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php",
"line": 22,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->",
"args": [
{
"attributes": {},
"request": {},
"query": {},
"server": {},
"files": {},
"cookies": {},
"headers": {}
}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 209,
"function": "handle",
"class": "Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks",
"type": "->",
"args": [
{
"attributes": {},
"request": {},
"query": {},
"server": {},
"files": {},
"cookies": {},
"headers": {}
},
{}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 127,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->",
"args": [
{
"attributes": {},
"request": {},
"query": {},
"server": {},
"files": {},
"cookies": {},
"headers": {}
}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
"line": 176,
"function": "then",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->",
"args": [
{}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
"line": 145,
"function": "sendRequestThroughRouter",
"class": "Illuminate\\Foundation\\Http\\Kernel",
"type": "->",
"args": [
{
"attributes": {},
"request": {},
"query": {},
"server": {},
"files": {},
"cookies": {},
"headers": {}
}
]
},
{
"file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
"line": 256,
"function": "handle",
"class": "Illuminate\\Foundation\\Http\\Kernel",
"type": "->",
"args": [
{
"attributes": {},
"request": {},
"query": {},
"server": {},
"files": {},
"cookies": {},
"headers": {}
}
]
},
{
"file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
"line": 249,
"function": "callLaravelRoute",
"class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
"type": "->",
"args": [
{
"attributes": {},
"request": {},
"query": {},
"server": {},
"files": {},
"cookies": {},
"headers": {}
}
]
},
{
"file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
"line": 86,
"function": "makeApiCall",
"class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
"type": "->",
"args": [
{
"attributes": {},
"request": {},
"query": {},
"server": {},
"files": {},
"cookies": {},
"headers": {}
},
{
"uri": "api/cs/team-group/list",
"methods": [
"GET",
"HEAD"
],
"action": {
"middleware": [
"api"
],
"uses": "App\\Http\\Controllers\\CsController@listWithTeamGroup",
"controller": "App\\Http\\Controllers\\CsController@listWithTeamGroup",
"namespace": null,
"prefix": "api",
"where": [],
"as": "cs-team-group-list"
},
"isFallback": false,
"controller": {},
"defaults": [],
"wheres": [],
"parameters": [],
"parameterNames": [],
"computedMiddleware": [
"api"
],
"compiled": {}
}
]
},
{
"file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
"line": 39,
"function": "makeResponseCall",
"class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
"type": "->",
"args": [
{
"custom": [],
"httpMethods": [
"GET"
],
"uri": "api/cs/team-group/list",
"metadata": {
"custom": [],
"groupName": "Customer Service",
"groupDescription": "\nAPIs for managing customer service",
"subgroup": "",
"subgroupDescription": "",
"title": "List Customer Service with team, group, and branch.",
"description": "",
"authenticated": false,
"deprecated": false
},
"headers": {
"Content-Type": "application/json",
"Accept": "application/json"
},
"urlParameters": [],
"cleanUrlParameters": [],
"queryParameters": [],
"cleanQueryParameters": [],
"bodyParameters": [],
"cleanBodyParameters": [],
"fileParameters": [],
"responses": [],
"responseFields": [],
"auth": [],
"controller": {
"name": "App\\Http\\Controllers\\CsController"
},
"method": {
"name": "listWithTeamGroup",
"class": "App\\Http\\Controllers\\CsController"
},
"route": {
"uri": "api/cs/team-group/list",
"methods": [
"GET",
"HEAD"
],
"action": {
"middleware": [
"api"
],
"uses": "App\\Http\\Controllers\\CsController@listWithTeamGroup",
"controller": "App\\Http\\Controllers\\CsController@listWithTeamGroup",
"namespace": null,
"prefix": "api",
"where": [],
"as": "cs-team-group-list"
},
"isFallback": false,
"controller": {},
"defaults": [],
"wheres": [],
"parameters": [],
"parameterNames": [],
"computedMiddleware": [
"api"
],
"compiled": {}
}
},
{
"only": [
"GET *"
],
"config": {
"app.debug": false
}
}
]
},
{
"file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php",
"line": 240,
"function": "__invoke",
"class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
"type": "->",
"args": [
{
"custom": [],
"httpMethods": [
"GET"
],
"uri": "api/cs/team-group/list",
"metadata": {
"custom": [],
"groupName": "Customer Service",
"groupDescription": "\nAPIs for managing customer service",
"subgroup": "",
"subgroupDescription": "",
"title": "List Customer Service with team, group, and branch.",
"description": "",
"authenticated": false,
"deprecated": false
},
"headers": {
"Content-Type": "application/json",
"Accept": "application/json"
},
"urlParameters": [],
"cleanUrlParameters": [],
"queryParameters": [],
"cleanQueryParameters": [],
"bodyParameters": [],
"cleanBodyParameters": [],
"fileParameters": [],
"responses": [],
"responseFields": [],
"auth": [],
"controller": {
"name": "App\\Http\\Controllers\\CsController"
},
"method": {
"name": "listWithTeamGroup",
"class": "App\\Http\\Controllers\\CsController"
},
"route": {
"uri": "api/cs/team-group/list",
"methods": [
"GET",
"HEAD"
],
"action": {
"middleware": [
"api"
],
"uses": "App\\Http\\Controllers\\CsController@listWithTeamGroup",
"controller": "App\\Http\\Controllers\\CsController@listWithTeamGroup",
"namespace": null,
"prefix": "api",
"where": [],
"as": "cs-team-group-list"
},
"isFallback": false,
"controller": {},
"defaults": [],
"wheres": [],
"parameters": [],
"parameterNames": [],
"computedMiddleware": [
"api"
],
"compiled": {}
}
},
{
"only": [
"GET *"
],
"config": {
"app.debug": false
}
}
]
},
{
"file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php",
"line": 165,
"function": "iterateThroughStrategies",
"class": "Knuckles\\Scribe\\Extracting\\Extractor",
"type": "->",
"args": [
"responses",
{
"custom": [],
"httpMethods": [
"GET"
],
"uri": "api/cs/team-group/list",
"metadata": {
"custom": [],
"groupName": "Customer Service",
"groupDescription": "\nAPIs for managing customer service",
"subgroup": "",
"subgroupDescription": "",
"title": "List Customer Service with team, group, and branch.",
"description": "",
"authenticated": false,
"deprecated": false
},
"headers": {
"Content-Type": "application/json",
"Accept": "application/json"
},
"urlParameters": [],
"cleanUrlParameters": [],
"queryParameters": [],
"cleanQueryParameters": [],
"bodyParameters": [],
"cleanBodyParameters": [],
"fileParameters": [],
"responses": [],
"responseFields": [],
"auth": [],
"controller": {
"name": "App\\Http\\Controllers\\CsController"
},
"method": {
"name": "listWithTeamGroup",
"class": "App\\Http\\Controllers\\CsController"
},
"route": {
"uri": "api/cs/team-group/list",
"methods": [
"GET",
"HEAD"
],
"action": {
"middleware": [
"api"
],
"uses": "App\\Http\\Controllers\\CsController@listWithTeamGroup",
"controller": "App\\Http\\Controllers\\CsController@listWithTeamGroup",
"namespace": null,
"prefix": "api",
"where": [],
"as": "cs-team-group-list"
},
"isFallback": false,
"controller": {},
"defaults": [],
"wheres": [],
"parameters": [],
"parameterNames": [],
"computedMiddleware": [
"api"
],
"compiled": {}
}
},
[],
{}
]
},
{
"file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php",
"line": 97,
"function": "fetchResponses",
"class": "Knuckles\\Scribe\\Extracting\\Extractor",
"type": "->",
"args": [
{
"custom": [],
"httpMethods": [
"GET"
],
"uri": "api/cs/team-group/list",
"metadata": {
"custom": [],
"groupName": "Customer Service",
"groupDescription": "\nAPIs for managing customer service",
"subgroup": "",
"subgroupDescription": "",
"title": "List Customer Service with team, group, and branch.",
"description": "",
"authenticated": false,
"deprecated": false
},
"headers": {
"Content-Type": "application/json",
"Accept": "application/json"
},
"urlParameters": [],
"cleanUrlParameters": [],
"queryParameters": [],
"cleanQueryParameters": [],
"bodyParameters": [],
"cleanBodyParameters": [],
"fileParameters": [],
"responses": [],
"responseFields": [],
"auth": [],
"controller": {
"name": "App\\Http\\Controllers\\CsController"
},
"method": {
"name": "listWithTeamGroup",
"class": "App\\Http\\Controllers\\CsController"
},
"route": {
"uri": "api/cs/team-group/list",
"methods": [
"GET",
"HEAD"
],
"action": {
"middleware": [
"api"
],
"uses": "App\\Http\\Controllers\\CsController@listWithTeamGroup",
"controller": "App\\Http\\Controllers\\CsController@listWithTeamGroup",
"namespace": null,
"prefix": "api",
"where": [],
"as": "cs-team-group-list"
},
"isFallback": false,
"controller": {},
"defaults": [],
"wheres": [],
"parameters": [],
"parameterNames": [],
"computedMiddleware": [
"api"
],
"compiled": {}
}
},
[]
]
},
{
"file": "/var/www/html/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php",
"line": 125,
"function": "processRoute",
"class": "Knuckles\\Scribe\\Extracting\\Extractor",
"type": "->",
"args": [
{
"uri": "api/cs/team-group/list",
"methods": [
"GET",
"HEAD"
],
"action": {
"middleware": [
"api"
],
"uses": "App\\Http\\Controllers\\CsController@listWithTeamGroup",
"controller": "App\\Http\\Controllers\\CsController@listWithTeamGroup",
"namespace": null,
"prefix": "api",
"where": [],
"as": "cs-team-group-list"
},
"isFallback": false,
"controller": {},
"defaults": [],
"wheres": [],
"parameters": [],
"parameterNames": [],
"computedMiddleware": [
"api"
],
"compiled": {}
},
[]
]
},
{
"file": "/var/www/html/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php",
"line": 72,
"function": "extractEndpointsInfoFromLaravelApp",
"class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
"type": "->",
"args": [
[
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{}
],
[],
[]
]
},
{
"file": "/var/www/html/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php",
"line": 50,
"function": "extractEndpointsInfoAndWriteToDisk",
"class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
"type": "->",
"args": [
{},
false
]
},
{
"file": "/var/www/html/vendor/knuckleswtf/scribe/src/Commands/GenerateDocumentation.php",
"line": 55,
"function": "get",
"class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
"type": "->",
"args": []
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php",
"line": 36,
"function": "handle",
"class": "Knuckles\\Scribe\\Commands\\GenerateDocumentation",
"type": "->",
"args": [
{},
{}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Container/Util.php",
"line": 43,
"function": "Illuminate\\Container\\{closure}",
"class": "Illuminate\\Container\\BoundMethod",
"type": "::",
"args": []
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php",
"line": 95,
"function": "unwrapIfClosure",
"class": "Illuminate\\Container\\Util",
"type": "::",
"args": [
{}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php",
"line": 35,
"function": "callBoundMethod",
"class": "Illuminate\\Container\\BoundMethod",
"type": "::",
"args": [
{
"contextual": {
"Laravel\\Telescope\\Storage\\DatabaseEntriesRepository": {
"$connection": "telescope",
"$chunkSize": 1000
}
},
"contextualAttributes": []
},
[
{},
"handle"
],
{}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Container/Container.php",
"line": 696,
"function": "call",
"class": "Illuminate\\Container\\BoundMethod",
"type": "::",
"args": [
{
"contextual": {
"Laravel\\Telescope\\Storage\\DatabaseEntriesRepository": {
"$connection": "telescope",
"$chunkSize": 1000
}
},
"contextualAttributes": []
},
[
{},
"handle"
],
[],
null
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Console/Command.php",
"line": 213,
"function": "call",
"class": "Illuminate\\Container\\Container",
"type": "->",
"args": [
[
{},
"handle"
]
]
},
{
"file": "/var/www/html/vendor/symfony/console/Command/Command.php",
"line": 318,
"function": "execute",
"class": "Illuminate\\Console\\Command",
"type": "->",
"args": [
{},
{}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Console/Command.php",
"line": 182,
"function": "run",
"class": "Symfony\\Component\\Console\\Command\\Command",
"type": "->",
"args": [
{},
{}
]
},
{
"file": "/var/www/html/vendor/symfony/console/Application.php",
"line": 1092,
"function": "run",
"class": "Illuminate\\Console\\Command",
"type": "->",
"args": [
{},
{}
]
},
{
"file": "/var/www/html/vendor/symfony/console/Application.php",
"line": 341,
"function": "doRunCommand",
"class": "Symfony\\Component\\Console\\Application",
"type": "->",
"args": [
{},
{},
{}
]
},
{
"file": "/var/www/html/vendor/symfony/console/Application.php",
"line": 192,
"function": "doRun",
"class": "Symfony\\Component\\Console\\Application",
"type": "->",
"args": [
{},
{}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php",
"line": 198,
"function": "run",
"class": "Symfony\\Component\\Console\\Application",
"type": "->",
"args": [
{},
{}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php",
"line": 1235,
"function": "handle",
"class": "Illuminate\\Foundation\\Console\\Kernel",
"type": "->",
"args": [
{},
{}
]
},
{
"file": "/var/www/html/artisan",
"line": 13,
"function": "handleCommand",
"class": "Illuminate\\Foundation\\Application",
"type": "->",
"args": [
{}
]
}
],
"error": "Internal Server Error"
}
APIs for managing customer service channel
curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/cs-channel/active" \
--header "Content-Type: application/json" \
--header "Accept: application/json" content-type
: application/json
cache-control
: no-cache, private
access-control-allow-origin
: *
{
"success": true,
"message": "List of active customer service channel",
"data": [
{
"id": 9,
"channel_id": "onesender",
"name": "One Sender",
"description": "{\"onesender_staff_id\":\"3123212321\", \"unique_id\":\"wa5799\"}",
"is_active": true,
"created_at": "2025-04-17T10:47:19.000000Z",
"updated_at": "2025-04-17T15: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-12T16:38:15.000000Z",
"updated_at": "2025-04-17T10:53:41.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
}
],
"error": ""
}
curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/cs-channel" \
--header "Content-Type: application/json" \
--header "Accept: application/json" content-type
: application/json
cache-control
: no-cache, private
access-control-allow-origin
: *
{
"success": true,
"message": "List of customer service channel",
"data": [
{
"id": 9,
"channel_id": "onesender",
"name": "One Sender",
"description": "{\"onesender_staff_id\":\"3123212321\", \"unique_id\":\"wa5799\"}",
"is_active": true,
"created_at": "2025-04-17T10:47:19.000000Z",
"updated_at": "2025-04-17T15: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-12T16:42:27.000000Z",
"updated_at": "2025-04-17T10: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-12T16:38:15.000000Z",
"updated_at": "2025-04-17T10:53:41.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-30T21:22:52.000000Z",
"updated_at": "2025-04-17T10:53:49.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
}
],
"error": ""
}
curl --request POST \
"https://lead-service.devkilc.lcpare.com/api/cs-channel" \
--header "Authorization: Bearer { BEARER_TOKEN }" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"description\": \"Molestiae voluptas dolorem aliquid dolorem at.\"
}"
The ID of the cs channel.
curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/cs-channel/2" \
--header "Content-Type: application/json" \
--header "Accept: application/json" content-type
: application/json
cache-control
: no-cache, private
access-control-allow-origin
: *
{
"success": true,
"message": "Customer service channel detail",
"data": {
"id": 2,
"channel_id": "Qontak",
"name": "Qontak",
"description": "{\"qontak_staff_id\" : \"132321231\"}",
"is_active": true,
"created_at": "2024-09-12T16:38:15.000000Z",
"updated_at": "2025-04-17T10:53:41.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
},
"error": ""
}
The ID of the cs channel.
curl --request PUT \
"https://lead-service.devkilc.lcpare.com/api/cs-channel/2" \
--header "Authorization: Bearer { BEARER_TOKEN }" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"description\": \"Non suscipit perferendis officia et soluta.\"
}"
curl --request PUT \
"https://lead-service.devkilc.lcpare.com/api/cs-channel/2/set-active" \
--header "Authorization: Bearer { BEARER_TOKEN }" \
--header "Content-Type: application/json" \
--header "Accept: application/json" APIs for managing group
The page of the list.
The limit of the list.
The search query.
curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/cs-group?page=1&limit=10&q=quos" \
--header "Content-Type: application/json" \
--header "Accept: application/json" content-type
: application/json
cache-control
: no-cache, private
access-control-allow-origin
: *
{
"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": ""
}
curl --request POST \
"https://lead-service.devkilc.lcpare.com/api/cs-group" \
--header "Authorization: Bearer { BEARER_TOKEN }" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"dolores\",
\"branches\": [
{
\"is_active\": false
}
],
\"teams\": [
{
\"is_active\": false
}
]
}"
The ID of the cs group.
curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/cs-group/35" \
--header "Content-Type: application/json" \
--header "Accept: application/json" content-type
: application/json
cache-control
: no-cache, private
access-control-allow-origin
: *
{
"success": true,
"message": "Group detail",
"data": {
"id": 35,
"name": "Branch Group 2",
"created_at": "2025-07-16T08:54:07.000000Z",
"updated_at": "2025-07-16T08: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-16T08:47:32.000000Z",
"updated_at": "2025-07-16T08: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-16T08:54:07.000000Z",
"updated_at": "2025-11-06T00:07:13.000000Z"
}
},
{
"id": 19,
"name": "Branch SPV",
"created_at": "2025-07-16T08:48:15.000000Z",
"updated_at": "2025-07-16T08: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-05T08:03:39.000000Z",
"updated_at": "2025-11-06T00:07:13.000000Z"
}
}
],
"branches": [
{
"branch_id": 4,
"branch_uid": "b6572f91-5bb8-4c23-9268-31d2ccd8b5f6",
"code": "JOGJA",
"name_branch": "JOGJA - JOGJA",
"img_url": "branches/Z2tIgLBKCm2zWALmItaeZyyTwdOxUVrIqUYQdLSs.jpg",
"status": 1,
"created_at": "2023-05-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-16T08:54:07.000000Z",
"updated_at": "2025-11-06T00:07:13.000000Z"
}
},
{
"branch_id": 5,
"branch_uid": "fc352b1e-6fc4-420d-9b39-4dbfa6a77264",
"code": "LAMPUNG",
"name_branch": "Bandar Lampung - Lampung",
"img_url": "branches/47mkQHLSeXMN2fwqx3R98BRWmed7xkROtZs73fW9.jpg",
"status": 1,
"created_at": "2023-06-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-16T08:54:07.000000Z",
"updated_at": "2025-11-06T00:07:13.000000Z"
}
},
{
"branch_id": 7,
"branch_uid": "a6bb2f65-6712-4b62-91f7-917330971466",
"code": "MEDAN",
"name_branch": "MEDAN - SUMATRA",
"img_url": "branches/luwoj3ogbuvmDF5iTVzbAh650hsZdrHJQfLYvnXw.jpg",
"status": 1,
"created_at": "2024-06-03T05:13:25.000000Z",
"updated_at": "2024-06-03T05:13:37.000000Z",
"updated_by": "e5984302-2b2e-4cc7-ae9d-f4fb44b3d582",
"pivot": {
"cs_group_id": 35,
"branch_id": 7,
"is_active": true,
"created_by": null,
"updated_by": null,
"deleted_by": null,
"created_at": "2025-07-16T08:54:07.000000Z",
"updated_at": "2025-11-06T00:07:13.000000Z"
}
},
{
"branch_id": 11,
"branch_uid": "ae62d13e-028d-4bfb-89f0-666739ebfcba",
"code": "SEMARANG",
"name_branch": "SEMARANG - JATENG",
"img_url": "branches/cQyADLaNTqa1aDa2LSgn0FFHWG7LGZoZrk8kSar1.png",
"status": 1,
"created_at": "2025-05-01T07:39:58.000000Z",
"updated_at": "2025-05-01T07:39:58.000000Z",
"updated_by": "system",
"pivot": {
"cs_group_id": 35,
"branch_id": 11,
"is_active": true,
"created_by": null,
"updated_by": null,
"deleted_by": null,
"created_at": "2025-07-16T08:54:07.000000Z",
"updated_at": "2025-11-06T00:07:13.000000Z"
}
},
{
"branch_id": 12,
"branch_uid": "16c90942-ff15-4ae3-8036-4ef42ee4981e",
"code": "BEKASI",
"name_branch": "BEKASI - JABAR",
"img_url": "branches/R1ULdCmdJmFhD1KXMpjmPc3swNi3hOcGZW1m3hOq.png",
"status": 1,
"created_at": "2025-05-01T07:40:28.000000Z",
"updated_at": "2025-05-01T07:40:28.000000Z",
"updated_by": "system",
"pivot": {
"cs_group_id": 35,
"branch_id": 12,
"is_active": true,
"created_by": null,
"updated_by": null,
"deleted_by": null,
"created_at": "2025-07-16T08:54:07.000000Z",
"updated_at": "2025-11-06T00:07:13.000000Z"
}
}
]
},
"error": ""
}
The ID of the cs group.
curl --request PUT \
"https://lead-service.devkilc.lcpare.com/api/cs-group/35" \
--header "Authorization: Bearer { BEARER_TOKEN }" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"provident\",
\"branches\": [
{
\"is_active\": false
}
],
\"teams\": [
{
\"is_active\": true
}
]
}"
The ID of the cs group.
curl --request DELETE \
"https://lead-service.devkilc.lcpare.com/api/cs-group/35" \
--header "Authorization: Bearer { BEARER_TOKEN }" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request PUT \
"https://lead-service.devkilc.lcpare.com/api/cs-group/35/set-active" \
--header "Authorization: Bearer { BEARER_TOKEN }" \
--header "Content-Type: application/json" \
--header "Accept: application/json" APIs for managing customer service team
The page of the list.
The limit of the list.
The search query.
curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/cs-team?page=1&limit=10&q=John" \
--header "Content-Type: application/json" \
--header "Accept: application/json" content-type
: application/json
cache-control
: no-cache, private
access-control-allow-origin
: *
{
"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": ""
}
curl --request POST \
"https://lead-service.devkilc.lcpare.com/api/cs-team" \
--header "Authorization: Bearer { BEARER_TOKEN }" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"inventore\",
\"customer_service\": [
{
\"id\": 19
}
]
}"
The ID of the cs team.
curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/cs-team/13" \
--header "Content-Type: application/json" \
--header "Accept: application/json" content-type
: application/json
cache-control
: no-cache, private
access-control-allow-origin
: *
{
"success": true,
"message": "Team detail",
"data": {
"id": 13,
"name": "Retired CS",
"created_at": "2025-02-12T13:33:12.000000Z",
"updated_at": "2025-02-12T13:33:12.000000Z",
"deleted_at": null,
"created_by": "623567a0-5aad-42d3-a508-a072ff5bb888",
"updated_by": "623567a0-5aad-42d3-a508-a072ff5bb888",
"deleted_by": null,
"customer_services": [
{
"id": 16,
"id_officer": 255,
"counter": null,
"percent": 100,
"name": "Andy yusmant",
"username": "Jeka",
"is_active": true
},
{
"id": 6,
"id_officer": 67,
"counter": null,
"percent": 90,
"name": "jihanabdiah11",
"username": "tia",
"is_active": true
},
{
"id": 5,
"id_officer": 69,
"counter": null,
"percent": 100,
"name": "izanugroho92",
"username": "ryas",
"is_active": true
}
]
},
"error": ""
}
The ID of the cs team.
curl --request PUT \
"https://lead-service.devkilc.lcpare.com/api/cs-team/13" \
--header "Authorization: Bearer { BEARER_TOKEN }" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"modi\",
\"customer_service\": [
{
\"id\": 1,
\"is_active\": false,
\"channel_requirement\": [
{
\"id\": 16,
\"is_active\": true
}
]
}
]
}"
The ID of the Cs Team.
curl --request DELETE \
"https://lead-service.devkilc.lcpare.com/api/cs-team/1" \
--header "Authorization: Bearer { BEARER_TOKEN }" \
--header "Content-Type: application/json" \
--header "Accept: application/json" The ID of the team.
curl --request PUT \
"https://lead-service.devkilc.lcpare.com/api/cs-team/13/set-active" \
--header "Authorization: Bearer { BEARER_TOKEN }" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/sending-initiate-whatsapp" \
--header "Content-Type: application/json" \
--header "Accept: application/json" content-type
: application/json
cache-control
: no-cache, private
access-control-allow-origin
: *
{
"success": true,
"message": "WhatsApp initiation sent",
"data": [],
"error": ""
}
curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/start-of-pause-assignment" \
--header "Content-Type: application/json" \
--header "Accept: application/json" content-type
: application/json
cache-control
: no-cache, private
access-control-allow-origin
: *
{
"success": true,
"message": "Pause assignment started",
"data": [],
"error": ""
}
curl --request POST \
"https://lead-service.devkilc.lcpare.com/api/update-qontak-tags" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request POST \
"https://lead-service.devkilc.lcpare.com/api/label-chat/update" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"payload\": []
}"
APIs for managing lead
The page of the list.
The limit of the list.
The search query for lead name.
The search query for lead history name.
The search query for email.
The search query for whatsapp.
The search query for course package name.
The search query for bank.
The search query for registration id.
The search query for utm campaign.
The search query for utm source.
The search query for utm medium.
The search query for utm content.
The search query for clid.
The search query for response info.
The search query for source.
The customer service id.
The start date.
The end date.
The start period date.
The end period date.
The start registration date.
The end registration date.
The start payment date.
The end payment date.
The branch id.
The category id.
The status id.
The is replied status.
The show status.
curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/lead/histories?page=1&limit=10&lead_name=magni&lead_history_name=saepe&email=yadira.wolff%40example.org&whatsapp=amet&course_package_name=similique&bank=officia®istration_id=tenetur&utm_campaign=quia&utm_source=nobis&utm_medium=temporibus&utm_content=temporibus&clid=ea&response_info=doloremque&source=totam&cs_id=1&start_date=2021-01-01&end_date=2021-12-31&start_period=2021-01-01&end_period=2021-12-31&start_registration=2021-01-01&end_registration=2021-12-31&start_payment=2021-01-01&end_payment=2021-12-31&branch_id=1&category_id=1&status_id=1&is_replied=true&show=own" \
--header "Authorization: Bearer {Token}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" content-type
: application/json
cache-control
: no-cache, private
access-control-allow-origin
: *
{
"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": ""
}
curl --request POST \
"https://lead-service.devkilc.lcpare.com/api/lead/histories/send-message" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"history_lead_id\": 15
}"
The lead id.
The registration id.
curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/lead/histories/detail?lead_id=109468®istration_id=058534" \
--header "Content-Type: application/json" \
--header "Accept: application/json" content-type
: application/json
cache-control
: no-cache, private
access-control-allow-origin
: *
{
"success": true,
"message": "Lead History Detail",
"data": {
"id": 131320,
"created_at": "2023-06-18T00: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-18T10:22:47.000000Z"
},
"error": ""
}
curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/lead/get-category-list" \
--header "Content-Type: application/json" \
--header "Accept: application/json" content-type
: application/json
cache-control
: no-cache, private
access-control-allow-origin
: *
{
"success": true,
"message": "List of lead categories",
"data": [
{
"id": 2,
"name": "LC OFFLINE"
},
{
"id": 1,
"name": "LC ONLINE"
}
],
"error": ""
}
curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/lead/get-status-list" \
--header "Content-Type: application/json" \
--header "Accept: application/json" content-type
: application/json
cache-control
: no-cache, private
access-control-allow-origin
: *
{
"success": true,
"message": "List of lead statuses",
"data": [
{
"id": 2,
"name": "ENGAGED"
},
{
"id": 1,
"name": "NEW LEAD"
}
],
"error": ""
}
The page of the list.
The limit of the list.
The search query.
The customer service id.
The start date.
The end date.
curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/lead?page=1&limit=10&q=ut&cs_id=1&start_date=2021-01-01&end_date=2021-12-31" \
--header "Authorization: Bearer {Token}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" content-type
: application/json
cache-control
: no-cache, private
access-control-allow-origin
: *
{
"success": true,
"message": "List of leads",
"data": [],
"error": ""
}
The ID of the lead.
curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/lead/79085" \
--header "Content-Type: application/json" \
--header "Accept: application/json" content-type
: application/json
cache-control
: no-cache, private
access-control-allow-origin
: *
{
"success": true,
"message": "Detail of lead",
"data": {
"id": 79085,
"created_at": "2022-12-07T12:49:00.000000Z",
"name": "Sarqiah Saleh Yusuf",
"email": "sarqiahsaleh12@gmail.com",
"whatsapp": "6281241840924",
"histories": [
{
"id": 91237,
"created_at": "2022-12-07T12:49:00.000000Z",
"history_name": "Sarqiah Saleh Yusuf",
"course_package_name": null,
"branch_name": "PARE - JATIM",
"category_name": "LC OFFLINE",
"registration_date": "2022-12-07 12:49:59+00",
"payment_date": null,
"registration_number": "054018",
"period_date": "2023-01-09",
"bank": null,
"status_name": "NEW LEAD",
"cs_name": "izanugroho92",
"cs_team_name": "IZZY",
"cs_group_name": "Area 3",
"utm_campaign": null,
"utm_source": null,
"utm_medium": null,
"utm_content": null,
"clid": null,
"response_info": "Menunggu Pembayaran",
"source": "TanyaCs",
"is_replied": null
}
]
},
"error": ""
}
curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/dashboard-cs" \
--header "Authorization: Bearer { BEARER_TOKEN }" \
--header "Content-Type: application/json" \
--header "Accept: application/json" content-type
: application/json
cache-control
: no-cache, private
access-control-allow-origin
: *
{
"success": false,
"message": "Customer Service Not Found",
"data": null,
"error": ""
}
curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/dashboard-spv" \
--header "Content-Type: application/json" \
--header "Accept: application/json" content-type
: application/json
cache-control
: no-cache, private
access-control-allow-origin
: *
{
"success": true,
"message": "Dashboard of Spv Selling",
"data": {
"statistics": {
"total_lead_count": 464764,
"lead_count_today": 3,
"lead_count_yesterday": 2,
"lead_count_this_month": 2794,
"lead_count_last_month": 13425,
"total_registered_lead_count": 51855,
"registered_lead_count_today": 0,
"registered_lead_count_yesterday": 0,
"registered_lead_count_this_month": 180,
"registered_lead_count_last_month": 1167,
"total_payment_lead_count": 29532,
"payment_lead_count_today": 0,
"payment_lead_count_yesterday": 0,
"payment_lead_count_this_month": 102,
"payment_lead_count_last_month": 592
},
"per_team": [
{
"team_name": "ARIEL",
"total_lead_count": 84721,
"lead_count_today": 0,
"lead_count_this_month": 0,
"total_registered_lead_count": 9648,
"registered_lead_count_today": 0,
"registered_lead_count_this_month": 0,
"total_payment_lead_count": 5703,
"payment_lead_count_today": 0,
"payment_lead_count_this_month": 0,
"schedule": [
{
"id": 10,
"schedule_shift_id": 1597,
"percent": 100,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": "Ismi Sofiatul Q.",
"username": "Hana",
"team_id": 4,
"team_name": "ARIEL",
"group_id": null,
"group_name": null,
"schedule_shift": {
"id": 1597,
"schedule_id": 609,
"shift_id": 4,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.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-29T16:17:33.000000Z",
"updated_at": "2024-10-29T16:17:33.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
}
},
"template_schedule_shift_cs_id": 10709
},
{
"id": 4,
"schedule_shift_id": 1597,
"percent": 100,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T04:47:37.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 2,
"name": "ajaynursyamsu2211",
"username": "max",
"team_id": 4,
"team_name": "ARIEL",
"group_id": null,
"group_name": null,
"schedule_shift": {
"id": 1597,
"schedule_id": 609,
"shift_id": 4,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.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-29T16:17:33.000000Z",
"updated_at": "2024-10-29T16:17:33.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
}
},
"template_schedule_shift_cs_id": 10710
}
]
},
{
"team_name": "DIAZ",
"total_lead_count": 77625,
"lead_count_today": 0,
"lead_count_this_month": 0,
"total_registered_lead_count": 8525,
"registered_lead_count_today": 0,
"registered_lead_count_this_month": 0,
"total_payment_lead_count": 4907,
"payment_lead_count_today": 0,
"payment_lead_count_this_month": 0,
"schedule": [
{
"id": 2,
"schedule_shift_id": 1597,
"percent": 100,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": "Irfan Mohamad Sukri",
"username": "Evan",
"team_id": 5,
"team_name": "DIAZ",
"group_id": null,
"group_name": null,
"schedule_shift": {
"id": 1597,
"schedule_id": 609,
"shift_id": 4,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.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-29T16:17:33.000000Z",
"updated_at": "2024-10-29T16:17:33.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
}
},
"template_schedule_shift_cs_id": 10711
},
{
"id": 13,
"schedule_shift_id": 1597,
"percent": 100,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": "Fitria Rachmawati Oemardi",
"username": "Yuki",
"team_id": 5,
"team_name": "DIAZ",
"group_id": null,
"group_name": null,
"schedule_shift": {
"id": 1597,
"schedule_id": 609,
"shift_id": 4,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.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-29T16:17:33.000000Z",
"updated_at": "2024-10-29T16:17:33.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
}
},
"template_schedule_shift_cs_id": 10712
}
]
},
{
"team_name": "IZZY",
"total_lead_count": 99808,
"lead_count_today": 0,
"lead_count_this_month": 0,
"total_registered_lead_count": 10943,
"registered_lead_count_today": 0,
"registered_lead_count_this_month": 0,
"total_payment_lead_count": 6471,
"payment_lead_count_today": 0,
"payment_lead_count_this_month": 0,
"schedule": [
{
"id": 3,
"schedule_shift_id": 1597,
"percent": 0,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": "dewintan",
"username": "Fita",
"team_id": 6,
"team_name": "IZZY",
"group_id": null,
"group_name": null,
"schedule_shift": {
"id": 1597,
"schedule_id": 609,
"shift_id": 4,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.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-29T16:17:33.000000Z",
"updated_at": "2024-10-29T16:17:33.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
}
},
"template_schedule_shift_cs_id": 10713
},
{
"id": 17,
"schedule_shift_id": 1597,
"percent": 100,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": "Nashiha Afidah",
"username": "Ryas",
"team_id": 6,
"team_name": "IZZY",
"group_id": null,
"group_name": null,
"schedule_shift": {
"id": 1597,
"schedule_id": 609,
"shift_id": 4,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.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-29T16:17:33.000000Z",
"updated_at": "2024-10-29T16:17:33.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
}
},
"template_schedule_shift_cs_id": 10714
}
]
},
{
"team_name": "ZURI",
"total_lead_count": 55923,
"lead_count_today": 0,
"lead_count_this_month": 0,
"total_registered_lead_count": 6731,
"registered_lead_count_today": 0,
"registered_lead_count_this_month": 0,
"total_payment_lead_count": 3819,
"payment_lead_count_today": 0,
"payment_lead_count_this_month": 0,
"schedule": [
{
"id": 12,
"schedule_shift_id": 1597,
"percent": 100,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": "Retha Febrianasari",
"username": "Ara",
"team_id": 7,
"team_name": "ZURI",
"group_id": null,
"group_name": null,
"schedule_shift": {
"id": 1597,
"schedule_id": 609,
"shift_id": 4,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.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-29T16:17:33.000000Z",
"updated_at": "2024-10-29T16:17:33.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
}
},
"template_schedule_shift_cs_id": 10717
},
{
"id": 11,
"schedule_shift_id": 1597,
"percent": 100,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": "Devina Dyah",
"username": "zea",
"team_id": 7,
"team_name": "ZURI",
"group_id": null,
"group_name": null,
"schedule_shift": {
"id": 1597,
"schedule_id": 609,
"shift_id": 4,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.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-29T16:17:33.000000Z",
"updated_at": "2024-10-29T16:17:33.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
}
},
"template_schedule_shift_cs_id": 10718
}
]
},
{
"team_name": "NIKY",
"total_lead_count": 26543,
"lead_count_today": 0,
"lead_count_this_month": 0,
"total_registered_lead_count": 2287,
"registered_lead_count_today": 0,
"registered_lead_count_this_month": 0,
"total_payment_lead_count": 1474,
"payment_lead_count_today": 0,
"payment_lead_count_this_month": 0,
"schedule": [
{
"id": 15,
"schedule_shift_id": 1597,
"percent": 0,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": "Tiara Selling",
"username": "Kenzie",
"team_id": 8,
"team_name": "NIKY",
"group_id": null,
"group_name": null,
"schedule_shift": {
"id": 1597,
"schedule_id": 609,
"shift_id": 4,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.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-29T16:17:33.000000Z",
"updated_at": "2024-10-29T16:17:33.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
}
},
"template_schedule_shift_cs_id": 10715
},
{
"id": 7,
"schedule_shift_id": 1597,
"percent": 100,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": "eko wicaksono",
"username": "Kia",
"team_id": 16,
"team_name": "Branch CS 1",
"group_id": 33,
"group_name": "Branch Group 1",
"schedule_shift": {
"id": 1597,
"schedule_id": 609,
"shift_id": 4,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.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-29T16:17:33.000000Z",
"updated_at": "2024-10-29T16:17:33.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
}
},
"template_schedule_shift_cs_id": 10716
}
]
},
{
"team_name": "Unknown",
"total_lead_count": 8930,
"lead_count_today": 0,
"lead_count_this_month": 0,
"total_registered_lead_count": 828,
"registered_lead_count_today": 0,
"registered_lead_count_this_month": 0,
"total_payment_lead_count": 485,
"payment_lead_count_today": 0,
"payment_lead_count_this_month": 0,
"schedule": []
},
{
"team_name": "SPV",
"total_lead_count": 45252,
"lead_count_today": 0,
"lead_count_this_month": 0,
"total_registered_lead_count": 7825,
"registered_lead_count_today": 0,
"registered_lead_count_this_month": 0,
"total_payment_lead_count": 4275,
"payment_lead_count_today": 0,
"payment_lead_count_this_month": 0,
"schedule": [
{
"id": 9,
"schedule_shift_id": 1597,
"percent": 10,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": "Ms. Rossy Selling",
"username": "Nada",
"team_id": 11,
"team_name": "SPV",
"group_id": null,
"group_name": null,
"schedule_shift": {
"id": 1597,
"schedule_id": 609,
"shift_id": 4,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.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-29T16:17:33.000000Z",
"updated_at": "2024-10-29T16:17:33.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
}
},
"template_schedule_shift_cs_id": 10719
}
]
},
{
"team_name": "Frontline",
"total_lead_count": 349,
"lead_count_today": 0,
"lead_count_this_month": 0,
"total_registered_lead_count": 260,
"registered_lead_count_today": 0,
"registered_lead_count_this_month": 0,
"total_payment_lead_count": 131,
"payment_lead_count_today": 0,
"payment_lead_count_this_month": 0,
"schedule": []
},
{
"team_name": "Retired CS",
"total_lead_count": 3448,
"lead_count_today": 0,
"lead_count_this_month": 35,
"total_registered_lead_count": 255,
"registered_lead_count_today": 0,
"registered_lead_count_this_month": 5,
"total_payment_lead_count": 101,
"payment_lead_count_today": 0,
"payment_lead_count_this_month": 3,
"schedule": []
},
{
"team_name": "NEW CS",
"total_lead_count": 884,
"lead_count_today": 0,
"lead_count_this_month": 0,
"total_registered_lead_count": 89,
"registered_lead_count_today": 0,
"registered_lead_count_this_month": 0,
"total_payment_lead_count": 45,
"payment_lead_count_today": 0,
"payment_lead_count_this_month": 0,
"schedule": [
{
"id": 18,
"schedule_shift_id": 1597,
"percent": 100,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": null,
"username": null,
"team_id": 14,
"team_name": "NEW CS",
"group_id": null,
"group_name": null,
"schedule_shift": {
"id": 1597,
"schedule_id": 609,
"shift_id": 4,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.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-29T16:17:33.000000Z",
"updated_at": "2024-10-29T16:17:33.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
}
},
"template_schedule_shift_cs_id": 10720
},
{
"id": 19,
"schedule_shift_id": 1597,
"percent": 100,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": null,
"username": null,
"team_id": 14,
"team_name": "NEW CS",
"group_id": null,
"group_name": null,
"schedule_shift": {
"id": 1597,
"schedule_id": 609,
"shift_id": 4,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.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-29T16:17:33.000000Z",
"updated_at": "2024-10-29T16:17:33.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
}
},
"template_schedule_shift_cs_id": 10721
}
]
},
{
"team_name": "HQ CS",
"total_lead_count": 35240,
"lead_count_today": 3,
"lead_count_this_month": 1458,
"total_registered_lead_count": 2342,
"registered_lead_count_today": 0,
"registered_lead_count_this_month": 99,
"total_payment_lead_count": 1097,
"payment_lead_count_today": 0,
"payment_lead_count_this_month": 51,
"schedule": [
{
"id": 2,
"schedule_shift_id": 1597,
"percent": 100,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": "Irfan Mohamad Sukri",
"username": "Evan",
"team_id": 5,
"team_name": "DIAZ",
"group_id": null,
"group_name": null,
"schedule_shift": {
"id": 1597,
"schedule_id": 609,
"shift_id": 4,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.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-29T16:17:33.000000Z",
"updated_at": "2024-10-29T16:17:33.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
}
},
"template_schedule_shift_cs_id": 10711
},
{
"id": 15,
"schedule_shift_id": 1597,
"percent": 0,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": "Tiara Selling",
"username": "Kenzie",
"team_id": 8,
"team_name": "NIKY",
"group_id": null,
"group_name": null,
"schedule_shift": {
"id": 1597,
"schedule_id": 609,
"shift_id": 4,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.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-29T16:17:33.000000Z",
"updated_at": "2024-10-29T16:17:33.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
}
},
"template_schedule_shift_cs_id": 10715
},
{
"id": 12,
"schedule_shift_id": 1597,
"percent": 100,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": "Retha Febrianasari",
"username": "Ara",
"team_id": 7,
"team_name": "ZURI",
"group_id": null,
"group_name": null,
"schedule_shift": {
"id": 1597,
"schedule_id": 609,
"shift_id": 4,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.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-29T16:17:33.000000Z",
"updated_at": "2024-10-29T16:17:33.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
}
},
"template_schedule_shift_cs_id": 10717
},
{
"id": 18,
"schedule_shift_id": 1597,
"percent": 100,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": null,
"username": null,
"team_id": 14,
"team_name": "NEW CS",
"group_id": null,
"group_name": null,
"schedule_shift": {
"id": 1597,
"schedule_id": 609,
"shift_id": 4,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.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-29T16:17:33.000000Z",
"updated_at": "2024-10-29T16:17:33.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
}
},
"template_schedule_shift_cs_id": 10720
},
{
"id": 19,
"schedule_shift_id": 1597,
"percent": 100,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": null,
"username": null,
"team_id": 14,
"team_name": "NEW CS",
"group_id": null,
"group_name": null,
"schedule_shift": {
"id": 1597,
"schedule_id": 609,
"shift_id": 4,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.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-29T16:17:33.000000Z",
"updated_at": "2024-10-29T16:17:33.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
}
},
"template_schedule_shift_cs_id": 10721
},
{
"id": 20,
"schedule_shift_id": 1597,
"percent": 80,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": null,
"username": null,
"team_id": 15,
"team_name": "HQ CS",
"group_id": 32,
"group_name": "HQ Group",
"schedule_shift": {
"id": 1597,
"schedule_id": 609,
"shift_id": 4,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.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-29T16:17:33.000000Z",
"updated_at": "2024-10-29T16:17:33.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
}
},
"template_schedule_shift_cs_id": 10722
},
{
"id": 4,
"schedule_shift_id": 1597,
"percent": 100,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T04:47:37.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 2,
"name": "ajaynursyamsu2211",
"username": "max",
"team_id": 4,
"team_name": "ARIEL",
"group_id": null,
"group_name": null,
"schedule_shift": {
"id": 1597,
"schedule_id": 609,
"shift_id": 4,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.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-29T16:17:33.000000Z",
"updated_at": "2024-10-29T16:17:33.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
}
},
"template_schedule_shift_cs_id": 10710
}
]
},
{
"team_name": "Branch CS 1",
"total_lead_count": 13372,
"lead_count_today": 0,
"lead_count_this_month": 702,
"total_registered_lead_count": 1042,
"registered_lead_count_today": 0,
"registered_lead_count_this_month": 37,
"total_payment_lead_count": 538,
"payment_lead_count_today": 0,
"payment_lead_count_this_month": 22,
"schedule": [
{
"id": 13,
"schedule_shift_id": 1597,
"percent": 100,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": "Fitria Rachmawati Oemardi",
"username": "Yuki",
"team_id": 5,
"team_name": "DIAZ",
"group_id": null,
"group_name": null,
"schedule_shift": {
"id": 1597,
"schedule_id": 609,
"shift_id": 4,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.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-29T16:17:33.000000Z",
"updated_at": "2024-10-29T16:17:33.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
}
},
"template_schedule_shift_cs_id": 10712
},
{
"id": 7,
"schedule_shift_id": 1597,
"percent": 100,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": "eko wicaksono",
"username": "Kia",
"team_id": 16,
"team_name": "Branch CS 1",
"group_id": 33,
"group_name": "Branch Group 1",
"schedule_shift": {
"id": 1597,
"schedule_id": 609,
"shift_id": 4,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.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-29T16:17:33.000000Z",
"updated_at": "2024-10-29T16:17:33.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
}
},
"template_schedule_shift_cs_id": 10716
},
{
"id": 11,
"schedule_shift_id": 1597,
"percent": 100,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": "Devina Dyah",
"username": "zea",
"team_id": 7,
"team_name": "ZURI",
"group_id": null,
"group_name": null,
"schedule_shift": {
"id": 1597,
"schedule_id": 609,
"shift_id": 4,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.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-29T16:17:33.000000Z",
"updated_at": "2024-10-29T16:17:33.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
}
},
"template_schedule_shift_cs_id": 10718
}
]
},
{
"team_name": "Branch CS 2",
"total_lead_count": 10318,
"lead_count_today": 0,
"lead_count_this_month": 517,
"total_registered_lead_count": 877,
"registered_lead_count_today": 0,
"registered_lead_count_this_month": 35,
"total_payment_lead_count": 390,
"payment_lead_count_today": 0,
"payment_lead_count_this_month": 23,
"schedule": [
{
"id": 10,
"schedule_shift_id": 1597,
"percent": 100,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": "Ismi Sofiatul Q.",
"username": "Hana",
"team_id": 4,
"team_name": "ARIEL",
"group_id": null,
"group_name": null,
"schedule_shift": {
"id": 1597,
"schedule_id": 609,
"shift_id": 4,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.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-29T16:17:33.000000Z",
"updated_at": "2024-10-29T16:17:33.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
}
},
"template_schedule_shift_cs_id": 10709
},
{
"id": 17,
"schedule_shift_id": 1597,
"percent": 100,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": "Nashiha Afidah",
"username": "Ryas",
"team_id": 6,
"team_name": "IZZY",
"group_id": null,
"group_name": null,
"schedule_shift": {
"id": 1597,
"schedule_id": 609,
"shift_id": 4,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.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-29T16:17:33.000000Z",
"updated_at": "2024-10-29T16:17:33.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
}
},
"template_schedule_shift_cs_id": 10714
},
{
"id": 19,
"schedule_shift_id": 1597,
"percent": 100,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": null,
"username": null,
"team_id": 14,
"team_name": "NEW CS",
"group_id": null,
"group_name": null,
"schedule_shift": {
"id": 1597,
"schedule_id": 609,
"shift_id": 4,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.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-29T16:17:33.000000Z",
"updated_at": "2024-10-29T16:17:33.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
}
},
"template_schedule_shift_cs_id": 10721
},
{
"id": 21,
"schedule_shift_id": 1597,
"percent": 50,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": null,
"username": null,
"team_id": 17,
"team_name": "Branch CS 2",
"group_id": 35,
"group_name": "Branch Group 2",
"schedule_shift": {
"id": 1597,
"schedule_id": 609,
"shift_id": 4,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.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-29T16:17:33.000000Z",
"updated_at": "2024-10-29T16:17:33.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
}
},
"template_schedule_shift_cs_id": 10723
}
]
},
{
"team_name": "HQ SPV",
"total_lead_count": 1255,
"lead_count_today": 0,
"lead_count_this_month": 34,
"total_registered_lead_count": 84,
"registered_lead_count_today": 0,
"registered_lead_count_this_month": 1,
"total_payment_lead_count": 41,
"payment_lead_count_today": 0,
"payment_lead_count_this_month": 1,
"schedule": [
{
"id": 3,
"schedule_shift_id": 1597,
"percent": 0,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": "dewintan",
"username": "Fita",
"team_id": 6,
"team_name": "IZZY",
"group_id": null,
"group_name": null,
"schedule_shift": {
"id": 1597,
"schedule_id": 609,
"shift_id": 4,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.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-29T16:17:33.000000Z",
"updated_at": "2024-10-29T16:17:33.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
}
},
"template_schedule_shift_cs_id": 10713
}
]
},
{
"team_name": "Branch SPV",
"total_lead_count": 1096,
"lead_count_today": 0,
"lead_count_this_month": 48,
"total_registered_lead_count": 119,
"registered_lead_count_today": 0,
"registered_lead_count_this_month": 3,
"total_payment_lead_count": 55,
"payment_lead_count_today": 0,
"payment_lead_count_this_month": 2,
"schedule": [
{
"id": 9,
"schedule_shift_id": 1597,
"percent": 10,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": "Ms. Rossy Selling",
"username": "Nada",
"team_id": 11,
"team_name": "SPV",
"group_id": null,
"group_name": null,
"schedule_shift": {
"id": 1597,
"schedule_id": 609,
"shift_id": 4,
"is_active": true,
"created_at": "2025-11-19T11:01:47.000000Z",
"updated_at": "2025-11-19T11:01:47.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-29T16:17:33.000000Z",
"updated_at": "2024-10-29T16:17:33.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
}
},
"template_schedule_shift_cs_id": 10719
}
]
}
]
},
"error": ""
}
curl --request POST \
"https://lead-service.devkilc.lcpare.com/api/affiliate/check-phone" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"whatsapp\": \"omnis\"
}"
APIs for managing retrieve lead
The secret key for retrieving lead.
The number whatsapp for retrieving lead
curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/retrieve-lead/token?secret_key=lcokaoke&number_whatsapp=praesentium" \
--header "Content-Type: application/json" \
--header "Accept: application/json" content-type
: application/json
cache-control
: no-cache, private
access-control-allow-origin
: *
{
"success": true,
"message": "success",
"data": {
"secret_key": "lcokaoke",
"number_whatsapp": "praesentium",
"token": "5b85af1d78b153fbb6cd4c944e0f00fb"
},
"error": ""
}
The whatsapp number.
curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/retrieve-lead/clid?whatsapp=628951596034" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"whatsapp\": \"incidunt\"
}"
content-type
: application/json
cache-control
: no-cache, private
access-control-allow-origin
: *
{
"success": false,
"message": "No CLID found for this WhatsApp number within 30 days",
"data": null,
"error": ""
}
curl --request POST \
"https://lead-service.devkilc.lcpare.com/api/qontak/assign-cs" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"room_id\": \"delectus\",
\"phone_number\": \"in\",
\"name\": \"laudantium\"
}"
curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/assign-unassigned-lead" \
--header "Content-Type: application/json" \
--header "Accept: application/json" content-type
: application/json
cache-control
: no-cache, private
access-control-allow-origin
: *
{
"success": false,
"message": "Error Assign Unassigned Lead foreach() argument must be of type array|object, string given",
"data": null,
"error": ""
}
curl --request POST \
"https://lead-service.devkilc.lcpare.com/api/retrieve-lead" \
--header "Authorization: Bearer {Token}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"Akbar Hidayat\",
\"whatsapp\": \"081393597900\",
\"branch_code\": \"PARE\",
\"course_package_name\": \"Basic English\",
\"source\": \"TanyaCs\",
\"email\": \"john@example.com\",
\"period_date\": \"2024-09-01\",
\"registration_id\": 1001,
\"registration_date\": \"2023-09-10 00:00:00\",
\"payment_date\": \"2023-09-15 00:00:00\",
\"cs_id\": \"N0F3ZStvZGxyL202c3FhOFBpUENOdz09OjpwTZypzA8lmuaybr4w4paO\",
\"affiliate\": \"Affiliate XYZ\",
\"description\": \"Interested in advanced course packages.\",
\"utm_source\": \"FB\",
\"utm_medium\": \"\",
\"utm_campaign\": \"PAID\",
\"utm_term\": \"\",
\"utm_content\": \"pare\",
\"clid\": {
\"campaign_id\": \"12345\",
\"ad_group_id\": \"67890\",
\"keyword\": \"belajar bahasa inggris\"
}
}"
curl --request POST \
"https://lead-service.devkilc.lcpare.com/api/update-payment-lead" \
--header "Authorization: Bearer {Token}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"registration_id\": 0,
\"payment_date\": \"2021-08-01\",
\"bank\": \"BCA\",
\"whatsapp\": \"081393597900\"
}"
curl --request POST \
"https://lead-service.devkilc.lcpare.com/api/update-status-bio" \
--header "Authorization: Bearer {Token}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"registration_id\": 0,
\"bio_filled\": true,
\"whatsapp\": \"081393597900\"
}"
curl --request POST \
"https://lead-service.devkilc.lcpare.com/api/select-cs" \
--header "Authorization: Bearer {Token}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"cs_id\": \"consequuntur\",
\"whatsapp\": \"081393597900\",
\"branch_code\": \"PARE\"
}"
APIs for managing schedule
curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/schedule/create-today" \
--header "Content-Type: application/json" \
--header "Accept: application/json" content-type
: application/json
cache-control
: no-cache, private
access-control-allow-origin
: *
{
"success": true,
"message": "Schedule already created today",
"data": [],
"error": ""
}
The page of the list.
The limit of the list.
The date of the schedule.
curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/schedule?page=1&limit=10&date=2021-09-01" \
--header "Content-Type: application/json" \
--header "Accept: application/json" content-type
: application/json
cache-control
: no-cache, private
access-control-allow-origin
: *
{
"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": ""
}
The ID of the schedule.
curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/schedule/156" \
--header "Content-Type: application/json" \
--header "Accept: application/json" content-type
: application/json
cache-control
: no-cache, private
access-control-allow-origin
: *
{
"success": true,
"message": "Detail Schedule",
"data": {
"id": 156,
"created_at": "2024-09-18T09:54:02.000000Z",
"updated_at": "2024-09-18T09:54:02.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"updated_by_name": "system",
"schedule_shift": [
{
"id": 309,
"schedule_id": 156,
"shift_id": 1,
"is_active": true,
"created_at": "2024-09-18T09:54:02.000000Z",
"updated_at": "2024-09-18T09:54:02.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"shift": {
"id": 1,
"name": "Tes",
"start_time": "00:00:00",
"end_time": "13:59:00",
"created_at": "2024-09-02T08:51:56.000000Z",
"updated_at": "2024-10-07T14:11:12.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "5cb9b47b-8da5-47dd-98fb-92b2fff31476",
"deleted_by": null
},
"schedule_shift_cs_with_customer_service": [
{
"id": 4,
"schedule_shift_id": 309,
"percent": 10,
"is_active": true,
"created_at": "2024-09-18T09:54:02.000000Z",
"updated_at": "2024-09-18T09:54:02.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": "ajaynursyamsu2211",
"username": "max",
"team_id": 15,
"team_name": "HQ CS",
"group_id": 32,
"group_name": "HQ Group",
"template_schedule_shift_cs_id": 568
},
{
"id": 2,
"schedule_shift_id": 309,
"percent": 10,
"is_active": true,
"created_at": "2024-09-18T09:54:02.000000Z",
"updated_at": "2024-09-18T09:54:02.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": "Irfan Mohamad Sukri",
"username": "Evan",
"team_id": 15,
"team_name": "HQ CS",
"group_id": 32,
"group_name": "HQ Group",
"template_schedule_shift_cs_id": 569
},
{
"id": 3,
"schedule_shift_id": 309,
"percent": 10,
"is_active": true,
"created_at": "2024-09-18T09:54:02.000000Z",
"updated_at": "2024-09-18T09:54:02.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": "dewintan",
"username": "Fita",
"team_id": 18,
"team_name": "HQ SPV",
"group_id": 32,
"group_name": "HQ Group",
"template_schedule_shift_cs_id": 570
},
{
"id": 11,
"schedule_shift_id": 309,
"percent": 0,
"is_active": true,
"created_at": "2024-09-18T09:54:02.000000Z",
"updated_at": "2024-09-18T09:54:02.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": "Devina Dyah",
"username": "zea",
"team_id": 16,
"team_name": "Branch CS 1",
"group_id": 33,
"group_name": "Branch Group 1",
"template_schedule_shift_cs_id": 571
}
]
},
{
"id": 310,
"schedule_id": 156,
"shift_id": 2,
"is_active": true,
"created_at": "2024-09-18T09:54:02.000000Z",
"updated_at": "2024-09-18T09:54:02.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"shift": {
"id": 2,
"name": "Sore",
"start_time": "14:00:00",
"end_time": "23:59:00",
"created_at": "2024-09-02T11:14:00.000000Z",
"updated_at": "2024-10-03T15:29:46.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": 10,
"schedule_shift_id": 310,
"percent": 20,
"is_active": true,
"created_at": "2024-09-18T09:54:02.000000Z",
"updated_at": "2024-09-18T09:54:02.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"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": 572
},
{
"id": 13,
"schedule_shift_id": 310,
"percent": 10,
"is_active": true,
"created_at": "2024-09-18T09:54:02.000000Z",
"updated_at": "2024-09-18T09:54:02.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"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": 573
},
{
"id": 5,
"schedule_shift_id": 310,
"percent": 30,
"is_active": true,
"created_at": "2024-09-18T09:54:02.000000Z",
"updated_at": "2024-09-18T09:54:02.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": "izanugroho92",
"username": "ryas",
"team_id": 13,
"team_name": "Retired CS",
"group_id": 29,
"group_name": "Retired Group CS",
"template_schedule_shift_cs_id": 574
},
{
"id": 12,
"schedule_shift_id": 310,
"percent": 100,
"is_active": true,
"created_at": "2024-09-18T09:54:02.000000Z",
"updated_at": "2024-09-18T09:54:02.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": "Retha Febrianasari",
"username": "Ara",
"team_id": 15,
"team_name": "HQ CS",
"group_id": 32,
"group_name": "HQ Group",
"template_schedule_shift_cs_id": 575
}
]
}
]
},
"error": ""
}
The ID of the schedule.
curl --request PUT \
"https://lead-service.devkilc.lcpare.com/api/schedule/156" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"schedule_shifts\": [
{
\"id\": 5,
\"is_active\": false,
\"customer_services\": [
{
\"id\": 12,
\"percent\": 18,
\"is_active\": true,
\"counter\": 18
}
]
}
]
}"
APIs for managing setting
curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/setting" \
--header "Content-Type: application/json" \
--header "Accept: application/json" content-type
: application/json
cache-control
: no-cache, private
access-control-allow-origin
: *
{
"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-30T09:35:06.000000Z",
"updated_at": "2024-09-16T09:59:01.000000Z",
"cs_time_create": "00:00",
"user_initiate": true
},
"error": ""
}
curl --request POST \
"https://lead-service.devkilc.lcpare.com/api/setting" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"max_cs_per_team\": 10,
\"max_days_lead\": 10,
\"cs_time_create\": \"00:00:00\"
}"
The ID of the setting.
curl --request PUT \
"https://lead-service.devkilc.lcpare.com/api/setting/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"max_cs_per_team\": 10,
\"max_days_lead\": 10,
\"cs_time_create\": \"00:00:00\"
}"
APIs for managing shift
The page of the list.
The limit of the list.
The search query.
curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/shift?page=1&limit=10&q=John" \
--header "Content-Type: application/json" \
--header "Accept: application/json" content-type
: application/json
cache-control
: no-cache, private
access-control-allow-origin
: *
{
"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": ""
}
curl --request POST \
"https://lead-service.devkilc.lcpare.com/api/shift" \
--header "Authorization: Bearer { BEARER_TOKEN }" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"rerum\",
\"start_time\": \"consequatur\",
\"end_time\": \"ducimus\"
}"
The ID of the shift.
curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/shift/2" \
--header "Content-Type: application/json" \
--header "Accept: application/json" content-type
: application/json
cache-control
: no-cache, private
access-control-allow-origin
: *
{
"success": true,
"message": "Shift detail",
"data": {
"id": 2,
"name": "Sore",
"start_time": "14:00:00",
"end_time": "23:59:00",
"created_at": "2024-09-02T11:14:00.000000Z",
"updated_at": "2024-10-03T15:29:46.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
},
"error": ""
}
The ID of the shift.
curl --request PUT \
"https://lead-service.devkilc.lcpare.com/api/shift/2" \
--header "Authorization: Bearer { BEARER_TOKEN }" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"mollitia\",
\"start_time\": \"possimus\",
\"end_time\": \"quaerat\"
}"
The ID of the shift.
curl --request DELETE \
"https://lead-service.devkilc.lcpare.com/api/shift/2" \
--header "Authorization: Bearer { BEARER_TOKEN }" \
--header "Content-Type: application/json" \
--header "Accept: application/json" APIs for managing template schedule
The page of the list.
The limit of the list.
The search query.
curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/template-schedule?page=1&limit=10&q=All+Shift" \
--header "Content-Type: application/json" \
--header "Accept: application/json" content-type
: application/json
cache-control
: no-cache, private
access-control-allow-origin
: *
{
"success": true,
"message": "1",
"data": {
"current_page": 1,
"data": [
{
"id": 7,
"name": "All Shift",
"created_at": "2025-05-08T09:25:34.000000Z",
"updated_at": "2025-10-27T11: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": ""
}
curl --request POST \
"https://lead-service.devkilc.lcpare.com/api/template-schedule" \
--header "Authorization: Bearer { BEARER_TOKEN }" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"voluptates\",
\"shifts\": [
{
\"id\": 12,
\"customer_services\": [
{
\"id\": 7,
\"percent\": 1
}
]
}
]
}"
The ID of the template schedule.
curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/template-schedule/3" \
--header "Content-Type: application/json" \
--header "Accept: application/json" content-type
: application/json
cache-control
: no-cache, private
access-control-allow-origin
: *
{
"success": true,
"message": "Success get detail template schedule",
"data": {
"id": 3,
"name": "Daily",
"created_at": "2024-09-18T08:49:56.000000Z",
"updated_at": "2024-10-09T16: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-21T12:27:47.000000Z",
"updated_at": "2024-09-21T12: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-02T08:51:56.000000Z",
"updated_at": "2024-10-07T14: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-21T12:27:47.000000Z",
"updated_at": "2024-09-21T12: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-21T12:27:47.000000Z",
"updated_at": "2024-09-21T12:27:47.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"name": "Irfan Mohamad Sukri",
"username": "Evan",
"team_id": 15,
"officer_id": 247,
"team_name": "HQ CS",
"group_id": 32,
"group_name": "HQ Group",
"template_schedule_shift_cs_id": 34
},
{
"id": 3,
"customer_service_id": 3,
"template_schedule_shift_id": 14,
"percent": 10,
"created_at": "2024-09-21T12:27:47.000000Z",
"updated_at": "2024-09-21T12:27:47.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"name": "dewintan",
"username": "Fita",
"team_id": 18,
"officer_id": 61,
"team_name": "HQ SPV",
"group_id": 32,
"group_name": "HQ Group",
"template_schedule_shift_cs_id": 35
},
{
"id": 11,
"customer_service_id": 11,
"template_schedule_shift_id": 14,
"percent": 0,
"created_at": "2024-09-21T12:27:47.000000Z",
"updated_at": "2024-09-21T12:27:47.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"name": "Devina Dyah",
"username": "zea",
"team_id": 16,
"officer_id": 48,
"team_name": "Branch CS 1",
"group_id": 33,
"group_name": "Branch Group 1",
"template_schedule_shift_cs_id": 36
},
{
"id": 14,
"customer_service_id": 14,
"template_schedule_shift_id": 14,
"percent": 10,
"created_at": "2024-09-21T12:27:47.000000Z",
"updated_at": "2024-09-21T12:27:47.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null,
"name": "Team IT",
"username": "IT IT",
"team_id": null,
"officer_id": 1,
"team_name": null,
"group_id": null,
"group_name": null,
"template_schedule_shift_cs_id": 37
}
]
},
{
"id": 15,
"template_schedule_id": 3,
"shift_id": 2,
"created_at": "2024-09-21T12:27:47.000000Z",
"updated_at": "2024-09-21T12: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-02T11:14:00.000000Z",
"updated_at": "2024-10-03T15: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-21T12:27:47.000000Z",
"updated_at": "2024-09-21T12: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-21T12:27:47.000000Z",
"updated_at": "2024-09-21T12: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-21T12:27:47.000000Z",
"updated_at": "2024-09-21T12: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-21T12:27:47.000000Z",
"updated_at": "2024-09-21T12: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-21T12:27:47.000000Z",
"updated_at": "2024-09-21T12: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": "jeje",
"team_id": 12,
"officer_id": 44,
"team_name": "Frontline",
"group_id": 32,
"group_name": "HQ Group",
"template_schedule_shift_cs_id": 42
}
]
}
]
},
"error": ""
}
The ID of the template schedule.
curl --request PUT \
"https://lead-service.devkilc.lcpare.com/api/template-schedule/3" \
--header "Authorization: Bearer { BEARER_TOKEN }" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"fuga\",
\"shifts\": [
{
\"id\": 8,
\"customer_services\": [
{
\"id\": 7,
\"percent\": 0
}
]
}
]
}"
The ID of the template schedule.
curl --request DELETE \
"https://lead-service.devkilc.lcpare.com/api/template-schedule/3" \
--header "Authorization: Bearer { BEARER_TOKEN }" \
--header "Content-Type: application/json" \
--header "Accept: application/json" The ID of the template schedule.
curl --request PUT \
"https://lead-service.devkilc.lcpare.com/api/template-schedule/1/set-active" \
--header "Authorization: Bearer { BEARER_TOKEN }" \
--header "Content-Type: application/json" \
--header "Accept: application/json"