PUT api/staffs/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
staffName | Description | Type | Additional information |
---|---|---|---|
idx | integer |
None. |
|
company_idx | integer |
None. |
|
part | integer |
None. |
|
mem_id | string |
None. |
|
mem_pwd | string |
None. |
|
mem_name | string |
None. |
|
mem_tel | string |
None. |
|
mem_mobile | string |
None. |
|
mem_email | string |
None. |
|
office | string |
None. |
|
nick | string |
None. |
|
remark | string |
None. |
|
rank | byte |
None. |
|
delchk | string |
None. |
|
useYn | string |
None. |
|
wdate | date |
None. |
|
retiredate | date |
None. |
|
lastlogin | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "idx": 1, "company_idx": 1, "part": 1, "mem_id": "sample string 2", "mem_pwd": "sample string 3", "mem_name": "sample string 4", "mem_tel": "sample string 5", "mem_mobile": "sample string 6", "mem_email": "sample string 7", "office": "sample string 8", "nick": "sample string 9", "remark": "sample string 10", "rank": 64, "delchk": "sample string 12", "useYn": "sample string 13", "wdate": "2024-12-22T02:04:01.5654866+09:00", "retiredate": "2024-12-22T02:04:01.5654866+09:00", "lastlogin": "2024-12-22T02:04:01.5654866+09:00" }
application/xml, text/xml
Sample:
<staff xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiSc4n.Models"> <company_idx>1</company_idx> <delchk>sample string 12</delchk> <idx>1</idx> <lastlogin>2024-12-22T02:04:01.5654866+09:00</lastlogin> <mem_email>sample string 7</mem_email> <mem_id>sample string 2</mem_id> <mem_mobile>sample string 6</mem_mobile> <mem_name>sample string 4</mem_name> <mem_pwd>sample string 3</mem_pwd> <mem_tel>sample string 5</mem_tel> <nick>sample string 9</nick> <office>sample string 8</office> <part>1</part> <rank>64</rank> <remark>sample string 10</remark> <retiredate>2024-12-22T02:04:01.5654866+09:00</retiredate> <useYn>sample string 13</useYn> <wdate>2024-12-22T02:04:01.5654866+09:00</wdate> </staff>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.