POST V3/savecode/{COMcode}/department
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
COMcode | string |
Required |
Body Parameters
M5L_DepartmentDataModelName | Description | Type | Additional information |
---|---|---|---|
CT_no | integer |
None. |
|
CT_code | string |
None. |
|
CT_group | string |
None. |
|
CT_desT | string |
None. |
|
CT_desE | string |
None. |
|
CT_lock | integer |
None. |
|
CT_hide | integer |
None. |
|
CT_cnect | integer |
None. |
|
CT_editDT | date |
None. |
|
CT_editUSR | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "CT_no": 1, "CT_code": "sample string 2", "CT_group": "sample string 3", "CT_desT": "sample string 4", "CT_desE": "sample string 5", "CT_lock": 6, "CT_hide": 7, "CT_cnect": 8, "CT_editDT": "2025-07-18T05:34:31.2080503+07:00", "CT_editUSR": "sample string 10" }
application/xml, text/xml
Sample:
<M5L_DepartmentDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/M5L_WebAPI.Models"> <CT_cnect>8</CT_cnect> <CT_code>sample string 2</CT_code> <CT_desE>sample string 5</CT_desE> <CT_desT>sample string 4</CT_desT> <CT_editDT>2025-07-18T05:34:31.2080503+07:00</CT_editDT> <CT_editUSR>sample string 10</CT_editUSR> <CT_group>sample string 3</CT_group> <CT_hide>7</CT_hide> <CT_lock>6</CT_lock> <CT_no>1</CT_no> </M5L_DepartmentDataModel>
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.