> 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.md).

# วิธีสร้างบัญชีผู้ใช้งานของพนักงานทีละคน

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

```postman_json
{
    "partner_id": "{{partner-id}}",
    "data": [
        {
            "username": "",
            "firstname": "",
            "lastname": "",
            "birthdate": "",
            "email": "",
            "phone": "",
            "employee_no": "",
            "join_date": null,
            "resign_date": null,
            "work_status": "active"
        }
    ]
}
```

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

<figure><img src="/files/uBQrrqV05EjhWlkPgm0z" alt=""><figcaption><p>อนำข้อมูลต่างๆ ที่ต้องการสร้าง มาใส่</p></figcaption></figure>

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

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

ถ้า สร้างบัญชีผู้ใช้งานไม่สำเร็จ จะแสดง Response ดังภาพด้านล่าง\ <mark style="color:red;">\*\* หากสร้างบัญชีไม่สำเร็จอาจเกิดจาก การใส่ข้อมูลผิดพลาดดังนี้</mark> \
&#x20;   <mark style="color:red;">• Username ซ้ำ</mark>\
&#x20;   <mark style="color:red;">• เบอร์โทรศัพท์ ซ้ำ</mark>\
&#x20;   <mark style="color:red;">• อีเมล์ ซ้ำ</mark>\
&#x20;   <mark style="color:red;">• รูปแบบวันที่ผิด (yy-mm-dd)</mark>\
&#x20;   <mark style="color:red;">• work status ผิดรูปแบบ (active / non-actibe / resign)</mark>

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