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\": 3,
\"cs_channel\": [
{
\"cs_channel_id\": 5,
\"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": 1,
"channel_id": "Sleekflow",
"name": "Sleekflow",
"description": "{\"sleekflow_staff_id\":\"3123212321\"}",
"is_active": false,
"requirement": "{\"qontak_staff_id\": \"839db10c-8311-482b-873f-5008a0ce5d53\"}"
},
{
"id": 2,
"channel_id": "Qontak",
"name": "Qontak",
"description": "{\"qontak_staff_id\" : \"132321231\"}",
"is_active": true,
"requirement": "{\"qontak_staff_id\": \"839db10c-8311-482b-873f-5008a0ce5d53\"}"
}
]
},
"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\": 17,
\"is_active\": false,
\"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-25T01:31:51.000000Z",
"updated_at": "2025-06-25T01: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-20T19:12:57.000000Z",
"updated_at": "2025-08-20T19: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-29T12:47:53.862000Z",
"updated_at": "2024-09-03T03: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-20T19:12:57.000000Z",
"updated_at": "2025-08-20T19: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-20T21:29:01.000000Z",
"updated_at": "2024-09-20T21: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-07T23:57:39.000000Z",
"updated_at": "2024-10-29T17: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-26T20:03:16.000000Z",
"updated_at": "2025-09-26T20: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-07T23:57:00.000000Z",
"updated_at": "2024-10-29T17: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-17T18:50:30.000000Z",
"updated_at": "2025-08-17T18: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-07T23:56:13.000000Z",
"updated_at": "2024-10-29T17: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-20T19:12:57.000000Z",
"updated_at": "2025-08-20T19: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-17T09:18:45.000000Z",
"updated_at": "2024-10-29T17: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-15T18:46:32.000000Z",
"updated_at": "2025-07-15T18: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-29T12:47:53.862000Z",
"updated_at": "2024-10-29T17: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-15T18:46:32.000000Z",
"updated_at": "2025-07-15T18: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-29T12:47:53.862000Z",
"updated_at": "2024-10-29T17: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-15T18:48:15.000000Z",
"updated_at": "2025-07-15T18: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-29T12:47:53.862000Z",
"updated_at": "2024-10-29T17: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-15T18:46:32.000000Z",
"updated_at": "2025-07-15T18: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-29T12:47:53.862000Z",
"updated_at": "2024-10-29T17: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-20T19:12:57.000000Z",
"updated_at": "2025-08-20T19: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-29T12:47:53.862000Z",
"updated_at": "2024-10-29T17: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-15T18:47:59.000000Z",
"updated_at": "2025-07-15T18: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-29T12:47:53.862000Z",
"updated_at": "2024-10-29T17: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-20T19:12:57.000000Z",
"updated_at": "2025-08-20T19: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-29T12:47:53.862000Z",
"updated_at": "2024-10-31T20: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-07T20:15:35.000000Z",
"updated_at": "2025-10-07T20: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-29T12:47:53.862000Z",
"updated_at": "2024-10-31T20: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-17T18:50:30.000000Z",
"updated_at": "2025-08-17T18: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-29T12:47:53.861000Z",
"updated_at": "2024-11-05T13: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-07T20:15:35.000000Z",
"updated_at": "2025-10-07T20: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-29T12:47:53.862000Z",
"updated_at": "2024-12-15T04: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-26T20:03:16.000000Z",
"updated_at": "2025-09-26T20: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-29T12:47:53.862000Z",
"updated_at": "2025-02-11T23: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-17T18:50:30.000000Z",
"updated_at": "2025-08-17T18: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-25T01:31:51.000000Z",
"updated_at": "2025-06-25T01: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-20T19:12:57.000000Z",
"updated_at": "2025-08-20T19: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-25T01:32:49.000000Z",
"updated_at": "2025-06-25T01: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-20T19:12:57.000000Z",
"updated_at": "2025-08-20T19: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-19T23:03:30.000000Z",
"updated_at": "2025-08-19T23: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-20T19:12:57.000000Z",
"updated_at": "2025-08-20T19: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-25T22:02:57.000000Z",
"updated_at": "2025-09-25T22: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-26T20:03:16.000000Z",
"updated_at": "2025-09-26T20: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-29T12:47:53.862000Z",
"updated_at": "2024-09-03T03: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-20T19:12:57.000000Z",
"updated_at": "2025-08-20T19: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-20T21:29:01.000000Z",
"updated_at": "2024-09-20T21: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-07T23:57:39.000000Z",
"updated_at": "2024-10-29T17: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-26T20:03:16.000000Z",
"updated_at": "2025-09-26T20: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-07T23:57:00.000000Z",
"updated_at": "2024-10-29T17: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-17T18:50:30.000000Z",
"updated_at": "2025-08-17T18: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-07T23:56:13.000000Z",
"updated_at": "2024-10-29T17: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-20T19:12:57.000000Z",
"updated_at": "2025-08-20T19: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-17T09:18:45.000000Z",
"updated_at": "2024-10-29T17: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-15T18:46:32.000000Z",
"updated_at": "2025-07-15T18: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-29T12:47:53.862000Z",
"updated_at": "2024-10-29T17: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-15T18:46:32.000000Z",
"updated_at": "2025-07-15T18: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-29T12:47:53.862000Z",
"updated_at": "2024-10-29T17: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-15T18:48:15.000000Z",
"updated_at": "2025-07-15T18: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-29T12:47:53.862000Z",
"updated_at": "2024-10-29T17: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-15T18:46:32.000000Z",
"updated_at": "2025-07-15T18: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-29T12:47:53.862000Z",
"updated_at": "2024-10-29T17: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-20T19:12:57.000000Z",
"updated_at": "2025-08-20T19: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-29T12:47:53.862000Z",
"updated_at": "2024-10-29T17: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-15T18:47:59.000000Z",
"updated_at": "2025-07-15T18: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-29T12:47:53.862000Z",
"updated_at": "2024-10-29T17: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-20T19:12:57.000000Z",
"updated_at": "2025-08-20T19: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-29T12:47:53.862000Z",
"updated_at": "2024-10-31T20: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-07T20:15:35.000000Z",
"updated_at": "2025-10-07T20: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-29T12:47:53.862000Z",
"updated_at": "2024-10-31T20: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-17T18:50:30.000000Z",
"updated_at": "2025-08-17T18: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-29T12:47:53.861000Z",
"updated_at": "2024-11-05T13: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-07T20:15:35.000000Z",
"updated_at": "2025-10-07T20: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-29T12:47:53.862000Z",
"updated_at": "2024-12-15T04: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-26T20:03:16.000000Z",
"updated_at": "2025-09-26T20: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-29T12:47:53.862000Z",
"updated_at": "2025-02-11T23: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-17T18:50:30.000000Z",
"updated_at": "2025-08-17T18: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-25T01:31:51.000000Z",
"updated_at": "2025-06-25T01: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-20T19:12:57.000000Z",
"updated_at": "2025-08-20T19: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-25T01:32:49.000000Z",
"updated_at": "2025-06-25T01: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-20T19:12:57.000000Z",
"updated_at": "2025-08-20T19: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-19T23:03:30.000000Z",
"updated_at": "2025-08-19T23: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-20T19:12:57.000000Z",
"updated_at": "2025-08-20T19: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-25T22:02:57.000000Z",
"updated_at": "2025-09-25T22: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-26T20:03:16.000000Z",
"updated_at": "2025-09-26T20: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": 10,
"channel_id": "haloai",
"name": "Halo AI",
"description": "{\"haloai_staff_id\" : \"132321231\"}",
"is_active": true,
"created_at": "2026-01-24T02:59:27.091685Z",
"updated_at": "2024-08-29T12:47:53.862000Z",
"deleted_at": null,
"created_by": "SYSTEM (query)",
"updated_by": null,
"deleted_by": null
},
{
"id": 9,
"channel_id": "onesender",
"name": "One Sender",
"description": "{\"onesender_staff_id\":\"3123212321\", \"unique_id\":\"wa5799\"}",
"is_active": true,
"created_at": "2025-04-16T20:47:19.000000Z",
"updated_at": "2025-04-17T01: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-12T02:38:15.000000Z",
"updated_at": "2025-04-16T20: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": 10,
"channel_id": "haloai",
"name": "Halo AI",
"description": "{\"haloai_staff_id\" : \"132321231\"}",
"is_active": true,
"created_at": "2026-01-24T02:59:27.091685Z",
"updated_at": "2024-08-29T12:47:53.862000Z",
"deleted_at": null,
"created_by": "SYSTEM (query)",
"updated_by": null,
"deleted_by": null
},
{
"id": 9,
"channel_id": "onesender",
"name": "One Sender",
"description": "{\"onesender_staff_id\":\"3123212321\", \"unique_id\":\"wa5799\"}",
"is_active": true,
"created_at": "2025-04-16T20:47:19.000000Z",
"updated_at": "2025-04-17T01: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-12T02:42:27.000000Z",
"updated_at": "2025-04-16T20: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-12T02:38:15.000000Z",
"updated_at": "2025-04-16T20: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-30T07:22:52.000000Z",
"updated_at": "2025-04-16T20: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\": \"Et veritatis qui provident rerum et quae dolorem facilis.\"
}"
The ID of the cs channel.
curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/cs-channel/10" \
--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": 10,
"channel_id": "haloai",
"name": "Halo AI",
"description": "{\"haloai_staff_id\" : \"132321231\"}",
"is_active": true,
"created_at": "2026-01-24T02:59:27.091685Z",
"updated_at": "2024-08-29T12:47:53.862000Z",
"deleted_at": null,
"created_by": "SYSTEM (query)",
"updated_by": null,
"deleted_by": null
},
"error": ""
}
The ID of the cs channel.
curl --request PUT \
"https://lead-service.devkilc.lcpare.com/api/cs-channel/10" \
--header "Authorization: Bearer { BEARER_TOKEN }" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"description\": \"Non consequatur sint non quia sit.\"
}"
curl --request PUT \
"https://lead-service.devkilc.lcpare.com/api/cs-channel/10/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=molestias" \
--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\": \"exercitationem\",
\"branches\": [
{
\"is_active\": true
}
],
\"teams\": [
{
\"is_active\": true
}
]
}"
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-15T18:54:07.000000Z",
"updated_at": "2025-07-15T18: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-15T18:47:32.000000Z",
"updated_at": "2025-07-15T18: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-15T18:54:07.000000Z",
"updated_at": "2025-11-05T10:07:13.000000Z"
}
},
{
"id": 19,
"name": "Branch SPV",
"created_at": "2025-07-15T18:48:15.000000Z",
"updated_at": "2025-07-15T18: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-04T18:03:39.000000Z",
"updated_at": "2025-11-05T10: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-15T18:54:07.000000Z",
"updated_at": "2025-11-05T10: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-15T18:54:07.000000Z",
"updated_at": "2025-11-05T10: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-15T18:54:07.000000Z",
"updated_at": "2025-11-05T10: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-15T18:54:07.000000Z",
"updated_at": "2025-11-05T10: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-15T18:54:07.000000Z",
"updated_at": "2025-11-05T10:07:13.000000Z"
}
},
{
"branch_id": 14,
"branch_uid": "8843541a-cb6a-4f7d-be4f-0420a9587321",
"code": "JOGJA GONDOKUSUMAN",
"name_branch": "JOGJA GONDOKUSUMAN - JOGJA",
"img_url": "branches/fAeWWbd2rfP4bCENm3iN2QO7l46gbbBofQXwWgYP.png",
"status": 1,
"created_at": "2025-10-18T02:01:39.000000Z",
"updated_at": "2025-10-18T02:12:13.000000Z",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"pivot": {
"cs_group_id": 35,
"branch_id": 14,
"is_active": true,
"created_by": null,
"updated_by": null,
"deleted_by": null,
"created_at": "2025-11-05T10:07:13.000000Z",
"updated_at": "2025-11-05T10: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\": \"placeat\",
\"branches\": [
{
\"is_active\": true
}
],
\"teams\": [
{
\"is_active\": false
}
]
}"
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\": \"asperiores\",
\"customer_service\": [
{
\"id\": 11
}
]
}"
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-11T23:33:12.000000Z",
"updated_at": "2025-02-11T23: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\": \"sapiente\",
\"customer_service\": [
{
\"id\": 2,
\"is_active\": false,
\"channel_requirement\": [
{
\"id\": 5,
\"is_active\": false
}
]
}
]
}"
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 GET \
--get "https://lead-service.devkilc.lcpare.com/api/qontak/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": true,
"message": "Assign Unassigned Lead",
"data": [
{
"id": "d993f6d2-dd8d-4e30-be56-cdb14a8adda9",
"name": "ムハマドリドミカイル",
"description": "",
"status": "unassigned",
"type": "Models::CustomerServiceRoom",
"tags": [],
"channel": "wa_cloud",
"channel_account": "Kampung Inggris LC",
"organization_id": "98396864-cb99-48a0-a630-4a25351e04cd",
"account_uniq_id": "628988476789",
"channel_integration_id": "0b7c0443-e008-460c-8379-d8f57982a4c8",
"session_at": "2026-04-15T03:50:42.000Z",
"unread_count": 1,
"created_at": "2026-04-15T03:50:43.281Z",
"last_message_at": "2026-04-15T04:13:12.316Z",
"last_activity_at": "2026-04-15T04:13:12.316Z",
"updated_at": "2026-04-15T03:50:43.281Z",
"avatar": {
"url": "https://cdn.qontak.com/uploads/user/avatar/bf328531-ffc9-4f93-a7f4-f2f707970e7c/RackMultipart20250109-23-1nwxfje.png",
"large": {
"url": "https://cdn.qontak.com/uploads/user/avatar/bf328531-ffc9-4f93-a7f4-f2f707970e7c/RackMultipart20250109-23-1nwxfje.png"
},
"filename": null,
"size": 0,
"small": {
"url": "https://cdn.qontak.com/uploads/user/avatar/bf328531-ffc9-4f93-a7f4-f2f707970e7c/RackMultipart20250109-23-1nwxfje.png"
},
"medium": {
"url": "https://cdn.qontak.com/uploads/user/avatar/bf328531-ffc9-4f93-a7f4-f2f707970e7c/RackMultipart20250109-23-1nwxfje.png"
}
},
"resolved_at": null,
"external_id": "",
"resolved_by_id": null,
"resolved_by_type": null,
"note": {
"text": ""
},
"extra": {
"is_participant_online": false
},
"last_message": {
"id": "0dbed1c4-79a6-40c2-a078-00cf30d9d1bc",
"type": "text",
"room_id": "d993f6d2-dd8d-4e30-be56-cdb14a8adda9",
"is_campaign": true,
"sender_id": "2fcf11ac-5d78-475a-9000-fea426e3c270",
"sender_type": "Models::SystemAccount",
"participant_id": "a7b3eb72-264a-431e-9be0-5297aad8e337",
"participant_type": "bot",
"organization_id": "98396864-cb99-48a0-a630-4a25351e04cd",
"text": "Halo Kak MUHAMMAD RIDHO MIKAIL\n\nTerima kasih telah mengisi form konsultasi dengan CS di Kampung Inggris LC Cabang melalui FB\nPaket : INTENSIVE\nCabang : BEKASI\n\nAgar kami bisa memberikan informasi yang lebih sesuai, bolehkah Kakak ceritakan kesibukan saat ini apa? 😊",
"status": "created",
"external_id": "wamid.HBgMNjI4OTg4NDc2Nzg5FQIAERgSNEFEOENCNEIyOEU4MDE5OEYxAA==",
"local_id": null,
"created_at": "2026-04-15T04:13:12.316Z",
"is_edited": false,
"review_star": 0
},
"is_blocked": false,
"agent_ids": [],
"email_cc": [],
"is_unresponded": true,
"call_permission_request": null,
"ext_user_id": null,
"ext_username": null,
"ext_parent_user_id": null
},
{
"id": "5c0284e3-0de3-4835-b4f1-4f5838c078f8",
"name": "Dina Udiank",
"description": "",
"status": "unassigned",
"type": "Models::CustomerServiceRoom",
"tags": [],
"channel": "wa_cloud",
"channel_account": "Kampung Inggris LC",
"organization_id": "98396864-cb99-48a0-a630-4a25351e04cd",
"account_uniq_id": "6285263177795",
"channel_integration_id": "0b7c0443-e008-460c-8379-d8f57982a4c8",
"session_at": "2026-04-15T03:27:41.000Z",
"unread_count": 1,
"created_at": "2026-04-15T03:27:42.222Z",
"last_message_at": "2026-04-15T03:27:43.460Z",
"last_activity_at": "2026-04-15T03:27:43.460Z",
"updated_at": "2026-04-15T03:27:42.222Z",
"avatar": {
"url": "https://cdn.qontak.com/uploads/user/avatar/bf328531-ffc9-4f93-a7f4-f2f707970e7c/RackMultipart20250109-23-1nwxfje.png",
"large": {
"url": "https://cdn.qontak.com/uploads/user/avatar/bf328531-ffc9-4f93-a7f4-f2f707970e7c/RackMultipart20250109-23-1nwxfje.png"
},
"filename": null,
"size": 0,
"small": {
"url": "https://cdn.qontak.com/uploads/user/avatar/bf328531-ffc9-4f93-a7f4-f2f707970e7c/RackMultipart20250109-23-1nwxfje.png"
},
"medium": {
"url": "https://cdn.qontak.com/uploads/user/avatar/bf328531-ffc9-4f93-a7f4-f2f707970e7c/RackMultipart20250109-23-1nwxfje.png"
}
},
"resolved_at": null,
"external_id": "",
"resolved_by_id": null,
"resolved_by_type": null,
"note": {
"text": ""
},
"extra": {
"is_participant_online": false
},
"last_message": {
"id": "53bb2cf5-38b5-4189-956a-90885f976270",
"type": "text",
"room_id": "5c0284e3-0de3-4835-b4f1-4f5838c078f8",
"is_campaign": false,
"sender_id": "2fcf11ac-5d78-475a-9000-fea426e3c270",
"sender_type": "Models::SystemAccount",
"participant_id": "0c36dbee-9809-44a6-95b3-0be6c8e919f2",
"participant_type": "bot",
"organization_id": "98396864-cb99-48a0-a630-4a25351e04cd",
"text": "Halo kak 👋\n\nTerima kasih telah menghubungi Language Center. Mohon kesediaannya untuk menunggu, tim kami akan segera membalas pesan kakak 😊",
"status": "created",
"external_id": null,
"local_id": null,
"created_at": "2026-04-15T03:27:43.460Z",
"is_edited": false,
"review_star": 0
},
"is_blocked": false,
"agent_ids": [],
"email_cc": [],
"is_unresponded": true,
"call_permission_request": null,
"ext_user_id": null,
"ext_username": null,
"ext_parent_user_id": null
},
{
"id": "c2b36f53-e2d9-4222-94c4-5abf92f31529",
"name": "Dhafin Nugraha",
"description": "",
"status": "unassigned",
"type": "Models::CustomerServiceRoom",
"tags": [],
"channel": "wa_cloud",
"channel_account": "Kampung Inggris LC",
"organization_id": "98396864-cb99-48a0-a630-4a25351e04cd",
"account_uniq_id": "628211907795",
"channel_integration_id": "0b7c0443-e008-460c-8379-d8f57982a4c8",
"session_at": "2026-04-09T08:32:35.000Z",
"unread_count": 0,
"created_at": "2026-04-09T06:58:21.385Z",
"last_message_at": "2026-04-09T08:32:35.000Z",
"last_activity_at": "2026-04-09T08:35:30.103Z",
"updated_at": "2026-04-09T06:58:21.385Z",
"avatar": {
"url": "https://cdn.qontak.com/uploads/user/avatar/bf328531-ffc9-4f93-a7f4-f2f707970e7c/RackMultipart20250109-23-1nwxfje.png",
"large": {
"url": "https://cdn.qontak.com/uploads/user/avatar/bf328531-ffc9-4f93-a7f4-f2f707970e7c/RackMultipart20250109-23-1nwxfje.png"
},
"filename": null,
"size": 0,
"small": {
"url": "https://cdn.qontak.com/uploads/user/avatar/bf328531-ffc9-4f93-a7f4-f2f707970e7c/RackMultipart20250109-23-1nwxfje.png"
},
"medium": {
"url": "https://cdn.qontak.com/uploads/user/avatar/bf328531-ffc9-4f93-a7f4-f2f707970e7c/RackMultipart20250109-23-1nwxfje.png"
}
},
"resolved_at": null,
"external_id": "",
"resolved_by_id": null,
"resolved_by_type": null,
"note": {
"text": ""
},
"extra": {
"is_participant_online": false
},
"last_message": {
"id": "5f55c03a-be5d-4b44-886d-43b95150f9a8",
"type": "text",
"room_id": "c2b36f53-e2d9-4222-94c4-5abf92f31529",
"is_campaign": false,
"sender_id": "264cf91f-d333-4d0e-b529-44721191a434",
"sender_type": "Models::Contact",
"participant_id": "60bf23b8-e0d4-4012-9422-ae3c9d908f75",
"participant_type": "customer",
"organization_id": "98396864-cb99-48a0-a630-4a25351e04cd",
"text": "boleh diberitahu kak mengenai alasan kenapa tidak melakukan perpanjangannya",
"status": "created",
"external_id": "wamid.HBgMNjI4MjExOTA3Nzk1FQIAEhgWM0VCMDBFNUYwMzlFN0QxOUMwRDZDQQA=",
"local_id": null,
"created_at": "2026-04-09T08:32:35.000Z",
"is_edited": false,
"review_star": 0
},
"is_blocked": true,
"agent_ids": [],
"email_cc": [],
"is_unresponded": false,
"call_permission_request": null,
"ext_user_id": null,
"ext_username": null,
"ext_parent_user_id": 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\": \"optio\",
\"phone_number\": \"doloremque\",
\"name\": \"ipsa\"
}"
curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/qontak/retrieve-tags" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/qontak/initiate-message" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/qontak/initiate-message-at-morning" \
--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=reprehenderit&lead_history_name=delectus&email=elnora12%40example.org&whatsapp=omnis&course_package_name=sint&bank=veniam®istration_id=earum&utm_campaign=quis&utm_source=dolores&utm_medium=dicta&utm_content=a&clid=et&response_info=ut&source=voluptates&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\": 1
}"
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-17T10: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-17T20: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=sunt&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/373829" \
--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": 373829,
"created_at": "2025-11-24T07:42:18.000000Z",
"name": "Dev tes IT",
"email": "dev@example.com",
"whatsapp": "6289515960033",
"histories": [
{
"id": 464911,
"created_at": "2025-11-24T07:42:21.000000Z",
"history_name": "Dev tes IT",
"course_package_name": "Paket Belajar ESP",
"branch_name": "PARE - JATIM",
"category_name": "LC OFFLINE",
"registration_date": null,
"payment_date": null,
"registration_number": null,
"period_date": null,
"bank": null,
"status_name": "NEW LEAD",
"cs_name": "ajaynursyamsu2211",
"cs_team_name": "HQ CS",
"cs_group_name": "HQ Group",
"utm_campaign": null,
"utm_source": null,
"utm_medium": null,
"utm_content": null,
"clid": "{\"id\":\"123\",\"source\":\"tt_ads\"}",
"response_info": null,
"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": 464947,
"lead_count_today": 1,
"lead_count_yesterday": 4,
"lead_count_this_month": 25,
"lead_count_last_month": 42,
"total_registered_lead_count": 51869,
"registered_lead_count_today": 0,
"registered_lead_count_yesterday": 0,
"registered_lead_count_this_month": 0,
"registered_lead_count_last_month": 0,
"total_payment_lead_count": 29532,
"payment_lead_count_today": 0,
"payment_lead_count_yesterday": 0,
"payment_lead_count_this_month": 0,
"payment_lead_count_last_month": 0
},
"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": []
},
{
"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": []
},
{
"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": []
},
{
"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": []
},
{
"team_name": "NIKY",
"total_lead_count": 26543,
"lead_count_today": 0,
"lead_count_this_month": 0,
"total_registered_lead_count": 2287,
"registered_lead_count_today": 0,
"registered_lead_count_this_month": 0,
"total_payment_lead_count": 1474,
"payment_lead_count_today": 0,
"payment_lead_count_this_month": 0,
"schedule": []
},
{
"team_name": "Unknown",
"total_lead_count": 8930,
"lead_count_today": 0,
"lead_count_this_month": 0,
"total_registered_lead_count": 828,
"registered_lead_count_today": 0,
"registered_lead_count_this_month": 0,
"total_payment_lead_count": 485,
"payment_lead_count_today": 0,
"payment_lead_count_this_month": 0,
"schedule": []
},
{
"team_name": "SPV",
"total_lead_count": 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": []
},
{
"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": 0,
"total_registered_lead_count": 255,
"registered_lead_count_today": 0,
"registered_lead_count_this_month": 0,
"total_payment_lead_count": 101,
"payment_lead_count_today": 0,
"payment_lead_count_this_month": 0,
"schedule": []
},
{
"team_name": "NEW CS",
"total_lead_count": 884,
"lead_count_today": 0,
"lead_count_this_month": 0,
"total_registered_lead_count": 89,
"registered_lead_count_today": 0,
"registered_lead_count_this_month": 0,
"total_payment_lead_count": 45,
"payment_lead_count_today": 0,
"payment_lead_count_this_month": 0,
"schedule": []
},
{
"team_name": "HQ CS",
"total_lead_count": 35289,
"lead_count_today": 0,
"lead_count_this_month": 13,
"total_registered_lead_count": 2345,
"registered_lead_count_today": 0,
"registered_lead_count_this_month": 0,
"total_payment_lead_count": 1097,
"payment_lead_count_today": 0,
"payment_lead_count_this_month": 0,
"schedule": []
},
{
"team_name": "Branch CS 1",
"total_lead_count": 13383,
"lead_count_today": 0,
"lead_count_this_month": 0,
"total_registered_lead_count": 1042,
"registered_lead_count_today": 0,
"registered_lead_count_this_month": 0,
"total_payment_lead_count": 538,
"payment_lead_count_today": 0,
"payment_lead_count_this_month": 0,
"schedule": []
},
{
"team_name": "Branch CS 2",
"total_lead_count": 10398,
"lead_count_today": 0,
"lead_count_this_month": 7,
"total_registered_lead_count": 888,
"registered_lead_count_today": 0,
"registered_lead_count_this_month": 0,
"total_payment_lead_count": 390,
"payment_lead_count_today": 0,
"payment_lead_count_this_month": 0,
"schedule": []
},
{
"team_name": "HQ SPV",
"total_lead_count": 1255,
"lead_count_today": 0,
"lead_count_this_month": 0,
"total_registered_lead_count": 84,
"registered_lead_count_today": 0,
"registered_lead_count_this_month": 0,
"total_payment_lead_count": 41,
"payment_lead_count_today": 0,
"payment_lead_count_this_month": 0,
"schedule": []
},
{
"team_name": "Branch SPV",
"total_lead_count": 1139,
"lead_count_today": 1,
"lead_count_this_month": 5,
"total_registered_lead_count": 119,
"registered_lead_count_today": 0,
"registered_lead_count_this_month": 0,
"total_payment_lead_count": 55,
"payment_lead_count_today": 0,
"payment_lead_count_this_month": 0,
"schedule": []
}
]
},
"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\": \"et\"
}"
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=eos" \
--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": "eos",
"token": "1392e671a98006468964430d6958e32f"
},
"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\": \"dignissimos\"
}"
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/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\": \"id\",
\"whatsapp\": \"081393597900\",
\"branch_code\": \"PARE\"
}"
curl --request POST \
"https://lead-service.devkilc.lcpare.com/api/halo-ai/assign-cs" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request GET \
--get "https://lead-service.devkilc.lcpare.com/api/halo-ai/messages/initiate" \
--header "Content-Type: application/json" \
--header "Accept: application/json" 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": false,
"message": "Trying to access array offset on value of type 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,
"Trying to access array offset on value of type null",
"/var/www/html/app/Http/Controllers/ScheduleController.php",
169
]
},
{
"file": "/var/www/html/app/Http/Controllers/ScheduleController.php",
"line": 169,
"function": "Illuminate\\Foundation\\Bootstrap\\{closure}",
"class": "Illuminate\\Foundation\\Bootstrap\\HandleExceptions",
"type": "->",
"args": [
2,
"Trying to access array offset on value of type null",
"/var/www/html/app/Http/Controllers/ScheduleController.php",
169
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Concerns/ManagesTransactions.php",
"line": 32,
"function": "App\\Http\\Controllers\\{closure}",
"class": "App\\Http\\Controllers\\ScheduleController",
"type": "->",
"args": [
{}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php",
"line": 495,
"function": "transaction",
"class": "Illuminate\\Database\\Connection",
"type": "->",
"args": [
{}
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php",
"line": 361,
"function": "__call",
"class": "Illuminate\\Database\\DatabaseManager",
"type": "->",
"args": [
"transaction",
[
{}
]
]
},
{
"file": "/var/www/html/app/Http/Controllers/ScheduleController.php",
"line": 157,
"function": "__callStatic",
"class": "Illuminate\\Support\\Facades\\Facade",
"type": "::",
"args": [
"transaction",
[
{}
]
]
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php",
"line": 47,
"function": "createSchedule",
"class": "App\\Http\\Controllers\\ScheduleController",
"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/schedule/create-today",
"methods": [
"GET",
"HEAD"
],
"action": {
"middleware": [
"api"
],
"uses": "App\\Http\\Controllers\\ScheduleController@createSchedule",
"controller": "App\\Http\\Controllers\\ScheduleController@createSchedule",
"namespace": null,
"prefix": "api",
"where": []
},
"isFallback": false,
"controller": {},
"defaults": [],
"wheres": [],
"parameters": [],
"parameterNames": [],
"computedMiddleware": [
"api"
],
"compiled": {}
},
{},
"createSchedule"
]
},
{
"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/schedule/create-today",
"methods": [
"GET",
"HEAD"
],
"action": {
"middleware": [
"api"
],
"uses": "App\\Http\\Controllers\\ScheduleController@createSchedule",
"controller": "App\\Http\\Controllers\\ScheduleController@createSchedule",
"namespace": null,
"prefix": "api",
"where": []
},
"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/schedule/create-today",
"methods": [
"GET",
"HEAD"
],
"action": {
"middleware": [
"api"
],
"uses": "App\\Http\\Controllers\\ScheduleController@createSchedule",
"controller": "App\\Http\\Controllers\\ScheduleController@createSchedule",
"namespace": null,
"prefix": "api",
"where": []
},
"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/schedule/create-today",
"methods": [
"GET",
"HEAD"
],
"action": {
"middleware": [
"api"
],
"uses": "App\\Http\\Controllers\\ScheduleController@createSchedule",
"controller": "App\\Http\\Controllers\\ScheduleController@createSchedule",
"namespace": null,
"prefix": "api",
"where": []
},
"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/schedule/create-today",
"metadata": {
"custom": [],
"groupName": "Schedule",
"groupDescription": "\nAPIs for managing schedule",
"subgroup": "",
"subgroupDescription": "",
"title": "Create Schedule",
"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\\ScheduleController"
},
"method": {
"name": "createSchedule",
"class": "App\\Http\\Controllers\\ScheduleController"
},
"route": {
"uri": "api/schedule/create-today",
"methods": [
"GET",
"HEAD"
],
"action": {
"middleware": [
"api"
],
"uses": "App\\Http\\Controllers\\ScheduleController@createSchedule",
"controller": "App\\Http\\Controllers\\ScheduleController@createSchedule",
"namespace": null,
"prefix": "api",
"where": []
},
"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/schedule/create-today",
"metadata": {
"custom": [],
"groupName": "Schedule",
"groupDescription": "\nAPIs for managing schedule",
"subgroup": "",
"subgroupDescription": "",
"title": "Create Schedule",
"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\\ScheduleController"
},
"method": {
"name": "createSchedule",
"class": "App\\Http\\Controllers\\ScheduleController"
},
"route": {
"uri": "api/schedule/create-today",
"methods": [
"GET",
"HEAD"
],
"action": {
"middleware": [
"api"
],
"uses": "App\\Http\\Controllers\\ScheduleController@createSchedule",
"controller": "App\\Http\\Controllers\\ScheduleController@createSchedule",
"namespace": null,
"prefix": "api",
"where": []
},
"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/schedule/create-today",
"metadata": {
"custom": [],
"groupName": "Schedule",
"groupDescription": "\nAPIs for managing schedule",
"subgroup": "",
"subgroupDescription": "",
"title": "Create Schedule",
"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\\ScheduleController"
},
"method": {
"name": "createSchedule",
"class": "App\\Http\\Controllers\\ScheduleController"
},
"route": {
"uri": "api/schedule/create-today",
"methods": [
"GET",
"HEAD"
],
"action": {
"middleware": [
"api"
],
"uses": "App\\Http\\Controllers\\ScheduleController@createSchedule",
"controller": "App\\Http\\Controllers\\ScheduleController@createSchedule",
"namespace": null,
"prefix": "api",
"where": []
},
"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/schedule/create-today",
"metadata": {
"custom": [],
"groupName": "Schedule",
"groupDescription": "\nAPIs for managing schedule",
"subgroup": "",
"subgroupDescription": "",
"title": "Create Schedule",
"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\\ScheduleController"
},
"method": {
"name": "createSchedule",
"class": "App\\Http\\Controllers\\ScheduleController"
},
"route": {
"uri": "api/schedule/create-today",
"methods": [
"GET",
"HEAD"
],
"action": {
"middleware": [
"api"
],
"uses": "App\\Http\\Controllers\\ScheduleController@createSchedule",
"controller": "App\\Http\\Controllers\\ScheduleController@createSchedule",
"namespace": null,
"prefix": "api",
"where": []
},
"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/schedule/create-today",
"methods": [
"GET",
"HEAD"
],
"action": {
"middleware": [
"api"
],
"uses": "App\\Http\\Controllers\\ScheduleController@createSchedule",
"controller": "App\\Http\\Controllers\\ScheduleController@createSchedule",
"namespace": null,
"prefix": "api",
"where": []
},
"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"
}
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/610" \
--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": 610,
"created_at": "2025-11-21T07:14:35.000000Z",
"updated_at": "2025-11-21T07:14:35.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"updated_by_name": "system",
"schedule_shift": [
{
"id": 1598,
"schedule_id": 610,
"shift_id": 4,
"is_active": true,
"created_at": "2025-11-21T07:14:35.000000Z",
"updated_at": "2025-11-21T07:14:35.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-29T02:17:33.000000Z",
"updated_at": "2024-10-29T02:17:33.000000Z",
"deleted_at": null,
"created_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"updated_by": "351214d7-db5f-4be8-bdf8-6a0fbe2d8e39",
"deleted_by": null
},
"schedule_shift_cs_with_customer_service": [
{
"id": 10,
"schedule_shift_id": 1598,
"percent": 100,
"is_active": true,
"created_at": "2025-11-21T07:14:35.000000Z",
"updated_at": "2025-11-21T07:14:35.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": 10724
},
{
"id": 4,
"schedule_shift_id": 1598,
"percent": 100,
"is_active": true,
"created_at": "2025-11-21T07:14:35.000000Z",
"updated_at": "2025-11-21T07:14:35.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": 10725
},
{
"id": 2,
"schedule_shift_id": 1598,
"percent": 100,
"is_active": true,
"created_at": "2025-11-21T07:14:35.000000Z",
"updated_at": "2025-11-21T07:14:35.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": 10726
},
{
"id": 13,
"schedule_shift_id": 1598,
"percent": 100,
"is_active": true,
"created_at": "2025-11-21T07:14:35.000000Z",
"updated_at": "2025-11-21T07:14:35.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": 10727
},
{
"id": 3,
"schedule_shift_id": 1598,
"percent": 0,
"is_active": true,
"created_at": "2025-11-21T07:14:35.000000Z",
"updated_at": "2025-11-21T07:14:35.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": 10728
},
{
"id": 17,
"schedule_shift_id": 1598,
"percent": 100,
"is_active": true,
"created_at": "2025-11-21T07:14:35.000000Z",
"updated_at": "2025-11-21T07:14:35.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": "Nashiha Afidah",
"username": "Ryas",
"team_id": 17,
"team_name": "Branch CS 2",
"group_id": 35,
"group_name": "Branch Group 2",
"template_schedule_shift_cs_id": 10729
},
{
"id": 15,
"schedule_shift_id": 1598,
"percent": 0,
"is_active": true,
"created_at": "2025-11-21T07:14:35.000000Z",
"updated_at": "2025-11-21T07:14:35.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": "Tiara Selling",
"username": "Kenzie",
"team_id": 15,
"team_name": "HQ CS",
"group_id": 32,
"group_name": "HQ Group",
"template_schedule_shift_cs_id": 10730
},
{
"id": 7,
"schedule_shift_id": 1598,
"percent": 100,
"is_active": true,
"created_at": "2025-11-21T07:14:35.000000Z",
"updated_at": "2025-11-21T07:14:35.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",
"template_schedule_shift_cs_id": 10731
},
{
"id": 12,
"schedule_shift_id": 1598,
"percent": 100,
"is_active": true,
"created_at": "2025-11-21T07:14:35.000000Z",
"updated_at": "2025-11-21T07:14:35.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": 10732
},
{
"id": 11,
"schedule_shift_id": 1598,
"percent": 100,
"is_active": true,
"created_at": "2025-11-21T07:14:35.000000Z",
"updated_at": "2025-11-21T07:14:35.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": 10733
},
{
"id": 9,
"schedule_shift_id": 1598,
"percent": 10,
"is_active": true,
"created_at": "2025-11-21T07:14:35.000000Z",
"updated_at": "2025-11-21T07:14:35.000000Z",
"deleted_at": null,
"created_by": "system",
"updated_by": "system",
"deleted_by": null,
"counter": 0,
"name": "Ms. Rossy Selling",
"username": "Nada",
"team_id": 19,
"team_name": "Branch SPV",
"group_id": 35,
"group_name": "Branch Group 2",
"template_schedule_shift_cs_id": 10734
},
{
"id": 18,
"schedule_shift_id": 1598,
"percent": 100,
"is_active": true,
"created_at": "2025-11-21T07:14:35.000000Z",
"updated_at": "2025-11-21T07:14:35.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",
"template_schedule_shift_cs_id": 10735
},
{
"id": 19,
"schedule_shift_id": 1598,
"percent": 100,
"is_active": true,
"created_at": "2025-11-21T07:14:35.000000Z",
"updated_at": "2025-11-21T07:14:35.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",
"template_schedule_shift_cs_id": 10736
},
{
"id": 20,
"schedule_shift_id": 1598,
"percent": 80,
"is_active": true,
"created_at": "2025-11-21T07:14:35.000000Z",
"updated_at": "2025-11-21T07:14:35.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",
"template_schedule_shift_cs_id": 10737
},
{
"id": 21,
"schedule_shift_id": 1598,
"percent": 50,
"is_active": true,
"created_at": "2025-11-21T07:14:35.000000Z",
"updated_at": "2025-11-21T07:14:35.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",
"template_schedule_shift_cs_id": 10738
}
]
}
]
},
"error": ""
}
The ID of the schedule.
curl --request PUT \
"https://lead-service.devkilc.lcpare.com/api/schedule/610" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"schedule_shifts\": [
{
\"id\": 8,
\"is_active\": false,
\"customer_services\": [
{
\"id\": 12,
\"percent\": 18,
\"is_active\": false,
\"counter\": 20
}
]
}
]
}"
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-29T19:35:06.000000Z",
"updated_at": "2024-09-15T19: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\": \"omnis\",
\"start_time\": \"nulla\",
\"end_time\": \"eos\"
}"
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-01T21:14:00.000000Z",
"updated_at": "2024-10-03T01: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\": \"ut\",
\"start_time\": \"perferendis\",
\"end_time\": \"ut\"
}"
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-07T19:25:34.000000Z",
"updated_at": "2025-10-26T21: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\": \"eligendi\",
\"shifts\": [
{
\"id\": 18,
\"customer_services\": [
{
\"id\": 2,
\"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-17T18:49:56.000000Z",
"updated_at": "2024-10-09T02: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-20T22:27:47.000000Z",
"updated_at": "2024-09-20T22: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-01T18:51:56.000000Z",
"updated_at": "2024-10-07T00: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-20T22:27:47.000000Z",
"updated_at": "2024-09-20T22: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-20T22:27:47.000000Z",
"updated_at": "2024-09-20T22: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-20T22:27:47.000000Z",
"updated_at": "2024-09-20T22: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-20T22:27:47.000000Z",
"updated_at": "2024-09-20T22: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-20T22:27:47.000000Z",
"updated_at": "2024-09-20T22: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-20T22:27:47.000000Z",
"updated_at": "2024-09-20T22: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-01T21:14:00.000000Z",
"updated_at": "2024-10-03T01: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-20T22:27:47.000000Z",
"updated_at": "2024-09-20T22: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-20T22:27:47.000000Z",
"updated_at": "2024-09-20T22: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-20T22:27:47.000000Z",
"updated_at": "2024-09-20T22: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-20T22:27:47.000000Z",
"updated_at": "2024-09-20T22: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-20T22:27:47.000000Z",
"updated_at": "2024-09-20T22: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\": \"ducimus\",
\"shifts\": [
{
\"id\": 10,
\"customer_services\": [
{
\"id\": 5,
\"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"