POST api/templatetype/save

Request Information

URI Parameters

None.

Body Parameters

TemplateTypeModel
NameDescriptionTypeAdditional information
ID

integer

None.

TemplateName

string

None.

TemplateDescription

string

None.

IsActive

boolean

None.

IsDeleted

boolean

None.

CreatedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "TemplateName": "sample string 2",
  "TemplateDescription": "sample string 3",
  "IsActive": true,
  "IsDeleted": true,
  "CreatedBy": 6
}

application/xml, text/xml

Sample:
<TemplateTypeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApprovalManagementAPI.Models">
  <CreatedBy>6</CreatedBy>
  <ID>1</ID>
  <IsActive>true</IsActive>
  <IsDeleted>true</IsDeleted>
  <TemplateDescription>sample string 3</TemplateDescription>
  <TemplateName>sample string 2</TemplateName>
</TemplateTypeModel>

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.