Get Company Employee With Pagination
Developing
GET
/v1/company-employees
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/v1/company-employees?per_page=10&page=1&sort=latest&order&search=&company_id&is_permanent=true'
Response Response Example
{
"data": {
"meta": {
"page": 1,
"total": 4,
"per_page": 10,
"total_page": 1
},
"items": [
{
"id": "91dfc598-f057-4377-985a-1119d00f7084",
"name": "John Doe",
"nip": "NIP12345678",
"email": "john.doe@example.com",
"company": {
"id": "ddf062a1-f68c-4db0-bcb1-d21aeb4b9f24",
"email": null,
"npwp": "123e4567-e89b-12d3-a456-426614174000",
"name": "PT Example Company",
"business_field": "Technology",
"operation_status": "operation",
"type": "tenant",
"status_pu": "registered",
"no_pu": "non_construction",
"pic_name": "John Doe",
"pic_phone": "6281234567890",
"address": null,
"created_at": "2025-04-22T03:55:09.710Z",
"updated_at": "2025-04-22T03:55:09.710Z"
},
"activity": "Project Management",
"status": "active",
"gatepass_number": "GP-20230401-001",
"valid_start_at": "2025-01-01",
"valid_end_at": null,
"is_permanent": true,
"letter_of_assignment_path": "https://example.com/letters/assignment-001.pdf",
"letter_of_assignment_url": "https://minio.dot.co.id/bms-autogate-kek-gresik-dev/https%3A//example.com/letters/assignment-001.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=PYysyv1GrF5SekbWoqjh%2F20250430%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250430T094517Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=b6baab1730ca1e71d974da46d5829f728773e6c01000c2916958163110afca18",
"integrity_pact_letter_path": "https://example.com/letters/integrity-001.pdf",
"integrity_pact_letter_url": "https://minio.dot.co.id/bms-autogate-kek-gresik-dev/https%3A//example.com/letters/integrity-001.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=PYysyv1GrF5SekbWoqjh%2F20250430%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250430T094517Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=d99b131f17553c1ae2aae5d30c90352fbfe9f6fc96b21b3c9e5da7f38ca9ffe3",
"created_at": "2025-04-22T03:55:09.822Z",
"updated_at": "2025-04-22T03:55:09.822Z"
},
{
"id": "98d33270-72fa-4fd1-897c-9a9bff920186",
"name": "Robert Johnson",
"nip": "NIP11223344",
"email": "robert.johnson@example.com",
"company": {
"id": "ddf062a1-f68c-4db0-bcb1-d21aeb4b9f24",
"email": null,
"npwp": "123e4567-e89b-12d3-a456-426614174000",
"name": "PT Example Company",
"business_field": "Technology",
"operation_status": "operation",
"type": "tenant",
"status_pu": "registered",
"no_pu": "non_construction",
"pic_name": "John Doe",
"pic_phone": "6281234567890",
"address": null,
"created_at": "2025-04-22T03:55:09.710Z",
"updated_at": "2025-04-22T03:55:09.710Z"
},
"activity": "Quality Assurance",
"status": "active",
"gatepass_number": "GP-20230401-003",
"valid_start_at": "2025-02-01",
"valid_end_at": null,
"is_permanent": true,
"letter_of_assignment_path": "https://example.com/letters/assignment-003.pdf",
"letter_of_assignment_url": "https://minio.dot.co.id/bms-autogate-kek-gresik-dev/https%3A//example.com/letters/assignment-003.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=PYysyv1GrF5SekbWoqjh%2F20250430%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250430T094517Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=8564ecf9b535144746c00a21523f03cc0308465a79848af7e1e8eff599c02c99",
"integrity_pact_letter_path": "https://example.com/letters/integrity-003.pdf",
"integrity_pact_letter_url": "https://minio.dot.co.id/bms-autogate-kek-gresik-dev/https%3A//example.com/letters/integrity-003.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=PYysyv1GrF5SekbWoqjh%2F20250430%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250430T094517Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=2dd9ef5d94ecd5096a52b1e7d76ca0dc0bdf295425d30467650da6d087e2afad",
"created_at": "2025-04-22T03:55:09.822Z",
"updated_at": "2025-04-22T03:55:09.822Z"
},
{
"id": "9f27e1dc-8295-46cd-950d-d22a8b41b2f9",
"name": "Jane Smith",
"nip": "NIP87654321",
"email": "jane.smith@example.com",
"company": {
"id": "077fabc7-4c4c-495a-8888-6a4ba738ee99",
"email": null,
"npwp": "223e4567-e89b-12d3-a456-426614174001",
"name": "PT Internal Services",
"business_field": "Maintenance",
"operation_status": "operation",
"type": "internal",
"status_pu": "registered",
"no_pu": "non_construction",
"pic_name": "Jane Smith",
"pic_phone": "6281234567891",
"address": null,
"created_at": "2025-04-22T03:55:09.710Z",
"updated_at": "2025-04-22T03:55:09.710Z"
},
"activity": "Software Development",
"status": "active",
"gatepass_number": "GP-20230401-002",
"valid_start_at": "2025-01-15",
"valid_end_at": "2026-01-15",
"is_permanent": false,
"letter_of_assignment_path": "https://example.com/letters/assignment-002.pdf",
"letter_of_assignment_url": "https://minio.dot.co.id/bms-autogate-kek-gresik-dev/https%3A//example.com/letters/assignment-002.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=PYysyv1GrF5SekbWoqjh%2F20250430%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250430T094517Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=13af1b25907570cb72d426aba07fcc384bc5068cb14993b89f928ca12466bc73",
"integrity_pact_letter_path": "https://example.com/letters/integrity-002.pdf",
"integrity_pact_letter_url": "https://minio.dot.co.id/bms-autogate-kek-gresik-dev/https%3A//example.com/letters/integrity-002.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=PYysyv1GrF5SekbWoqjh%2F20250430%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250430T094517Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=7c480a170e99c3a7bd9ee1f75357b2301694f4179856a50049276e3ffd2edc34",
"created_at": "2025-04-22T03:55:09.822Z",
"updated_at": "2025-04-22T03:55:09.822Z"
},
{
"id": "342804e3-0bce-4ac2-9d4c-fa300ae18716",
"name": "Syaiful",
"nip": "371234819290387128",
"email": "syaiful3@example.com",
"company": {
"id": "37ed0771-3f97-4e17-9804-0c15fedb7265",
"email": null,
"npwp": "323e4567-e89b-12d3-a456-426614174002",
"name": "PT Construction Project",
"business_field": "Construction",
"operation_status": "construction",
"type": "tenant",
"status_pu": "registered",
"no_pu": "non_construction",
"pic_name": "Bob Johnson",
"pic_phone": "6281234567892",
"address": null,
"created_at": "2025-04-22T03:55:09.710Z",
"updated_at": "2025-04-22T03:55:09.710Z"
},
"activity": "Kerja",
"status": "active",
"gatepass_number": "GP-20250430-001",
"valid_start_at": "2025-04-18",
"valid_end_at": "2025-04-30",
"is_permanent": false,
"letter_of_assignment_path": "uploads/6a2068fe2d32c53b00d25b507a101810-Berhasil - After.pdf",
"letter_of_assignment_url": "https://minio.dot.co.id/bms-autogate-kek-gresik-dev/uploads/6a2068fe2d32c53b00d25b507a101810-Berhasil%20-%20After.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=PYysyv1GrF5SekbWoqjh%2F20250430%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250430T094517Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=cb18563d86a260c2d687dfd06f61158b2acc66deae24f846b77936117d9e4797",
"integrity_pact_letter_path": "uploads/6a2068fe2d32c53b00d25b507a101810-Berhasil - After.pdf",
"integrity_pact_letter_url": "https://minio.dot.co.id/bms-autogate-kek-gresik-dev/uploads/6a2068fe2d32c53b00d25b507a101810-Berhasil%20-%20After.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=PYysyv1GrF5SekbWoqjh%2F20250430%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250430T094517Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=cb18563d86a260c2d687dfd06f61158b2acc66deae24f846b77936117d9e4797",
"created_at": "2025-04-30T16:42:02.089Z",
"updated_at": "2025-04-30T16:42:02.089Z"
}
]
},
"message": "Sukses mengambil data gatepass personil"
}
Request
Query Params
per_page
stringÂ
optional
Example:
10
page
stringÂ
optional
Example:
1
sort
stringÂ
optional
Example:
latest
order
stringÂ
optional
search
stringÂ
optional
company_id
stringÂ
optional
is_permanent
booleanÂ
optional
Example:
true
Responses
Modified at 2025-05-09 01:12:34