---
# System prepended metadata

title: Shiftwork API
tags: [api]

---

# Shiftwork API
###### tags: `api`

## API Specification

### Base Url
https://fixzyapp.co

### Signin

```
POST /subwebsite/shiftwork/api/shiftwork_api_v100/sign_in_page/format/json
```

#### Request
Example : Success
```json=
{
    "nonce": "52679BD1-A4B5-41E6-8E4F-1E11FB1C0E50",[unique value : Ex. uuid]
    "white_label_key" : "fixzy",editeditan"
}
```

#### Response

##### Response - `Success 200`


##### Response example

Example : Success
```json=
{
  "data": {
    "custom_message": {
      "title": "เข้าระบบสำเร็จ",
      "detail": "ยินดีต้อนรับเข้าสู่แอปพลิเคชัน FIXZYMAN",
      "btn": "ปิด",
      "image": null,
      "value": null
    },
     "fixman_id": "XXXXXXXXXXXXXXXX",
    "email": null,
    "api_result": true,
    "api_token": "XXXXXXXXXXXX",
    "white_label_key": "fixzy",
    "user_info": {
      "fixman_id": "XXXXXXXXXXXXXXXX",
      "email": null,
      "api_token": "Bearer XXXXXXXXXXXXXXXX",
      "white_label_key": "fixzy",
      "bucket": "fixzy"
    }
  }
}
```
---

### Signout

```
POST /subwebsite/shiftwork/api/shiftwork_api_v100/sign_out_page/format/json
```

#### Authorization (Header) - token ได้มาจาก api_token ตอน login
```
Bearer b89b0eb0f39e80730b81dea0ebc3276800cd02094936c59d02922eba40323766
```

#### Response

##### Response - `Success 200`


##### Response example

Example : Success
```json=
{
  "data": {
    "custom_message": {
      "title": "ออกจากระบบ",
      "detail": "ออกจากระบบเรียบร้อย",
      "btn": "ปิด",
      "image": null,
      "value": null
    },
    "api_result": true
  }
}
```
---

### Portfolio

```
GET /subwebsite/shiftwork/api/shiftwork_api_v100/portfolio_detail_page/format/json
```

#### Authorization (Header) - token ได้มาจาก api_token ตอน login
```
Bearer b89b0eb0f39e80730b81dea0ebc3276800cd02094936c59d02922eba40323766
```

#### Response

##### Response - `Success 200`


##### Response example

Example : Success
```json=
{
    "data": {
        "short_url": false,
        "api_result": true,
        "portfolio": {
            "fixman_image": "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/55b07f9a1c0ee963008b456a_1670142790.jpg",
            "fixman_name": "Nikky Service & maintenance",
            "fixman_prefix_name" : "นาย",
            "recommended_from" : "google",
            "average_raring_text": "เรทติ้งรีวิวจากลูกค้า 4.5 จาก 5",
            "average_raring": "4.5",
            "register_date": "24 ก.พ. 2559 ",
            "latest_used": "2022-12-27",
            "recommend_badge": "<img src=\"/images/icon/icon_recommend_inactive.png?12\" width=\"37\">",
            "card_badge": "<img src=\"/images/icon/icon_verified.png\" width=\"37\">",
            "police_badge": "<img src=\"/images/icon/icon_police_inactive.png?12\" width=\"37\">",
            "insurance_badge": "<img src=\"/images/icon/icon_insurance.png\" width=\"37\">",
            "count_complete_job": 20,
            "score_percent": 74,
            "description": "Test  test test dskfdskfndskhfkdf fdfnkdsfndfdh dsfljdlfmdskfnds fndsfjldsf f pdsjfodskfds fdosfkdnsfk",
            "contact_number": "0890000002",
            "facebook_name": "covid19",
            "facebook": "https://www.facebook.com/fdfsdfdfdsfdsf",
            "line": "https://www.facebook.com/fdfsdfdfdsfdsfHcPiE1utQS",
            "website": "www.fixzy.net",
            "fixman_id": {
                "$id": "55b07f9a1c0ee963008b456a"
            },
            "service_area": [
                {
                    "province_name": "กรุงเทพมหานคร",
                    "province_id": {
                        "$id": "558d0783ea228661008b8587"
                    },
                    "district_name": [
                        "คลองสาน",
                        "สวนหลวง",
                        "หลักสี่"
                    ],
                    "is_all_area": false
                },
                {
                    "province_name": "ฉะเชิงเทรา",
                    "province_id": {
                        "$id": "558d06e8ea228663008b657d"
                    },
                    "district_name": [
                        "คลองเขื่อน",
                        "ท่าตะเกียบ",
                        "บางคล้า",
                        "บางน้ำเปรี้ยว",
                        "บางปะกง",
                        "บ้านโพธิ์",
                        "พนมสารคาม",
                        "ราชสาสน์",
                        "สนามชัยเขต",
                        "อำเภอเมืองฉะเชิงเทรา",
                        "แปลงยาว"
                    ],
                    "is_all_area": true
                },
                {
                    "province_name": "ชลบุรี",
                    "province_id": {
                        "$id": "558d06e8ea228663008b657e"
                    },
                    "district_name": [
                        "บ่อทอง",
                        "บ้านบึง",
                        "พนัสนิคม"
                    ],
                    "is_all_area": false
                },
                {
                    "province_name": "นครนายก",
                    "province_id": {
                        "$id": "558d06e8ea228663008b6587"
                    },
                    "district_name": [
                        "บ้านนา",
                        "องครักษ์"
                    ],
                    "is_all_area": false
                },
                {
                    "province_name": "นนทบุรี",
                    "province_id": {
                        "$id": "558d06e8ea228663008b658d"
                    },
                    "district_name": [
                        "บางกรวย",
                        "บางบัวทอง",
                        "บางใหญ่",
                        "ปากเกร็ด",
                        "อำเภอเมืองนนทบุรี",
                        "ไทรน้อย"
                    ],
                    "is_all_area": false
                },
                {
                    "province_name": "ปทุมธานี",
                    "province_id": {
                        "$id": "558d06e8ea228663008b6591"
                    },
                    "district_name": [
                        "ธัญบุรี"
                    ],
                    "is_all_area": false
                }
            ],
            "service_time": {
                "mon": {
                    "start": "00:00",
                    "end": "02:30"
                },
                "tue": {
                    "start": "00:00",
                    "end": "00:00"
                },
                "wed": {
                    "start": "09:00",
                    "end": "19:00"
                },
                "thu": {
                    "start": "09:30",
                    "end": "15:00"
                },
                "fri": {
                    "start": "09:30",
                    "end": "15:00"
                },
                "sat": {
                    "start": "09:30",
                    "end": "15:30"
                }
            },
            "skills_with_category": [
                {
                    "mainCategotyName": "ระบบน้ำ",
                    "subCategotyName": [
                        "ท่อน้ำ-ท่อสุขภัณฑ์",
                        "สุขภัณฑ์",
                        "ส้วมตัน"
                    ]
                },
                {
                    "mainCategotyName": "เครื่องใช้ไฟฟ้า",
                    "subCategotyName": [
                        "เครื่องทำน้ำอุ่น-เครื่องทำน้ำร้อน",
                        "แอร์ เครื่องปรับอากาศ"
                    ]
                },
                {
                    "mainCategotyName": "โครงสร้าง",
                    "subCategotyName": [
                        "คิ้ว บัว จบ วงกบ",
                        "ช่างทาสี",
                        "บันได",
                        "ผนัง",
                        "ฝ้า-เพดาน",
                        "พื้น",
                        "รั้ว-เหล็กดัด-ตะแกรง-ลูกกรง",
                        "รางน้ำฝน"
                    ]
                },
                {
                    "mainCategotyName": "บริการและซ่อมบำรุง",
                    "subCategotyName": [
                        "กำจัดปลวก มด แมลงและสัตว์รบกวน",
                        "ทำความสะอาดแบบ Big Cleaning",
                        "บริการกำจัดไรฝุ่นหรือทำความสะอาดที่นอน"
                    ]
                },
                {
                    "mainCategotyName": "เบ็ดเตล็ด",
                    "subCategotyName": [
                        "กล้องวงจรปิด",
                        "สัญญาณกันขโมย"
                    ]
                }
            ],
            "count_comment": 389,
            "review_list": [
                {
                    "_id": {
                        "$id": "62402fef59a23c8269efa235"
                    },
                    "comment_message": "good job",
                    "comment_rating": 4,
                    "doc": "27 ม.ค. 2565 ",
                    "user_full_name": "Developers",
                    "user_firstname": "Developers",
                    "user_lastname": "",
                    "user_img": "5e71c5ea00c20491008b5b0f.jpg",
                    "category": "ระบบน้ำ : ปั๊มน้ำ"
                },
                {
                    "_id": {
                        "$id": "622db81e59a23c0404b37433"
                    },
                    "comment_message": "Tests",
                    "comment_rating": 5,
                    "doc": "27 ม.ค. 2565 ",
                    "user_full_name": "Developers",
                    "user_firstname": "Developers",
                    "user_lastname": "",
                    "user_img": "5e71c5ea00c20491008b5b0f.jpg",
                    "category": "ระบบน้ำ : ปั๊มน้ำ"
                },
                {
                    "_id": {
                        "$id": "61fe2c2259a23c3e440d7c3a"
                    },
                    "comment_message": "เพราะการนอนเป็นการพักผ่อนที่ดีที่สุดที่ร่างกายต้องการ แต่บางครั้งนอนเพียงพอก็แล้ว เข้านอนแต่หัวค่ำก็แล้ว แต่ก็ยังรู้สึกว่ายังมีปัญหาอยู่ บางทีอาจจะเกิดจากสาเหตุอื่นก็ได้ ลองมาดูกันว่าสุขลักษณะการนอนที่เหมาะสมนั้นเป็นอย่างไร",
                    "comment_rating": 5,
                    "doc": "27 ม.ค. 2565 ",
                    "user_full_name": "Developers",
                    "user_firstname": "Developers",
                    "user_lastname": "",
                    "user_img": "5e71c5ea00c20491008b5b0f.jpg",
                    "category": "ระบบน้ำ : ปั๊มน้ำ"
                }
            ],
            "work_image": [
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/port_file/1080/1670337759_BEDF04BE_A9D4_494F_80BD_F513C7CCE6D4.jpeg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=0mpUK%2BoqH%2B4XV2oNjSavuyLBGH4%3D",
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/port_file/1080/1670143276_o4171930103ef9395aad912c7440dd5cf_62665730_210426_0.jpg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=K77zkb5To3Td9imqFDzdEo01pGs%3D",
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/port_file/1080/1670033340_6supersale_campaign_Fixzy_th_banner.jpeg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=NSVQmmq8Lmz4%2BhxQDJuWZGJ5k4g%3D",
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/port_file/1080/1670025235_May_campaign_Fixzy_th_banner_1080x386_.jpeg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=%2BeMmN0YmaO%2BJUXwRdaAHNgNURwE%3D",
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/port_file/1080/1669205765_o4171930103ef9395aad912c7440dd5cf_62665730_210426_3.jpg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=2uJyv51RjplJGmm9rxF1vi8w61g%3D",
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/port_file/1080/1669205759_o4171930103ef9395aad912c7440dd5cf_62665730_210426.jpg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=rVsJL8CQISs2MRo6XvZ9YYB0uK0%3D",
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/port_file/1080/1669165560_o4171930103ef9395aad912c7440dd5cf_62665730_210426_3.jpg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=9QqtvGNwxXLt0sy7Wj45dKAQ2oA%3D",
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/port_file/1080/1669165559_o4171930103ef9395aad912c7440dd5cf_62665730_210426_2.jpg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=1AimaXoNAi2%2FPd3y1zQUBb0hkp8%3D",
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/port_file/1080/1669120170_4fb2e0a5_8d4b_428c_b23e_a6998bf78d93.jpeg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=pyNJU2igem04DDjgesoh17oWiME%3D"
            ],
            "cert_image": [
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/cer_file/1670337775_EB0C3DA8_5958_4FEE_A1A8_A3DC6A3719DD.jpeg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=dJNWhmdSKsdXxY4aJzcHGPLLJd0%3D",
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/cer_file/1670321099_Screen_Shot_2022_12_06_at_07.43.51.png?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=yog%2FjK0nZfIYoMEaQE2dDKRcr00%3D",
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/cer_file/1670239363_C81CC589_ACA5_43C0_8CE5_10FF3B47C0E3.jpeg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=tFKqPLJx1TV8R5hNyfsllI%2BUk2k%3D",
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/cer_file/1670239362_ACA0403C_DBAA_403C_972F_D35DC45E6309.jpeg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=rr2paNCcrYYDuAHKBfmekFy6TAU%3D",
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/cer_file/1670076814_283001347_748830783280827_2170431515515588038_n.jpeg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=B81PBaldod0UcdUj0p%2FEI7dymnw%3D",
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/cer_file/1669207283_7b480376_7cd7_4ba4_8f09_25cddaa61ea5.jpeg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=Agd6VmIbaywzFE%2BAvXHgSGppaZM%3D",
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/cer_file/1669207282_4fb2e0a5_8d4b_428c_b23e_a6998bf78d93.jpeg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=WIPShqI1KOPGvIEuiFICUMhBqRs%3D",
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/cer_file/1669207128_o4171930103ef9395aad912c7440dd5cf_62665730_210426_0.jpg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=jHB0fRQo7jnNkgn3pMycCoigHZs%3D",
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/cer_file/1669206359_o4171930103ef9395aad912c7440dd5cf_62665730_210426.jpg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=SlO2dBVN8tBwi7uE2UfKW3OvZfc%3D"
            ],
            "portfolio_view_url": "https://shiftwork.fixzyapp.co/portfolio/detail/213F1C",
            "team_member": "2-4",
            "can_speak_english": true,
            "fixman_recommend": [
                {
                    "id": {
                        "$id": "6377278a59a23c7866f91898"
                    },
                    "fixman_image": "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/6377278a59a23c7866f91898/6377278a59a23c7866f91898_166875383213147.jpg",
                    "name": "สมพงษ์ มัยศิริ",
                    "average_raring": 0,
                    "count_complete_job": 0,
                    "recommend_badge": false,
                    "card_badge": true,
                    "police_badge": true,
                    "insurance_badge": false
                },
                {
                    "id": {
                        "$id": "62e5f99559a23cf24ee8d28e"
                    },
                    "fixman_image": "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/62e5f99559a23cf24ee8d28e/62e5f99559a23cf24ee8d28e_94715045-B5F3-471D-B7C7-2CB15A7C6CEE.jpg",
                    "name": "ไพฑูรย์ จันทร์ตุ่ย",
                    "average_raring": 0,
                    "count_complete_job": 0,
                    "recommend_badge": false,
                    "card_badge": true,
                    "police_badge": true,
                    "insurance_badge": false
                }
            ],
            "portfolio_view": 3,
            "line_uuid": "866d91fd-3ba8-4cdc-bd17-6320fe3cb307"
            "birth_date": "11/11/1990"
        }
    }
}
```
---

