POST Template

Request Information

URI Parameters

None.

Body Parameters

TemplateDto
NameDescriptionTypeAdditional information
Code

string

Required

String length: inclusive between 0 and 300

Description

string

None.

Text

string

Required

Request Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "Description": "sample string 2",
  "Text": "sample string 3"
}

application/xml, text/xml

Sample:
<TemplateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PackageSite.Models.Dto">
  <Code>sample string 1</Code>
  <Description>sample string 2</Description>
  <Text>sample string 3</Text>
</TemplateDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

TemplateDto
NameDescriptionTypeAdditional information
Code

string

Required

String length: inclusive between 0 and 300

Description

string

None.

Text

string

Required

Response Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "Description": "sample string 2",
  "Text": "sample string 3"
}

application/xml, text/xml

Sample:
<TemplateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PackageSite.Models.Dto">
  <Code>sample string 1</Code>
  <Description>sample string 2</Description>
  <Text>sample string 3</Text>
</TemplateDto>