POST api/Template/Create

Request Information

URI Parameters

None.

Body Parameters

TemplateSaveVm
NameDescriptionTypeAdditional information
Id

integer

None.

TemplateType

string

None.

TemplateSubType

string

None.

Name

string

None.

Title

string

None.

Message

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "TemplateType": "sample string 2",
  "TemplateSubType": "sample string 3",
  "Name": "sample string 4",
  "Title": "sample string 5",
  "Message": "sample string 6"
}

application/xml, text/xml

Sample:
<TemplateSaveVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Models.SuperAdminModels">
  <Id>1</Id>
  <Message>sample string 6</Message>
  <Name>sample string 4</Name>
  <TemplateSubType>sample string 3</TemplateSubType>
  <TemplateType>sample string 2</TemplateType>
  <Title>sample string 5</Title>
</TemplateSaveVm>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TemplateSaveVm'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.