### Portfolio View
```
GET /subwebsite/shiftwork/api/shiftwork_api_v100/portfolio_detail_page/format/json
```

#### Perameter
```
short_url: 213F1C
```

#### Response

##### Response - `Success 200`


##### Response example
Example : Success
```json=
{
    "data": {
        "short_url": false,
        "api_result": true,
        "portfolio": {
            "fixman_image": "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/55b07f9a1c0ee963008b456a_1670142790.jpg",
            "fixman_name": "Nikky Service & maintenance",
            "average_raring_text": "เรทติ้งรีวิวจากลูกค้า 4.5 จาก 5",
            "average_raring": "4.5",
            "register_date": "24 ก.พ. 2559 ",
            "latest_used": "14 ธ.ค. 2565 ",
            "recommend_badge": "<img src=\"/images/icon/icon_recommend_inactive.png?12\" width=\"37\">",
            "card_badge": "<img src=\"/images/icon/icon_verified.png\" width=\"37\">",
            "police_badge": "<img src=\"/images/icon/icon_police_inactive.png?12\" width=\"37\">",
            "insurance_badge": "<img src=\"/images/icon/icon_insurance.png\" width=\"37\">",
            "count_complete_job": 20,
            "score_percent": 74,
            "description": "Test  test test dskfdskfndskhfkdf fdfnkdsfndfdh dsfljdlfmdskfnds fndsfjldsf f pdsjfodskfds fdosfkdnsfk",
            "contact_number": "0890000002",
            "facebook_name": "covid19",
            "facebook": "https://www.facebook.com/fdfsdfdfdsfdsf",
            "line": "https://www.facebook.com/fdfsdfdfdsfdsfHcPiE1utQS",
            "website": "www.fixzy.net",
            "fixman_id": {
                "$id": "55b07f9a1c0ee963008b456a"
            },
            "service_area": [
                {
                    "province_name": "กรุงเทพมหานคร",
                    "province_id": {
                        "$id": "558d0783ea228661008b8587"
                    },
                    "district_name": [
                        "คลองสาน",
                        "สวนหลวง",
                        "หลักสี่"
                    ],
                    "is_all_area": false
                },
                {
                    "province_name": "ฉะเชิงเทรา",
                    "province_id": {
                        "$id": "558d06e8ea228663008b657d"
                    },
                    "district_name": [
                        "คลองเขื่อน",
                        "ท่าตะเกียบ",
                        "บางคล้า",
                        "บางน้ำเปรี้ยว",
                        "บางปะกง",
                        "บ้านโพธิ์",
                        "พนมสารคาม",
                        "ราชสาสน์",
                        "สนามชัยเขต",
                        "อำเภอเมืองฉะเชิงเทรา",
                        "แปลงยาว"
                    ],
                    "is_all_area": true
                },
                {
                    "province_name": "ชลบุรี",
                    "province_id": {
                        "$id": "558d06e8ea228663008b657e"
                    },
                    "district_name": [
                        "บ่อทอง",
                        "บ้านบึง",
                        "พนัสนิคม"
                    ],
                    "is_all_area": false
                },
                {
                    "province_name": "นครนายก",
                    "province_id": {
                        "$id": "558d06e8ea228663008b6587"
                    },
                    "district_name": [
                        "บ้านนา",
                        "องครักษ์"
                    ],
                    "is_all_area": false
                },
                {
                    "province_name": "นนทบุรี",
                    "province_id": {
                        "$id": "558d06e8ea228663008b658d"
                    },
                    "district_name": [
                        "บางกรวย",
                        "บางบัวทอง",
                        "บางใหญ่",
                        "ปากเกร็ด",
                        "อำเภอเมืองนนทบุรี",
                        "ไทรน้อย"
                    ],
                    "is_all_area": false
                },
                {
                    "province_name": "ปทุมธานี",
                    "province_id": {
                        "$id": "558d06e8ea228663008b6591"
                    },
                    "district_name": [
                        "ธัญบุรี"
                    ],
                    "is_all_area": false
                }
            ],
            "service_time": {
                "mon": {
                    "start": "00:00",
                    "end": "02:30"
                },
                "tue": {
                    "start": "00:00",
                    "end": "00:00"
                },
                "wed": {
                    "start": "09:00",
                    "end": "19:00"
                },
                "thu": {
                    "start": "09:30",
                    "end": "15:00"
                },
                "fri": {
                    "start": "09:30",
                    "end": "15:00"
                },
                "sat": {
                    "start": "09:30",
                    "end": "15:30"
                }
            },
            "skills_with_category": [
                {
                    "mainCategotyName": "ระบบน้ำ",
                    "subCategotyName": [
                        "ท่อน้ำ-ท่อสุขภัณฑ์",
                        "สุขภัณฑ์",
                        "ส้วมตัน"
                    ]
                },
                {
                    "mainCategotyName": "เครื่องใช้ไฟฟ้า",
                    "subCategotyName": [
                        "เครื่องทำน้ำอุ่น-เครื่องทำน้ำร้อน",
                        "แอร์ เครื่องปรับอากาศ"
                    ]
                },
                {
                    "mainCategotyName": "โครงสร้าง",
                    "subCategotyName": [
                        "คิ้ว บัว จบ วงกบ",
                        "ช่างทาสี",
                        "บันได",
                        "ผนัง",
                        "ฝ้า-เพดาน",
                        "พื้น",
                        "รั้ว-เหล็กดัด-ตะแกรง-ลูกกรง",
                        "รางน้ำฝน"
                    ]
                },
                {
                    "mainCategotyName": "บริการและซ่อมบำรุง",
                    "subCategotyName": [
                        "กำจัดปลวก มด แมลงและสัตว์รบกวน",
                        "ทำความสะอาดแบบ Big Cleaning",
                        "บริการกำจัดไรฝุ่นหรือทำความสะอาดที่นอน"
                    ]
                },
                {
                    "mainCategotyName": "เบ็ดเตล็ด",
                    "subCategotyName": [
                        "กล้องวงจรปิด",
                        "สัญญาณกันขโมย"
                    ]
                }
            ],
            "count_comment": 389,
            "review_list": [
                {
                    "_id": {
                        "$id": "62402fef59a23c8269efa235"
                    },
                    "comment_message": "good job",
                    "comment_rating": 4,
                    "doc": "2022-03-27T16:35:43+07:00",
                    "user_full_name": "Developers",
                    "user_firstname": "Developers",
                    "user_lastname": "",
                    "user_img": "5e71c5ea00c20491008b5b0f.jpg"
                },
                {
                    "_id": {
                        "$id": "622db81e59a23c0404b37433"
                    },
                    "comment_message": "Tests",
                    "comment_rating": 5,
                    "doc": "2022-03-13T16:23:42+07:00",
                    "user_full_name": "Developers",
                    "user_firstname": "Developers",
                    "user_lastname": "",
                    "user_img": "5e71c5ea00c20491008b5b0f.jpg"
                },
                {
                    "_id": {
                        "$id": "61fe2c2259a23c3e440d7c3a"
                    },
                    "comment_message": "เพราะการนอนเป็นการพักผ่อนที่ดีที่สุดที่ร่างกายต้องการ แต่บางครั้งนอนเพียงพอก็แล้ว เข้านอนแต่หัวค่ำก็แล้ว แต่ก็ยังรู้สึกว่ายังมีปัญหาอยู่ บางทีอาจจะเกิดจากสาเหตุอื่นก็ได้ ลองมาดูกันว่าสุขลักษณะการนอนที่เหมาะสมนั้นเป็นอย่างไร",
                    "comment_rating": 5,
                    "doc": "2022-02-05T14:49:54+07:00",
                    "user_full_name": "Developers",
                    "user_firstname": "Developers",
                    "user_lastname": "",
                    "user_img": "5e71c5ea00c20491008b5b0f.jpg"
                }
            ],
            "work_image": [
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/port_file/1080/1670337759_BEDF04BE_A9D4_494F_80BD_F513C7CCE6D4.jpeg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=0mpUK%2BoqH%2B4XV2oNjSavuyLBGH4%3D",
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/port_file/1080/1670143276_o4171930103ef9395aad912c7440dd5cf_62665730_210426_0.jpg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=K77zkb5To3Td9imqFDzdEo01pGs%3D",
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/port_file/1080/1670033340_6supersale_campaign_Fixzy_th_banner.jpeg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=NSVQmmq8Lmz4%2BhxQDJuWZGJ5k4g%3D",
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/port_file/1080/1670025235_May_campaign_Fixzy_th_banner_1080x386_.jpeg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=%2BeMmN0YmaO%2BJUXwRdaAHNgNURwE%3D",
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/port_file/1080/1669205765_o4171930103ef9395aad912c7440dd5cf_62665730_210426_3.jpg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=2uJyv51RjplJGmm9rxF1vi8w61g%3D",
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/port_file/1080/1669205759_o4171930103ef9395aad912c7440dd5cf_62665730_210426.jpg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=rVsJL8CQISs2MRo6XvZ9YYB0uK0%3D",
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/port_file/1080/1669165560_o4171930103ef9395aad912c7440dd5cf_62665730_210426_3.jpg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=9QqtvGNwxXLt0sy7Wj45dKAQ2oA%3D",
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/port_file/1080/1669165559_o4171930103ef9395aad912c7440dd5cf_62665730_210426_2.jpg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=1AimaXoNAi2%2FPd3y1zQUBb0hkp8%3D",
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/port_file/1080/1669120170_4fb2e0a5_8d4b_428c_b23e_a6998bf78d93.jpeg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=pyNJU2igem04DDjgesoh17oWiME%3D"
            ],
            "cert_image": [
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/cer_file/1670337775_EB0C3DA8_5958_4FEE_A1A8_A3DC6A3719DD.jpeg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=dJNWhmdSKsdXxY4aJzcHGPLLJd0%3D",
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/cer_file/1670321099_Screen_Shot_2022_12_06_at_07.43.51.png?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=yog%2FjK0nZfIYoMEaQE2dDKRcr00%3D",
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/cer_file/1670239363_C81CC589_ACA5_43C0_8CE5_10FF3B47C0E3.jpeg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=tFKqPLJx1TV8R5hNyfsllI%2BUk2k%3D",
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/cer_file/1670239362_ACA0403C_DBAA_403C_972F_D35DC45E6309.jpeg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=rr2paNCcrYYDuAHKBfmekFy6TAU%3D",
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/cer_file/1670076814_283001347_748830783280827_2170431515515588038_n.jpeg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=B81PBaldod0UcdUj0p%2FEI7dymnw%3D",
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/cer_file/1669207283_7b480376_7cd7_4ba4_8f09_25cddaa61ea5.jpeg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=Agd6VmIbaywzFE%2BAvXHgSGppaZM%3D",
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/cer_file/1669207282_4fb2e0a5_8d4b_428c_b23e_a6998bf78d93.jpeg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=WIPShqI1KOPGvIEuiFICUMhBqRs%3D",
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/cer_file/1669207128_o4171930103ef9395aad912c7440dd5cf_62665730_210426_0.jpg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=jHB0fRQo7jnNkgn3pMycCoigHZs%3D",
                "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/cer_file/1669206359_o4171930103ef9395aad912c7440dd5cf_62665730_210426.jpg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671064315&Signature=SlO2dBVN8tBwi7uE2UfKW3OvZfc%3D"
            ],
            "portfolio_view_url": "https://shiftwork.fixzyapp.co/portfolio/detail/213F1C",
            "portfolio_view": 3
        }
    }
}
```
---

