curl --location --request PATCH '/api/v1/partners//wishlist' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"wishlisted": true
}'{
"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": "inactive",
"verification_status": "pending",
"wishlisted": false,
"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",
"kinds": [
"installation",
"maintenance",
"repair"
]
}
]
}
],
"certifications": [
{
"id": 1,
"status": "pending",
"issued_at": "2019-08-24T14:15:22.123Z",
"expired_at": "2019-08-24T14:15:22.123Z",
"institution": "Ministry of Health",
"certification": {
"id": 1,
"name": "Certified X-Ray Technician",
"sub_service": {
"id": 0,
"name": "string"
}
}
}
],
"pricings": [
{
"id": 1,
"code": "base",
"kind": "fixed",
"amount": {
"value": 50000000,
"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
}
],
"average": 87.5
}
],
"ratings_summary": {
"overall_average": 4.5,
"total_reviews": 25
},
"contract_histories": [
{
"id": 1,
"kind": "installation",
"status": "completed",
"description": "Quarterly maintenance for X-Ray machine",
"start_date": "2019-08-24",
"end_date": "2019-08-24",
"completed_at": "2019-08-24T14:15:22.123Z",
"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": "2019-08-24T14:15:22.123Z",
"contract": {
"id": 1,
"institution": {
"id": 0,
"name": "string"
},
"sub_service": {
"id": 0,
"name": "string"
}
}
}
]
}
}
}