POST V2/savecode/{COMcode}/department

Request Information

URI Parameters

NameDescriptionTypeAdditional information
COMcode

string

Required

Body Parameters

M5DepartmentDataModel
NameDescriptionTypeAdditional information
DEPautoNo

integer

None.

DEPcode

string

None.

DEPgroup

string

None.

DEPdescT

string

None.

DEPdescE

string

None.

DEPlock

integer

None.

DEPhide

integer

None.

DEPeditDT

date

None.

DEPeditMF

string

None.

DEPconnect

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DEPautoNo": 1,
  "DEPcode": "sample string 2",
  "DEPgroup": "sample string 3",
  "DEPdescT": "sample string 4",
  "DEPdescE": "sample string 5",
  "DEPlock": 6,
  "DEPhide": 7,
  "DEPeditDT": "2025-07-18T05:21:57.5009635+07:00",
  "DEPeditMF": "sample string 9",
  "DEPconnect": 10
}

application/xml, text/xml

Sample:
<M5DepartmentDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/M5L_WebAPI.Models">
  <DEPautoNo>1</DEPautoNo>
  <DEPcode>sample string 2</DEPcode>
  <DEPconnect>10</DEPconnect>
  <DEPdescE>sample string 5</DEPdescE>
  <DEPdescT>sample string 4</DEPdescT>
  <DEPeditDT>2025-07-18T05:21:57.5009635+07:00</DEPeditDT>
  <DEPeditMF>sample string 9</DEPeditMF>
  <DEPgroup>sample string 3</DEPgroup>
  <DEPhide>7</DEPhide>
  <DEPlock>6</DEPlock>
</M5DepartmentDataModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.