### Get review
```
GET /subwebsite/shiftwork/api/shiftwork_api_v100/get_review/format/json
```
#### Authorization (Header) - สำหรับช่าง
```
Bearer b89b0eb0f39e80730b81dea0ebc3276800cd02094936c59d02922eba40323766
```

#### Perameter
```
short_url: 213F1C, - สำหรับลูกค้าที่มาดู port ช่าง
page: 1
```

#### Response

##### Response - `Success 200`


##### Response example
Example : Success
```json=
{
    "data": {
        "api_result": true,
        "review_list": [
            {
                "_id": {
                    "$id": "5ef5ad8c1dbca493008b4807"
                },
                "comment_message": "ดีมาก",
                "comment_rating": 5,
                "doc": "2020-06-26T15:10:52+07:00",
                "user_full_name": "โมโมทาโร่",
                "user_firstname": "โมโมทาโร่",
                "user_lastname": "",
                "user_img": "user/5ef45dd995e8ba8d008b5a13.jpg?1593073275"
            },
            {
                "_id": {
                    "$id": "5e38eacb06cfbc530406cfe4"
                },
                "comment_message": "แก้ปัญหางานตรงจุด น้ำรั่วซึมมาโดนฝ้า จากห้องน้ำชั้น 2 มาชั้น 1 งานปูกระเบื้องห้องน้ำใช้ได้ งานฝ้าต้องเปิด 2 จุด ไม่ใหญ่มาก งานฝ้าไม่ค่อยชำนาญ รีบโป็ว รีบทาสี ไม่รอแห้ง งานเลยออกมาหยาบมากๆ ควรปรับปรุงอย่างมาก ความเตรียมพร้อมของอุปกรณ์พอใช้ได้ ราคาสูงไหมรวมค่าของถือว่าสูงมาก แต่ก้อรับกับราคาได้ ถ้ามันจะทำให้น้ำหายรั่วซึม โดยรวมสำหรับผมพอได้",
                "doc": "2020-01-21T08:58:30+07:00",
                "comment_rating": 3,
                "user_firstname": "Chedtha",
                "user_lastname": "Pimlaphat"
            },
            {
                "_id": {
                    "$id": "5e38eacb06cfbc530406d047"
                },
                "comment_message": "บริการดี รับผิดชอบงานดี",
                "doc": "2020-01-20T16:27:08+07:00",
                "comment_rating": 5,
                "user_firstname": "Kanitee",
                "user_lastname": "Born To Be"
            },
            {
                "_id": {
                    "$id": "5e38eacb06cfbc530406cf7f"
                },
                "comment_message": "ตรงเวลา, งานเรียบร้อย, ราคาเหมาะสม",
                "doc": "2020-01-18T11:41:26+07:00",
                "comment_rating": 5,
                "user_firstname": "Bundit",
                "user_lastname": "Chotika"
            },
            {
                "_id": {
                    "$id": "5e38eacb06cfbc530406cfd1"
                },
                "comment_message": "เก็บงานไม่ละเอียดต้องคอยเช็ค\n",
                "doc": "2020-01-16T15:32:55+07:00",
                "comment_rating": 3,
                "user_firstname": "Rittichai",
                "user_lastname": "boon"
            }
        ]
    }
}

```

---

### Get edit porfolio
```
GET /subwebsite/shiftwork/api/shiftwork_api_v100/edit_portfolio_page/format/json
```
#### Authorization (Header) - สำหรับช่าง
```
Bearer b89b0eb0f39e80730b81dea0ebc3276800cd02094936c59d02922eba40323766
```
#### Perameter
```
accept_language: EN/TH
```

#### Response

##### Response - `Success 200`


