POST savecode/{COMcode}/personnel
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| COMcode | string |
Required |
Body Parameters
PersonnelDataModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PER_NO | integer |
None. |
|
| PER_code | string |
None. |
|
| PER_dep | string |
None. |
|
| PER_tax | string |
None. |
|
| PER_nameT | string |
None. |
|
| PER_nameE | string |
None. |
|
| PER_bdate | date |
None. |
|
| PER_workS | date |
None. |
|
| PER_workF | date |
None. |
|
| PER_add1 | string |
None. |
|
| PER_add2 | string |
None. |
|
| PER_add3 | string |
None. |
|
| PER_tel | string |
None. |
|
| PER_positn | string |
None. |
|
| PER_status | integer |
None. |
|
| PER_nchild | integer |
None. |
|
| PER_cisstudy | integer |
None. |
|
| PER_notstudy | integer |
None. |
|
| PER_salary | decimal number |
None. |
|
| PER_memo | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PER_NO": 1,
"PER_code": "sample string 2",
"PER_dep": "sample string 3",
"PER_tax": "sample string 4",
"PER_nameT": "sample string 5",
"PER_nameE": "sample string 6",
"PER_bdate": "2026-02-04T09:46:02.241264+07:00",
"PER_workS": "2026-02-04T09:46:02.241264+07:00",
"PER_workF": "2026-02-04T09:46:02.241264+07:00",
"PER_add1": "sample string 10",
"PER_add2": "sample string 11",
"PER_add3": "sample string 12",
"PER_tel": "sample string 13",
"PER_positn": "sample string 14",
"PER_status": 15,
"PER_nchild": 16,
"PER_cisstudy": 17,
"PER_notstudy": 18,
"PER_salary": 19.0,
"PER_memo": "sample string 20"
}
application/xml, text/xml
Sample:
<PersonnelDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/M5L_WebAPI.Models"> <PER_NO>1</PER_NO> <PER_add1>sample string 10</PER_add1> <PER_add2>sample string 11</PER_add2> <PER_add3>sample string 12</PER_add3> <PER_bdate>2026-02-04T09:46:02.241264+07:00</PER_bdate> <PER_cisstudy>17</PER_cisstudy> <PER_code>sample string 2</PER_code> <PER_dep>sample string 3</PER_dep> <PER_memo>sample string 20</PER_memo> <PER_nameE>sample string 6</PER_nameE> <PER_nameT>sample string 5</PER_nameT> <PER_nchild>16</PER_nchild> <PER_notstudy>18</PER_notstudy> <PER_positn>sample string 14</PER_positn> <PER_salary>19</PER_salary> <PER_status>15</PER_status> <PER_tax>sample string 4</PER_tax> <PER_tel>sample string 13</PER_tel> <PER_workF>2026-02-04T09:46:02.241264+07:00</PER_workF> <PER_workS>2026-02-04T09:46:02.241264+07:00</PER_workS> </PersonnelDataModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.