curl --location '/api/v1/partners/1' \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"partner": {
"id": 1,
"full_name": "Ahmad Teknisi",
"picture": "https://example.com/rails/active_storage/blobs/redirect/picture.jpg",
"gender": "male",
"is_verified": true,
"open_to_work": true,
"status": "active",
"verification_status": "completed",
"location": {
"province": "DKI Jakarta",
"city": "Jakarta Selatan",
"district": "Pancoran",
"subdistrict": "Pancoran",
"postcode": "12780",
"address": "Jl. Pancoran Timur No. 10",
"latitude": -6.2446,
"longitude": 106.8503
},
"competencies": [
{
"id": 1,
"name": "Medical Equipment",
"sub_services": [
{
"id": 1,
"name": "X-Ray Machine",
"status": "active",
"kinds": [
"installation",
"maintenance",
"repair"
]
}
]
}
],
"certifications": [
{
"id": 1,
"status": "verified",
"issued_at": "2025-01-15T09:00:00Z",
"expired_at": "2026-01-15T00:00:00Z",
"institution": "Ministry of Health",
"certification": {
"id": 1,
"name": "Certified X-Ray Technician",
"sub_service": {
"id": 1,
"name": "X-Ray Machine"
}
}
}
],
"pricings": [
{
"id": 1,
"code": "base",
"kind": "fixed",
"amount": {
"value": 150000,
"currency": "IDR"
},
"unit": "per visit",
"sub_service": {
"id": 1,
"name": "X-Ray Machine"
}
}
],
"metrics": [
{
"id": 1,
"name": "Performance",
"items": [
{
"id": 1,
"name": "On-time Arrival",
"score": 85
},
{
"id": 2,
"name": "Task Completion Rate",
"score": 90
}
],
"average": 87.5
}
],
"ratings_summary": {
"overall_average": 4.5,
"total_reviews": 25
},
"contract_histories": [
{
"id": 1,
"kind": "maintenance",
"status": "completed",
"description": "Quarterly maintenance for X-Ray machine",
"start_date": "2025-01-01",
"end_date": "2025-01-01",
"completed_at": "2025-01-01T12:00:00Z",
"institution": {
"id": 1,
"name": "Rumah Sakit Umum Jakarta"
},
"sub_service": {
"id": 1,
"name": "X-Ray Machine"
}
}
],
"reviews": [
{
"id": 1,
"overall_rate": 4.5,
"comment": "Great service, very professional",
"created_at": "2025-01-01T14:00:00Z",
"contract": {
"id": 1,
"institution": {
"id": 1,
"name": "Rumah Sakit Umum Jakarta"
},
"sub_service": {
"id": 1,
"name": "X-Ray Machine"
}
}
}
]
}
}
}