##### Response example
Example : Success
```json=
{
    "data": {
        "api_result": true,
        "edit_data": {
            "personal_data": {
                "can_speak_english": false,
                "fixman_image": "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/55b07f9a1c0ee963008b456a_1670142790.jpg",
                "company_info": {
                    "name": "Nikky Service & maintenance",
                    "request_edit_url": "https://shiftwork.fixzyapp.co/contact?file=changecompany"
                },
                "description": "Test  test test dskfdskfndskhfkdf fdfnkdsfndfdh dsfljdlfmdskfnds fndsfjldsf f pdsjfodskfds fdosfkdnsfk",
                "contact_number": [
                    "0890000001"
                ],
                "facebook_name": "covid19",
                "facebook": "https://www.facebook.com/fdfsdfdfdsfdsf",
                "line": "https://www.facebook.com/fdfsdfdfdsfdsfHcPiE1utQS",
                "website": "www.fixzy.net",
                "portfolio_short_url": "ABCDEF",
                "specialize_category": "1",
                "is_policy_accept": true [true/false],
                "policy": "[HTML]",
                "is_verify_completed": true [true/false],
                "fixman_id": {
                    "$id": "55b07f9a1c0ee963008b456a"
                },
                "service_area": [
                    {
                        "province_name": "ฉะเชิงเทรา",
                        "province_id": {
                            "$id": "558d06e8ea228663008b657d"
                        },
                        "district_list": [
                            {
                                "name": "คลองเขื่อน",
                                "id": {
                                    "$id": "558d06e8ea228663008b6621"
                                }
                            },
                            {
                                "name": "ท่าตะเกียบ",
                                "id": {
                                    "$id": "558d06e8ea228663008b6620"
                                }
                            }
                        ],
                        "is_all_area": true
                    },
                    {
                        "province_name": "ปทุมธานี",
                        "province_id": {
                            "$id": "558d06e8ea228663008b6591"
                        },
                        "district_list": [
                            {
                                "name": "ธัญบุรี",
                                "id": {
                                    "$id": "558d06e9ea228663008b6729"
                                }
                            }
                        ],
                        "is_all_area": false
                    }
                ],
                "service_time": {
                    "mon": {
                        "start": "00:00",
                        "end": "02:30"
                    },
                    "tue": {
                        "start": "00:00",
                        "end": "00:00"
                    },
                    "wed": {
                        "start": "09:00",
                        "end": "19:00"
                    },
                    "thu": {
                        "start": "09:30",
                        "end": "15:00"
                    },
                    "fri": {
                        "start": "09:30",
                        "end": "15:00"
                    },
                    "sat": {
                        "start": "09:30",
                        "end": "15:30"
                    }
                },
                "skills_with_category":  [
                    {
                        "mainCategoty": {
                            "title": "ระบบน้ำ",
                            "id": "1"
                        },
                        "subCategoty": [
                            {
                                "title": "ท่อน้ำ-ท่อสุขภัณฑ์",
                                "id": {
                                    "$id": "639edffa59a23c33114dfc9d"
                                }
                            },
                            {
                                "title": "สุขภัณฑ์",
                                "id": {
                                    "$id": "639edffa59a23c33114dfc9e"
                                }
                            },
                            {
                                "title": "ส้วมตัน",
                                "id": {
                                    "$id": "639edffa59a23c33114dfc9f"
                                }
                            }
                        ]
                    },
                    {
                        "mainCategoty": {
                            "title": "เครื่องใช้ไฟฟ้า",
                            "id": "3"
                        },
                        "subCategoty": {
                            "3": {
                                "title": "เครื่องทำน้ำอุ่น-เครื่องทำน้ำร้อน",
                                "id": {
                                    "$id": "639edffa59a23c33114dfca0"
                                }
                            },
                            "4": {
                                "title": "แอร์ เครื่องปรับอากาศ",
                                "id": {
                                    "$id": "639edffa59a23c33114dfca1"
                                }
                            }
                        }
                    },
                ],
                "work_image": [
                    "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/port_file/1080/1670337759_BEDF04BE_A9D4_494F_80BD_F513C7CCE6D4.jpeg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671437323&Signature=MqH7qbFIgYbmy0Ls5q7E7vK05%2FI%3D",
                    "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/port_file/1080/1670143276_o4171930103ef9395aad912c7440dd5cf_62665730_210426_0.jpg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671437323&Signature=kbBOgsLz57ulkxJm4KUwNSO%2Fl94%3D",
                    "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/port_file/1080/1670033340_6supersale_campaign_Fixzy_th_banner.jpeg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671437323&Signature=IGDO0e9x9HVFMJLEoRwQkx8t8vc%3D"
                ],
                "cert_image": [
                    "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/cer_file/1670337775_EB0C3DA8_5958_4FEE_A1A8_A3DC6A3719DD.jpeg?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671437323&Signature=EXDnn%2BQgqcz3KkagNh9L1Ibb9aU%3D",
                    "https://fixzy.s3-ap-southeast-1.amazonaws.com/fixman/55b07f9a1c0ee963008b456a/cer_file/1670321099_Screen_Shot_2022_12_06_at_07.43.51.png?AWSAccessKeyId=AKIAILPVNDEYQJ6RUYIA&Expires=1671437323&Signature=T2ZyuaaBGUbstPKQfyvJZHUY4oQ%3D"
                ],
                "email_info": {
                    "address": "sqldrive@gmail.com",
                    "request_edit_url": "https://shiftwork.fixzyapp.co/contact?file=changeemail"
                },
                "full_name": "nikky fixzy",
                "first_name": "nikky",
                "last_name": "fixzy",
                "prefix_name" : "นาย",
                "recommended_from": "google",
                "recommended_from_text": "FGHDYT"
                "contact_number_with_fixzy": [
                    "0890000002"
                ],
                "emergency_name": "Emergency name2",
                "emergency_contact_number": "0890000002",
                "emergency_relation": "Father2",
                "fax": [
                    "123214124"
                ],
                "citizen_id": "6236386119816",
                "company_id": "0987654321",
                "team_member": "2-4",
                "bank_account_name": "าสวสว",
                "bank_account_number": "235566667",
                "bank_name": "ธนาคารกรุงศรีอยุธยา",
                 "street_address": "71111",
                "parish": {
                  "$id": "558d06ebea228663008b6ab8"
                },
                "district": {
                  "$id": "558d06e8ea228663008b65f6"
                },
                "province": {
                  "$id": "558d06e8ea228663008b657b"
                },
                "postcode": "10876",
                "fixman_type": "company",
                "portfolio_view" : 4,
                "line_uuid": "866d91fd-3ba8-4cdc-bd17-6320fe3cb308",
                "birth_date": "11/11/1990",
                "contact_firstname": "xxxxxxx",
                "contact_lastname": "xxxxxxx",
                "emergency_firstname": "yyyyyyy",
                "emergency_lastname": "yyyyyyy",
                "alternate_email" : "alt@mail.com",
    "tax_type": "company",
                "tax_id": "4406834244858",
                "tax_firstname": "เดรโก",
                "tax_lastname": "มัลฟอย",
                "tax_company_name": "ฮอกวอตส์",
                "tax_branch": "สำนักงนใหญ่",
                "tax_address": "3/3",
                "tax_province": {
                    "$id": "558d0783ea228661008b8587"
                },
                "tax_district": {
                    "$id": "558d0783ea228661008b858f"
                },
                "tax_parish": {
                    "$id": "558d0783ea228661008b85d4"
                },
                "tax_post_code": "10980",
                "tax_delivery_from": "current_address",
                "tax_delivery_address": "1/1 abcRd.",
                "tax_delivery_province": {
                    "$id": "558d06e8ea228663008b65a1"
                },
                "tax_delivery_district": {
                    "$id": "558d0783ea228661008b85d4"
                },
                "tax_delivery_parish": {
                    "$id": "558d06f3ea228663008b7992"
                },
                "tax_delivery_post_code": "12345"
            },
            "master_data": {
                "days": {
                    "mon": "วันจันทร์",
                    "tue": "วันอังคาร",
                    "wed": "วันพุธ",
                    "thu": "วันพฤหัสบดี",
                    "fri": "วันศุกร์",
                    "sat": "วันเสาร์",
                    "sun": "วันอาทิตย์"
                },
                "relationship": [
                    "พ่อ",
                    "แม่",
                    "ป้า",
                    "น้า",
                    "ลุง",
                    "อา",
                    "พี่ชาย",
                    "พี่สาว",
                    "น้องชาย",
                    "น้องสาว",
                    "ภรรยา",
                    "สามี",
                    "ลูกพี่ลูกน้อง",
                    "หลาน",
                    "เขย",
                    "สะใภ้"
                ],
                "provider_type": {
                    "individual": "บุคคลธรรมดา",
                    "company": "บริษัท"
                },
                "team_members": [
                    {
                        "title": "คนเดียว",
                        "value": "1"
                    },
                    {
                        "title": "จำนวน 2-4 คน",
                        "value": "2-4"
                    },
                    {
                        "title": "จำนวน 5-9 คน",
                        "value": "5-9"
                    },
                    {
                        "title": "จำนวน 10-15 คน",
                        "value": "10-15"
                    },
                    {
                        "title": "จำนวน 15-20 คน",
                        "value": "15-20"
                    },
                    {
                        "title": "จำนวน 20+ คนขึ้นไป",
                        "value": "20+"
                    }
                ],
                "banks": [
                    {
                        "title": "ธนาคารกสิกรไทย",
                        "value": "ธนาคารกสิกรไทย"
                    },
                    {
                        "title": "ธนาคารกรุงเทพ",
                        "value": "ธนาคารกรุงเทพ"
                    },
                    {
                        "title": "ธนาคารกรุงศรีอยุธยา",
                        "value": "ธนาคารกรุงศรีอยุธยา"
                    },
                    {
                        "title": "ธนาคารทหารไทย",
                        "value": "ธนาคารทหารไทย"
                    },
                    {
                        "title": "ธนาคารทิสโก้",
                        "value": "ธนาคารทิสโก้"
                    },
                    {
                        "title": "ธนาคารไทยพานิชย์",
                        "value": "ธนาคารไทยพานิชย์"
                    },
                    {
                        "title": "ธนาคารธนชาต",
                        "value": "ธนาคารธนชาต"
                    },
                    {
                        "title": "ธนาคารยูโอบี",
                        "value": "ธนาคารยูโอบี"
                    },
                    {
                        "title": "ธนาคารกรุงไทย",
                        "value": "ธนาคารกรุงไทย"
                    },
                    {
                        "title": "ธนาคารออมสิน",
                        "value": "ธนาคารออมสิน"
                    }
                ],
                "categories": [
                    {
                        "main_category": {
                            "id": "1",
                            "title": "ระบบน้ำ"
                        },
                        "sub_cat_tegory": [
                            {
                                "id": {
                                    "$id": "5472b6decfa9c551008b4d1d"
                                },
                                "title": "ปั๊มน้ำ"
                            },
                            {
                                "id": {
                                    "$id": "54865f6e2c1f5552008b4569"
                                },
                                "title": "สุขภัณฑ์"
                            }
                        ]
                    },
                    {
                        "main_category": {
                            "id": "2",
                            "title": "ระบบไฟ"
                        },
                        "sub_cat_tegory": [
                            {
                                "id": {
                                    "$id": "549a96e970c817cf008b4574"
                                },
                                "title": "สายไฟ-ปลั๊กไฟ-สวิตซ์ไฟ"
                            },
                            {
                                "id": {
                                    "$id": "547d66f9f3961752008b4570"
                                },
                                "title": "หลอดไฟ"
                            }
                        ]
                    },
                    {
                        "main_category": {
                            "id": "3",
                            "title": "เครื่องใช้ไฟฟ้า"
                        },
                        "sub_cat_tegory": [
                            {
                                "id": {
                                    "$id": "5472b6decfa9c551008b4d0e"
                                },
                                "title": "แอร์ เครื่องปรับอากาศ"
                            },
                            {
                                "id": {
                                    "$id": "5472b6decfa9c551008b4d10"
                                },
                                "title": "เครื่องซักผ้า-เครื่องอบผ้า"
                            },
                            {
                                "id": {
                                    "$id": "547d7314f3961751008b45dd"
                                },
                                "title": "เครื่องทำน้ำอุ่น-เครื่องทำน้ำร้อน"
                            }
                        ]
                    }
                ],
                "service_areas": [
                    {
                        "province": {
                            "id": {
                                "$id": "558d06e8ea228663008b6577"
                            },
                            "title": "กระบี่"
                        },
                        "district": [
                            {
                                "id": {
                                    "$id": "558d06e8ea228663008b65c5"
                                },
                                "title": "คลองท่อม",
                                "parish": [
                                    {
                                        "id": {
                                            "$id": "558d06f3ea228663008b79b0"
                                        },
                                        "title": "กองก๋อย"
                                    },
                                    {
                                        "id": {
                                            "$id": "558d06f3ea228663008b79b2"
                                        },
                                        "title": "ป่าโปง"
                                    },
                                    {
                                        "id": {
                                            "$id": "558d06f3ea228663008b79ae"
                                        },
                                        "title": "สบเมย"
                                    },
                                    {
                                        "id": {
                                            "$id": "558d06f3ea228663008b79af"
                                        },
                                        "title": "แม่คะตวน"
                                    },
                                    {
                                        "id": {
                                            "$id": "558d06f3ea228663008b79b1"
                                        },
                                        "title": "แม่สวด"
                                    },
                                    {
                                        "id": {
                                            "$id": "558d06f3ea228663008b79b3"
                                        },
                                        "title": "แม่สามแลบ"
                                    }
                                ]
                            },
                            {
                                "id": {
                                    "$id": "558d06e8ea228663008b65c7"
                                },
                                "title": "ปลายพระยา",
                                "parish": [
                                    {
                                        "id": {
                                            "$id": "558d06f3ea228663008b798b"
                                        },
                                        "title": "จองคำ"
                                    },
                                    {
                                        "id": {
                                            "$id": "558d06f3ea228663008b798c"
                                        },
                                        "title": "ปางหมู"
                                    },
                                    {
                                        "id": {
                                            "$id": "558d06f3ea228663008b798d"
                                        },
                                        "title": "ผาบ่อง"
                                    },
                                    {
                                        "id": {
                                            "$id": "558d06f3ea228663008b798e"
                                        },
                                        "title": "หมอกจำแป่"
                                    },
                                    {
                                        "id": {
                                            "$id": "558d06f3ea228663008b798f"
                                        },
                                        "title": "ห้วยปูลิง"
                                    },
                                    {
                                        "id": {
                                            "$id": "558d06f3ea228663008b7991"
                                        },
                                        "title": "ห้วยผา"
                                    },
                                    {
                                        "id": {
                                            "$id": "558d06f3ea228663008b7990"
                                        },
                                        "title": "ห้วยโป่ง"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "province": {
                            "id": {
                                "$id": "558d0783ea228661008b8587"
                            },
                            "title": "กรุงเทพมหานคร"
                        },
                        "district": [
                            {
                                "id": {
                                    "$id": "558d0783ea228661008b8589"
                                },
                                "title": "คลองสาน",
                                "parish": [
                                    {
                                        "id": {
                                            "$id": "558d06f3ea228663008b798b"
                                        },
                                        "title": "จองคำ"
                                    },
                                    {
                                        "id": {
                                            "$id": "558d06f3ea228663008b798c"
                                        },
                                        "title": "ปางหมู"
                                    },
                                    {
                                        "id": {
                                            "$id": "558d06f3ea228663008b798d"
                                        },
                                        "title": "ผาบ่อง"
                                    },
                                    {
                                        "id": {
                                            "$id": "558d06f3ea228663008b798e"
                                        },
                                        "title": "หมอกจำแป่"
                                    },
                                    {
                                        "id": {
                                            "$id": "558d06f3ea228663008b798f"
                                        },
                                        "title": "ห้วยปูลิง"
                                    },
                                    {
                                        "id": {
                                            "$id": "558d06f3ea228663008b7991"
                                        },
                                        "title": "ห้วยผา"
                                    },
                                    {
                                        "id": {
                                            "$id": "558d06f3ea228663008b7990"
                                        },
                                        "title": "ห้วยโป่ง"
                                    }
                                ]
                            },
                            {
                                "id": {
                                    "$id": "558d0783ea228661008b858a"
                                },
                                "title": "คลองสามวา",
                                "parish": [
                                    {
                                        "id": {
                                            "$id": "558d06f3ea228663008b798b"
                                        },
                                        "title": "จองคำ"
                                    },
                                    {
                                        "id": {
                                            "$id": "558d06f3ea228663008b798c"
                                        },
                                        "title": "ปางหมู"
                                    },
                                    {
                                        "id": {
                                            "$id": "558d06f3ea228663008b798d"
                                        },
                                        "title": "ผาบ่อง"
                                    },
                                    {
                                        "id": {
                                            "$id": "558d06f3ea228663008b798e"
                                        },
                                        "title": "หมอกจำแป่"
                                    },
                                    {
                                        "id": {
                                            "$id": "558d06f3ea228663008b798f"
                                        },
                                        "title": "ห้วยปูลิง"
                                    },
                                    {
                                        "id": {
                                            "$id": "558d06f3ea228663008b7991"
                                        },
                                        "title": "ห้วยผา"
                                    },
                                    {
                                        "id": {
                                            "$id": "558d06f3ea228663008b7990"
                                        },
                                        "title": "ห้วยโป่ง"
                                    }
                                ]
                            }
                        ]
                    }
                ],
                "prefix_ids" : [
                  {
                    "title": "นาย",
                    "id": {
                      "$id": "5c596487e35d7eae472f3c66"
                    }
                  },
                  {
                    "title": "นาง",
                    "id": {
                      "$id": "5c59648fe35d7eae472f3c67"
                    }
                  },
                  {
                    "title": "นางสาว",
                    "id": {
                      "$id": "5c596496e35d7eae472f3c68"
                    }
                  }
                ],
                "recommend_by": [
                  "facebook",
                  "friend",
                  "google",
                  "other",
                  "referral_code"
                ],
                ,
                "tax_address_from": {
                    "invoice_address": "ใช้ที่อยู่เดียวกับใบกำกับภาษี",
                    "current_address": "ใช้ที่อยู่ปัจจุบัน",
                    "other": "ที่อยู่อื่น"
                },
                "tax_provider_type": {
                    "personal": "บุคคลธรรมดา",
                    "company": "นิติบุคคล"
                }
            }
        }
    }
}

```
### Update Portfolio

