PUT api/modules/supportdesk/mailtemplates/{id}

Updates a specific SupportDeskMailTemplate.



Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The id of the SupportDeskMailTemplate to update.

integer

Required



Body Parameters

An object containing the values to update the SupportDeskMailTemplate with.

UpdateSupportDeskMailTemplateViewModel
NameDescriptionTypeAdditional information
Description

string

None.

MailText

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Description": "sample string 1",
  "MailText": "sample string 2"
}

application/xml, text/xml

Sample:
<UpdateSupportDeskMailTemplateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSoft.Models.ViewModels">
  <Description>sample string 1</Description>
  <MailText>sample string 2</MailText>
</UpdateSupportDeskMailTemplateViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.



Response Information

Resource Description

A ReadSupportDeskMailTemplateViewModel, representing the updated SupportDeskMailTemplate, if successful; an HTTP exception, otherwise.

ReadSupportDeskMailTemplateViewModel

NameDescriptionTypeAdditional information
Description

string

None.

Id

integer

None.

MailText

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Description": "sample string 1",
  "Id": 2,
  "MailText": "sample string 3"
}

application/xml, text/xml

Sample:
<ReadSupportDeskMailTemplateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSoft.Models.ViewModels">
  <Description>sample string 1</Description>
  <Id>2</Id>
  <MailText>sample string 3</MailText>
</ReadSupportDeskMailTemplateViewModel>