POST api/saveEdmTemplate

Request Information

URI Parameters

None.

Body Parameters

SaveEdmTemplateRequest
NameDescriptionTypeAdditional information
metId

integer

None.

templateCode

string

Required

clientCode

string

None.

templateName

string

String length: inclusive between 0 and 255

startDate

date

None.

endDate

date

None.

json

string

None.

image

string

None.

html

string

None.

type

string

None.

isActive

string

Required

String length: inclusive between 0 and 1

bcc

string

String length: inclusive between 0 and 255

cc

string

String length: inclusive between 0 and 255

group

string

None.

Request Formats

application/json, text/json

Sample:
{
  "metId": 1,
  "templateCode": "sample string 2",
  "clientCode": "sample string 3",
  "templateName": "sample string 4",
  "startDate": "2026-01-13T07:48:45.8116671+07:00",
  "endDate": "2026-01-13T07:48:45.8116671+07:00",
  "json": "sample string 5",
  "image": "sample string 6",
  "html": "sample string 7",
  "type": "sample string 8",
  "isActive": "sample string 9",
  "bcc": "sample string 12",
  "cc": "sample string 13",
  "group": "sample string 14"
}

application/xml, text/xml

Sample:
<SaveEdmTemplateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VentilatorAPI.HTTP.Request">
  <bcc>sample string 12</bcc>
  <cc>sample string 13</cc>
  <clientCode>sample string 3</clientCode>
  <createBy>sample string 10</createBy>
  <endDate>2026-01-13T07:48:45.8116671+07:00</endDate>
  <group>sample string 14</group>
  <html>sample string 7</html>
  <image>sample string 6</image>
  <isActive>sample string 9</isActive>
  <json>sample string 5</json>
  <metId>1</metId>
  <startDate>2026-01-13T07:48:45.8116671+07:00</startDate>
  <templateCode>sample string 2</templateCode>
  <templateName>sample string 4</templateName>
  <type>sample string 8</type>
  <updateBy>sample string 11</updateBy>
</SaveEdmTemplateRequest>

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.