```
POST /subwebsite/shiftwork/api/shiftwork_api_v100/update_portfolio/format/json
```

```
Content-Type: multipart/form-data; charset=utf-8; 
```

#### Request
Example :
```json=

  "can_speak_english": "true",
  "description": "etestes",
  "contact_number": "0989898767,0989876765",
  "facebook_name": "facename",
  "line": "testestest",
  "website": "www.tet.com",
  "full_name": "เฮอร์ไมโอนี่ เกรนเจอร์",
  "contact_number_with_fixzy": "0987656543,0898989876",
  "emergency_name": "test",
  "emergency_contact_number": "0909898765",
  "emergency_relation": "พ่อ",
  "fax": "0909898765",
  "citizen_id": "3101000657071",
  "company_id": "0000000010",
  "team_member": "2-4",
  "bank_account_name": "testest",
  "bank_account_number": "3898987678",
  "bank_name": "ธนาคารกสิกรไทย",
  "facebook": "name",
  "portfolio_short_url": "ABCD",
  "specialize_category": "1",
  "fixman_image": image_file,
  "skills_with_category[]": "1::5472b6decfa9c551008b4d1d",
  "skills_with_category[]": "1::54865f6e2c1f5552008b4569",
  "skills_with_category[]": "2::549a96e970c817cf008b4574",
  "service_area[]": "558d06e8ea228663008b6578::558d06e8ea228663008b65d4",
  "service_area[]": "558d06e8ea228663008b6578::558d06e8ea228663008b65cb",
  "service_area[]": "558d06e8ea228663008b6578::558d06e8ea228663008b65cd",
  "service_area[]": "558d06e8ea228663008b6578::558d06e8ea228663008b65cc",
  "service_area[]": "558d06e8ea228663008b6578::558d06e8ea228663008b65cf",
  "service_area[]": "558d06e8ea228663008b6578::558d06e8ea228663008b65d0",
  "service_area[]": "558d06e8ea228663008b6578::558d06e8ea228663008b65d2",
  "service_area[]": "558d06e8ea228663008b6578::558d06e8ea228663008b65d3",
  "service_area[]": "558d06e8ea228663008b6578::558d06e8ea228663008b65d5",
  "service_area[]": "558d06e8ea228663008b6578::558d06e8ea228663008b65d6",
  "service_area[]": "558d06e8ea228663008b6578::558d06e8ea228663008b65ca",
  "service_area[]": "558d06e8ea228663008b6578::558d06e8ea228663008b65d1",
  "service_area[]": "558d06e8ea228663008b6578::558d06e8ea228663008b65ce",
  "service_time[]": "mon::09:00::16:30",
  "service_time[]": "tue::09:00::18:30",
  "img_file_0": image_file,
  "img_file_1": image_file,
  "img_file_x": image_file,
  "street_address: "1/1 ABC RD."
  "parish": "558d06f3ea228663008b7992",
  "district": "558d06e9ea228663008b67bd",
  "province": "558d06e8ea228663008b65a1",
  "postcode" : "123456",
  "birth_date" : "11/11/1990",
  "alternate_email" : "alt@mail.com",
  "prefix_id" : "5c59648fe35d7eae472f3c67",
  "contact_firstname" : "xxxxxx",
  "contact_lastname" : "xxxxxx",
  "emergency_firstname" : "yyyyyy",
  "emergency_lastname" : "yyyyyy",
  "recommended_from" : "referral_code",
  "recommended_from_text" : "FGHDYT",
  "tax_type": "company",
  "tax_id": "4406834244858",
  "tax_firstname": "เดรโก",
  "tax_lastname": "มัลฟอย",
  "tax_company_name": "ฮอกวอตส์",
  "tax_branch": "สำนักงนใหญ่",
  "tax_address": "3/3",
  "tax_province": "558d0783ea228661008b8587",
  "tax_district": "558d0783ea228661008b858f",
  "tax_parish": "558d0783ea228661008b85d4",
  "tax_post_code": "10980",
  "tax_delivery_from": "current_address",
  "tax_delivery_address": "1/1 abcRd.",
  "tax_delivery_province": "558d06e8ea228663008b65a1",
  "tax_delivery_district": "558d0783ea228661008b85d4",
  "tax_delivery_parish": "558d06f3ea228663008b7992",
  "tax_delivery_post_code": "12345"
}

```

