> For the complete documentation index, see [llms.txt](https://guide.wellexp.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.wellexp.co/api-manual/undefined-1.md).

# วิธีแก้ไขรายชื่อของพนักงาน

• เข้าที่ Folder "Employee"\
• เลือก sub folder "update profile"\
• เลือก tab menu "Body"\
• นำ request  มาใส่

```postman_json
{
    "partner_id": "{{partner-id}}",
    "data": [
        {
            "employee_id": 14685,
            "firstname": "Niyomsin",
            "lastname": "API",
            "birthdate": "",
            "email": "Thunyaporn@wellios.co.th",
            "phone": "",
            "join_date": null,
            "resign_date": null,
            "work_status": "active"
        }
    ]
}
```

• นำข้อมูลต่างๆ ที่ต้องการอัพเดท มาใส่\
• กด "Send"

<figure><img src="/files/tjMZG9HjPb6nh88Dawl3" alt=""><figcaption></figcaption></figure>

ถ้า อัพเดทบัญชีผู้ใช้งานสำเร็จ จะแสดง Response ดังภาพด้านล่าง

<figure><img src="/files/tWi9Kf3r2EsABm4kXYLR" alt=""><figcaption><p>อัพเดทบัญชีผู้ใช้งานสำเร็จ</p></figcaption></figure>

ถ้า อัพเดทบัญชีผู้ใช้งานไม่สำเร็จ จะแสดง Response ดังภาพด้านล่าง\ <mark style="color:red;">\*\* หากอัพเดทบัญชีไม่สำเร็จอาจเกิดจาก การใส่ข้อมูลผิดพลาดดังนี้</mark> \
&#x20;   <mark style="color:red;">• Employee id ผิดพลาดหรือไม่ตรงกับผู้ใช้งานที่ต้องการอัพเดท</mark>

<figure><img src="/files/lnin2wysPkRJQk4I6Mjo" alt=""><figcaption><p>อัพเดทบัญชีผู้ใช้งานไม่สำเร็จ</p></figcaption></figure>