#### Response

##### Response - `Success 200`


##### Response example

Example : Success
```json=
{
  "data": {
    "api_result": true,

  }
}
```
---

### Delete Portfolio Image

```
POST /subwebsite/shiftwork/api/shiftwork_api_v100/delete_porfolio_image/format/json
```

```
Content-Type: multipart/form-data; charset=utf-8; 
```

#### Request
Example :
```json=
{
  "image_name": "1670337759_BEDF04BE_A9D4_494F_80BD_F513C7CCE6D4.jpeg"
}

```

#### Response

##### Response - `Success 200`


##### Response example

Example : Success
```json=
{
  "data": {
    "api_result": true,

  }
}
```
---
### Tracking [กดอัพเกรดเป็น Fixzy Gold]
```
GET /subwebsite/shiftwork/api/shiftwork_api_v100/event_tracking/format/json
```
#### Authorization (Header) - สำหรับช่าง
```
Bearer b89b0eb0f39e80730b81dea0ebc3276800cd02094936c59d02922eba40323766
```

#### Perameter
```
project_name: SHIFTWORK
page_name: EDIT_PORTFOLIO
event_name: UPGRADE_FIXZY_GOLD,
user_type: FIXMAN
```

#### Response

##### Response - `Success 200`


##### Response example
Example : Success
```json=
{
  "data": {
    "api_result": true,

  }
}

```

---
### Tracking 
```
GET /subwebsite/shiftwork/api/shiftwork_api_v100/event_tracking/format/json
```
#### Authorization (Header) - สำหรับช่าง
```
Bearer b89b0eb0f39e80730b81dea0ebc3276800cd02094936c59d02922eba40323766 
(Optional ส่งเฉพาะเวปที่ช่างใช้)
```

#### Perameter [กดCopy share url]
```
project_name: SHIFTWORK
page_name: EDIT_PORTFOLIO
event_name: COPY_SHARE_URL
user_type: FIXMAN
```
#### Perameter [กดเมนู หน้า Portfolio]
```
project_name: SHIFTWORK
page_name: MENU
event_name: CLICK_PORTFOLIO_BUTTON
user_type: FIXMAN
```
#### Perameter [กดเมนู หน้า Package]
```
project_name: SHIFTWORK
page_name: MENU
event_name: CLICK_PACKAGE_BUTTON
user_type: FIXMAN
```
#### Perameter [กดเมนู เติมเครดิต]
```
project_name: SHIFTWORK
page_name: MENU
event_name: CLICK_TOP_UP_CREDIT_BUTTON
user_type: FIXMAN
```
#### Perameter [กด ปุ่มแก้ไขในหน้า portfolio]
```
project_name: SHIFTWORK
page_name: PORTFOLIO
event_name: CLICK_EDIT_PORTFOLIO_BUTTON
user_type: FIXMAN
```
#### Perameter [กดปุ่ม อัพเกรดเป็น Fixzy Gold]
```
project_name: SHIFTWORK
page_name: PORTFOLIO
event_name: CLICK_UPGRADE_FIXZY_GOLD_BUTTON
user_type: FIXMAN
```
#### Perameter [กดเมนู แก้ไขข้อมูล]
```
project_name: SHIFTWORK
page_name: MENU
event_name: CLICK_EDIT_PORTFOLIO_BUTTON
user_type: FIXMAN
```
---

#### Perameter [หน้ารายการช่าง กดชื่อช่าง]
```
project_name: SHIFTWORK
page_name: PROVIDER_LIST
event_name: CLICK_FIXMAN_NAME
user_type: USER
event_value: 1W62RT[รหัสช่าง short url]
```
#### Perameter [หน้ารายการช่าง กดปุ่ม ดูรายละเอียดเพิ่มเติม]
```
project_name: SHIFTWORK
page_name: PROVIDER_LIST
event_name: CLICK_MORE_DETAIL_BUTTON
user_type: USER
event_value: 1W62RT[รหัสช่าง short url]
```
#### Perameter [หน้ารายละเอียดช่าง ปุ่มแจ้งงานซ่อม]
```
project_name: SHIFTWORK
page_name: PROVIDER_LIST
event_name: CLICK_POST_JOB_BUTTON
user_type: USER
event_value: 1W62RT[รหัสช่าง short url]
```
#### Perameter [หน้ารายละเอียดช่าง ติดต่อสอบถามข้อมูลเพิ่มเติม]
```
project_name: SHIFTWORK
page_name: PROVIDER_DETAIL
event_name: CLICK_CONTACT_TO_LINE_BUTTON
user_type: USER
event_value: 1W62RT[รหัสช่าง short url]
```

#### Response

##### Response - `Success 200`


##### Response example
Example : Success
```json=
{
  "data": {
    "api_result": true,

  }
}

```
---
### Update line Id
```
POST /subwebsite/shiftwork/api/shiftwork_api_v100/update_line_id/format/json
```
#### Authorization (Header) - สำหรับช่าง
```
Bearer b89b0eb0f39e80730b81dea0ebc3276800cd02094936c59d02922eba40323766
```

#### Request
Example :
```json=
{
  "uuid": "866d91fd-3ba8-4cdc-bd17-6320fe3cb308"
}
```

#### Response

##### Response - `Success 200`


##### Response example
Example : Success
```json=
{
  "data": {
    "api_result": true
  }
}

```
---
### Validate Referral code
```
GET /subwebsite/shiftwork/api/shiftwork_api_v100/validate_referral_code/format/json
```
#### Authorization (Header) - สำหรับช่าง
```
Bearer b89b0eb0f39e80730b81dea0ebc3276800cd02094936c59d02922eba40323766
```

#### Perameter
```
referral_code: FGHDYTW [รหัสที่เช็คได้]
```

#### Response

##### Response - `Success 200`


##### Response example
Example : Success
```json=
{
  "data": {
    "api_result": true,
    "validate": true / false
  }
}

```
---
### Job list
```
POST /subwebsite/shiftwork/api/shiftwork_api_v100/job_list/format/json
```
#### Authorization (Header) - สำหรับช่าง
```
Bearer b89b0eb0f39e80730b81dea0ebc3276800cd02094936c59d02922eba40323766
```

#### Request
Example :
```json=
{
  "res_filter" : {
       "start_date" : "2023-03-01",
       "end_date" : "2023-03-31",
       "district" :  [ 
            "558d06e8ea228663008b65d4"(District Id), 
            "558d06e8ea228663008b65cb", 
            "558d06e8ea228663008b65cd", 
            "558d06e8ea228663008b65cc", 
            "558d06e8ea228663008b65cf"
       ],
        "sub_category" : [
           "5472b6decfa9c551008b4d20"(Subcategory Id),
           "5472b6decfa9c551008b4d1d"
        ],
       "province" : [
         "558d0783ea228661008b8587"
        ],
     "category" : ["2"]
    },
    "page" : "1"      
}    
```

#### Response

##### Response - `Success 200`


##### Response example
Example : Success
```json=
{
    "data": {
        "default_quotation": {
            "appointment": "appointment",
            "site_inspection_price": "ไม่คิดครับ...2",
            "waranty": "3เดือนครับ...2",
            "contact_number": "0986787777"
        },
        "service_area": [
                    {
                        "province_name": "ฉะเชิงเทรา",
                        "province_id": {
                            "$id": "558d06e8ea228663008b657d"
                        },
                        "district_list": [
                            {
                                "name": "คลองเขื่อน",
                                "id": {
                                    "$id": "558d06e8ea228663008b6621"
                                }
                            },
                            {
                                "name": "ท่าตะเกียบ",
                                "id": {
                                    "$id": "558d06e8ea228663008b6620"
                                }
                            }
                        ],
                        "is_all_area": true
                    },
                    {
                        "province_name": "ปทุมธานี",
                        "province_id": {
                            "$id": "558d06e8ea228663008b6591"
                        },
                        "district_list": [
                            {
                                "name": "ธัญบุรี",
                                "id": {
                                    "$id": "558d06e9ea228663008b6729"
                                }
                            }
                        ],
                        "is_all_area": false
                    }
        ],
        "skills_with_category":  [
                    {
                        "mainCategoty": {
                            "title": "ระบบน้ำ",
                            "id": "1"
                        },
                        "subCategoty": [
                            {
                                "title": "ท่อน้ำ-ท่อสุขภัณฑ์",
                                "id": {
                                    "$id": "639edffa59a23c33114dfc9d"
                                }
                            },
                            {
                                "title": "สุขภัณฑ์",
                                "id": {
                                    "$id": "639edffa59a23c33114dfc9e"
                                }
                            },
                            {
                                "title": "ส้วมตัน",
                                "id": {
                                    "$id": "639edffa59a23c33114dfc9f"
                                }
                            }
                        ]
                    },
                    {
                        "mainCategoty": {
                            "title": "เครื่องใช้ไฟฟ้า",
                            "id": "3"
                        },
                        "subCategoty": {
                            "3": {
                                "title": "เครื่องทำน้ำอุ่น-เครื่องทำน้ำร้อน",
                                "id": {
                                    "$id": "639edffa59a23c33114dfca0"
                                }
                            },
                            "4": {
                                "title": "แอร์ เครื่องปรับอากาศ",
                                "id": {
                                    "$id": "639edffa59a23c33114dfca1"
                                }
                            }
                        }
                    },
                ],
        "can_get_job": true,[true/false]
        "job_list": [
            {
                "job_id": {
                    "$id": "5fc864916a1b19a9008b4fa5"
                },
                "status": "waiting",
                "image": "https://s3-ap-southeast-1.amazonaws.com/fixzy/category/main_v5/160/ic_sub_01.png?1",
                "sub_category_title": "ปั๊มน้ำ",
                "job_by": "ผู้เรียก : yatawee ",
                "location": "สถานที่ : ราชเทวี กรุงเทพมหานคร",
                "convenient_date": "สะดวกวันที่บริการ : ไม่ระบุวันที่"
            },
            {
                "job_id": {
                    "$id": "5ee6edc5438df120008b4569"
                },
                "status": "waiting",
                "image": "https://s3-ap-southeast-1.amazonaws.com/fixzy/category/main_v5/160/ic_sub_01.png?1",
                "sub_category_title": "ปั๊มน้ำ",
                "job_by": "ผู้เรียก : Surawat Loetsivanon",
                "location": "สถานที่ : บางกะปิ กรุงเทพมหานคร",
                "convenient_date": "สะดวกวันที่บริการ : ไม่ระบุวันที่"
            },
            {
                "job_id": {
                    "$id": "5ee304bfc3fc568f008b5017"
                },
                "status": "waiting",
                "image": "https://s3-ap-southeast-1.amazonaws.com/fixzy/category/main_v5/160/ic_sub_01.png?1",
                "sub_category_title": "ปั๊มน้ำ",
                "job_by": "ผู้เรียก : Surawat Loetsivanon",
                "location": "สถานที่ : บางกะปิ กรุงเทพมหานคร",
                "convenient_date": "สะดวกวันที่บริการ : 13 มิ.ย. 2566 00:00 10:00"
            }
        ],
        "last_page": false,
        "master_data": {
            "categories": [
                {
                    "main_category": {
                        "id": "1",
                        "title": "ระบบน้ำ"
                    },
                    "sub_cat_tegory": [
                        {
                            "id": {
                                "$id": "5472b6decfa9c551008b4d1d"
                            },
                            "title": "ปั๊มน้ำ"
                        },
                        {
                            "id": {
                                "$id": "54865f6e2c1f5552008b4569"
                            },
                            "title": "สุขภัณฑ์"
                        }
                    ]
                },
                {
                    "main_category": {
                        "id": "2",
                        "title": "ระบบไฟ"
                    },
                    "sub_cat_tegory": [
                        {
                            "id": {
                                "$id": "549a96e970c817cf008b4574"
                            },
                            "title": "สายไฟ-ปลั๊กไฟ-สวิตซ์ไฟ"
                        },
                        {
                            "id": {
                                "$id": "547d66f9f3961752008b4570"
                            },
                            "title": "หลอดไฟ"
                        }
                    ]
                },
                {
                    "main_category": {
                        "id": "3",
                        "title": "เครื่องใช้ไฟฟ้า"
                    },
                    "sub_cat_tegory": [
                        {
                            "id": {
                                "$id": "5472b6decfa9c551008b4d0e"
                            },
                            "title": "แอร์ เครื่องปรับอากาศ"
                        },
                        {
                            "id": {
                                "$id": "5472b6decfa9c551008b4d10"
                            },
                            "title": "เครื่องซักผ้า-เครื่องอบผ้า"
                        },
                        {
                            "id": {
                                "$id": "547d7314f3961751008b45dd"
                            },
                            "title": "เครื่องทำน้ำอุ่น-เครื่องทำน้ำร้อน"
                        }
                    ]
                }
            ],
            "service_areas": [
                {
                    "province": {
                        "id": {
                            "$id": "558d06e8ea228663008b6577"
                        },
                        "title": "กระบี่"
                    },
                    "district": [
                        {
                            "id": {
                                "$id": "558d06e8ea228663008b65c5"
                            },
                            "title": "คลองท่อม",
                            "parish": [
                                {
                                    "id": {
                                        "$id": "558d06f3ea228663008b79b0"
                                    },
                                    "title": "กองก๋อย"
                                },
                                {
                                    "id": {
                                        "$id": "558d06f3ea228663008b79b2"
                                    },
                                    "title": "ป่าโปง"
                                }
                            ]
                        }
                    ]
                },
                {
                    "province": {
                        "id": {
                            "$id": "558d0783ea228661008b8587"
                        },
                        "title": "กรุงเทพมหานคร"
                    },
                    "district": [
                        {
                            "id": {
                                "$id": "558d0783ea228661008b8589"
                            },
                            "title": "คลองสาน",
                            "parish": [
                                {
                                    "id": {
                                        "$id": "558d06f3ea228663008b798b"
                                    },
                                    "title": "จองคำ"
                                },
                                {
                                    "id": {
                                        "$id": "558d06f3ea228663008b798c"
                                    },
                                    "title": "ปางหมู"
                                },
                                {
                                    "id": {
                                        "$id": "558d06f3ea228663008b798d"
                                    },
                                    "title": "ผาบ่อง"
                                }
                            ]
                        },
                        {
                            "id": {
                                "$id": "558d0783ea228661008b858a"
                            },
                            "title": "คลองสามวา",
                            "parish": [
                                {
                                    "id": {
                                        "$id": "558d06f3ea228663008b798b"
                                    },
                                    "title": "จองคำ"
                                },
                                {
                                    "id": {
                                        "$id": "558d06f3ea228663008b798c"
                                    },
                                    "title": "ปางหมู"
                                },
                                {
                                    "id": {
                                        "$id": "558d06f3ea228663008b798d"
                                    },
                                    "title": "ผาบ่อง"
                                },
                                {
                                    "id": {
                                        "$id": "558d06f3ea228663008b798e"
                                    },
                                    "title": "หมอกจำแป่"
                                }
                            ]
                        }
                    ]
                }
            ],
        },
        "custom_message": {
            "title": "",
            "detail": "",
            "btn": "ปิด",
            "image": null,
            "value": null
        },
        "api_result": true
    }
}
```
---
### Quotation send
```
POST /subwebsite/shiftwork/api/shiftwork_api_v100/quotation_send/format/json
```
#### Authorization (Header) - สำหรับช่าง
```
Bearer b89b0eb0f39e80730b81dea0ebc3276800cd02094936c59d02922eba40323766
```

#### Request
Example :
```json=
{
        "appointment" : "appointment",
        "detail" : "รายละเอียด...3",
        "warranty" : "3เดือนครับ...3",
        "job_id" : "63fb2cf959a23cba0e59fad1",
        "contact_number" : "0986787777",
        "estimate_price" : "estimate price",
        "quotation_default" : true,
        "site_inspection_price" : "ไม่คิดครับ...3"
    }
```

#### Response

##### Response - `Success 200`


##### Response example
Example : Success
```json=
{
    "data": {
        "custom_message": {
            "title": "",
            "detail": "รับงานเรียบร้อย",
            "btn": "ปิด",
            "image": null,
            "value": null
        },
        "api_result": true
    }
}
```
---
### Job details
```
GET /subwebsite/shiftwork/api/shiftwork_api_v100/job_detail/format/json
```
#### Authorization (Header) - สำหรับช่าง
```
Bearer b89b0eb0f39e80730b81dea0ebc3276800cd02094936c59d02922eba40323766
```
#### Perameter
```
id: 63e5db4059a23cba2d7e2c12
```


#### Response

##### Response - `Success 200`


##### Response example
Example : Success
```json=
{
    "data": {
        "default_quotation": {
            "appointment": "appointment",
            "site_inspection_price": "ไม่คิดครับ...2",
            "warranty": "3เดือนครับ...2",
            "contact_number": "0986787777",
            "detail": "ไม่มีครับ...2"
        },
        "credit": {
            "use": 0,
            "balance": 2257
        },
        "main_category": "ระบบน้ำ",
        "sub_category": "ปั๊มน้ำ",
        "customer_name": "นิกกี้",
        "payment_channel": "-ชำระค่าบริการกับช่างโดยตรง (COD)",
        "place": "บ้าน",
        "address": "Chatuchak Bangkok",
        "location": {
            "latitude": "13.8567648",
            "longitude": "100.5774513"
        },
        "details": "test",
        "convenient_date": "วันที่สะดวกรับบริการ : 31 พ.ค. 2566 00:00 13:00",
        "already_take_job": true,
        "redirect": {
            "alert_message": "ติดต่อลูกค้า",
            "api_path": "my_job_list",
            "api_param": {
                "my_job_status": "CHOOSED",
                "page": "1"
            }
        },
        "custom_message": {
            "title": "",
            "detail": "",
            "btn": "ปิด",
            "image": null,
            "value": null
        },
        "api_result": true
    }
}
```
---
### Pakacges
```
GET /subwebsite/shiftwork/api/shiftwork_api_v100/get_package/format/json
```
#### Authorization (Header) - สำหรับช่าง
```
Bearer b89b0eb0f39e80730b81dea0ebc3276800cd02094936c59d02922eba40323766
```
#### Perameter
```
type: POLICE_CHECK [POLICE_CHECK/FIXZY_GOLD] (Optional)
```

#### Response

##### Response - `Success 200`


##### Package List Response example
Example : Success
```json=
{
    "data": {
        "credit_balance": 1500,
        "packages": [
            {
                "id": {
                    "$id": "6408267378c469deb279704b"
                },
                "name": "Fixzy Gold รับงานฟรีไม่เสียเครดิต",
                "price": "3210.00"
            },
            {
                "id": {
                    "$id": "63440ffa367708d636b74161"
                },
                "name": "เสื้อยืด 1ตัว มารับเอง",
                "price": "165.00"
            },
            {
                "id": {
                    "$id": "6344108d367708d636b7433d"
                },
                "name": "เสื้อช็อป 1ตัว มารับเอง",
                "price": "535.00"
            }
        ],
        "api_result": true,
        "validate": false
    }
}
```
##### Package price Response example
Example : Success
```json=
{
    "data": {
        "price": 700,
        "vat": 49,
        "price_include_vat": 749,
        "api_result": true
    }
}
```

---
### Get token by lind uuid
```
POST /subwebsite/shiftwork/api/shiftwork_api_v100/get_token_by_line_id/format/json
```
#### Request
Example :
```json=
{
  "line_uuid": "Ueabb2010e4a87f199ce06afd7a310e4d"
}
```


#### Response

##### Response - `Success 200`


##### Response example
Example : Success
```json=
{
    "data": {
        "api_result": true,
        "api_token": "e96a24aabbd4bc2966143d8991ff5bb2eccae7024f6032037a312bfcbaa3420a"
    }
}
```
---
### Request update profile
```
POST /subwebsite/shiftwork/api/shiftwork_api_v100/request_update_profile/format/json
```
#### Authorization (Header) - สำหรับช่าง
```
Bearer b89b0eb0f39e80730b81dea0ebc3276800cd02094936c59d02922eba40323766
```
#### Request
Example :
```json=
{
    "info_type": "email",
    "email" : "update@mail.com"
}
```
```json=
{
    "info_type": "prefix_id",
    "prefix_id" : "5c59648fe35d7eae472f3c67"
}
```
```json=
{
    "info_type": "bank_account",
    "bank_name" : "Kasikorn",
    "bank_account_name" : "Bridge Tactics",
    "bank_account_number" : "3434324234234"
}
```
```json=
{
    "info_type": "fixman_type", [company/personal]
    "fixman_type_value" : "1234567890098"
}
```



#### Response

##### Response - `Success 200`


##### Response example
Example : Success
```json=
{
    "data": {
        "api_result": true
    }
}
```
---
### My badge
```
GET /subwebsite/shiftwork/api/shiftwork_api_v100/my_badge/format/json
```
#### Authorization (Header) - สำหรับช่าง
```
Bearer b89b0eb0f39e80730b81dea0ebc3276800cd02094936c59d02922eba40323766
```

#### Response

##### Response - `Success 200`


##### Response example
Example : Success
```json=
{
    "data": {
        "my_badge": {
            "fixzy_score": {
                "title": "100% จาก 100",
                "badge_active": true,
                "summary_score": 100,
                "score_status": {
                    "filled_data": true,
                    "id_card_verified": true,
                    "email_confirmed": true,
                    "police_check_verified": true,
                    "home_care_insurance_verified": true,
                    "rating_verified": true,
                    "on_time_verified": true
                }
            },
            "id_card_verify": {
                "title": "ได้รับตราสัญลักษณ์แล้ว",
                "badge_active": true,
                "download_contract_url": "https://fixzy.s3.ap-southeast-1.amazonaws.com/documents/fixzyman/fixzy_contract_provider.pdf",
                "contract_url": [
                    {
                        "image_name": "1681286006_Screenshot 2566-04-07 at 16.39.01.png",
                        "image_url": "https://s3-ap-southeast-1.amazonaws.com/fixzy/fixman/55b07f9a1c0ee963008b456a/contract_file/1681286006_Screenshot 2566-04-07 at 16.39.01.png"
                    },
                    {
                        "image_name": "1681286009_Screenshot 2566-04-07 at 16.39.42.png",
                        "image_url": "https://s3-ap-southeast-1.amazonaws.com/fixzy/fixman/55b07f9a1c0ee963008b456a/contract_file/1681286009_Screenshot 2566-04-07 at 16.39.42.png"
                    },
                    {
                        "image_name": "contract_2_file.jpg",
                        "image_url": "https://s3-ap-southeast-1.amazonaws.com/fixzy/fixman/55b07f9a1c0ee963008b456a/contract_2_file/contract_2_file.jpg"
                    }
                ],
                "id_card_url": [
                    {
                        "image_name": "1680893483_Screenshot 2023-03-16 at 12.03.24.png",
                        "image_url": "https://s3-ap-southeast-1.amazonaws.com/fixzy/fixman/55b07f9a1c0ee963008b456a/card_file/1680893483_Screenshot 2023-03-16 at 12.03.24.png"
                    }
                ],
                "id_card_with_owner_url": [
                    {
                        "image_name": "1680892990_Screenshot 2023-03-29 at 10.26.21.png",
                        "image_url": "https://s3-ap-southeast-1.amazonaws.com/fixzy/fixman/55b07f9a1c0ee963008b456a/pic_card_file/1680892990_Screenshot 2023-03-29 at 10.26.21.png"
                    }
                ],
                "confirm_email": null,
                "admin_status": {
                    "title": "ตรวจสอบเสร็จสิ้น",
                    "status": "COMPLETE" ["IN_PROCES" / "COMPLETE"]
                }
            },
            "police_checked": {
                "title": "ได้รับตราสัญลักษณ์แล้ว",
                "badge_active": true
            },
            "home_care_insurance": {
                "title": "ได้รับตราสัญลักษณ์แล้ว",
                "badge_active": true
            },
            "fixzy_recommend": {
                "title": "ได้รับตราสัญลักษณ์แล้ว",
                "badge_active": true,
                "fixzy_recommend_status": {
                    "id_card_verified": true,
                    "police_check_verified": true,
                    "home_care_insurance_verified": true,
                    "fixzy_score_verified": true,
                    "rating_verified": true,
                    "job_verified": true
                }
            }
        },
        "api_result": true
    }
}
```
---
### Send verify email
```
GET /subwebsite/shiftwork/api/shiftwork_api_v100/send_verify_email/format/json
```
#### Authorization (Header) - สำหรับช่าง
```
Bearer b89b0eb0f39e80730b81dea0ebc3276800cd02094936c59d02922eba40323766
```

#### Response

##### Response - `Success 200`


##### Response example
Example : Success
```json=
{
    "data": {
        "api_result": null
    }
}
```
---
### Upload document
```
POST /subwebsite/shiftwork/api/shiftwork_api_v100/upload_document/format/json
```
#### Authorization (Header) - สำหรับช่าง
```
Bearer b89b0eb0f39e80730b81dea0ebc3276800cd02094936c59d02922eba40323766
```
#### Request
Example :
```json=
{
    "file"[]: [file],//เป็นarray ชื่อ file
    "file_type" : "contract" ["contract"/"id_card"/"id_card_with_owner"]
}
```


#### Response

##### Response - `Success 200`


##### Response example
Example : Success
```json=
{
    "data": {
        "api_result": true
    }
}
```
---
### Register
```
POST /subwebsite/shiftwork/api/shiftwork_api_v100/register/format/json
```

#### Request
Example :
```json=
{
    "first_name": "test",
    "last_name": "test",
    "email": "testapi02@mail.com",
    "contact_number": "test",
    "password": "xxxxxxxx"
}
```


#### Response

##### Response - `Success 200`


##### Response example
Example : Success
```json=
{
    "data": {
        "api_result": true,
        "api_token": "7d4750f01924a6353eda65a8bb80f2288833eece105572c65204be5c44ef9501",
        "edit_portfolio_url": "https://provideruat.fixzyapp.co/?token=7d4750f01924a6353eda65a8bb80f2288833eece105572c65204be5c44ef9501"
    }
}
```
Example : Failed
```json=
{
    "data": {
        "custom_message": {
            "title": "",
            "detail": "ไม่สามารถสมัครได้\\nอีเมลนี้ถูกใช้สมัครไปแล้ว",
            "btn": "ปิด",
            "image": null,
            "value": null
        },
        "api_result": false
    }
}
```
---
### Policy Accept
```
POST /subwebsite/shiftwork/api/shiftwork_api_v100/policy_accept/format/json
```
#### Authorization (Header) - สำหรับช่าง
```
Bearer b89b0eb0f39e80730b81dea0ebc3276800cd02094936c59d02922eba40323766
```
#### Request
Example :
```json=
{
    "policy_accept": true
}
```
#### Response

##### Response - `Success 200`


##### Response example
Example : Success
```json=
{
    "data": {
        "api_result": true
    }
}
```
---
### My job list
```
GET /subwebsite/shiftwork/api/shiftwork_api_v100/my_job_list/format/json
```
#### Authorization (Header) - สำหรับช่าง
```
Bearer b89b0eb0f39e80730b81dea0ebc3276800cd02094936c59d02922eba40323766
```
#### Perameter
```
my_job_status: "HAVE_NOT_CHOOSE"[HAVE_NOT_CHOOSE/CHOOSED/JOB_CLOSED]
page: 1
```

#### Response

##### Response - `Success 200`


##### Response example
Example : Success
```json=
{
    "data": {
        "list": [
            {
                "job_id": "6429012a59a23c36134f3d19",
                "image": "https://s3-ap-southeast-1.amazonaws.com/fixzy/category/main_v5/160/ic_sub_01.png?1",
                "title": "ส้วมตัน ",
                "status_text": "สถานะ : รอลูกค้าตอบรับ",
                "status_color": "#FF8A00",
                "responsible_person": "ผู้ดูแล : nikky fixzy",
                "customer": "ผู้เรียก : นิกกี้ เก้าเมตร",
                "location": "สถานที่ : Bang Kapi Bangkok",
                "request_service_date": "สะดวกวันที่บริการ : ไม่ระบุวันที่"
            }
        ],
        "last_page": false,[true/false]
        "api_result": true
    }
}
```
