PUT api/modules/supportdesk/mailaccounts/{supportDeskMailAccountId}

Updates a specific SupportDeskMailAccount.



Request Information

URI Parameters

NameDescriptionTypeAdditional information
supportDeskMailAccountId

The id of the SupportDeskMailAccount to update.

integer

Required



Body Parameters

An object containing the updated SupportDeskMailAccount values.

UpdateSupportDeskMailAccountViewModel
NameDescriptionTypeAdditional information
Description

string

None.

SharedMailBox

string

None.

Signature

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Description": "sample string 1",
  "SharedMailBox": "sample string 2",
  "Signature": "sample string 3"
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.



Response Information

Resource Description

A ReadSupportDeskMailAccountViewModel representing the updated SupportDeskMailAccount, if successful; null, an HttpException otherwise.

ReadSupportDeskMailAccountViewModel

NameDescriptionTypeAdditional information
ApiTypeId

integer

None.

Description

string

None.

EmailAddress

string

None.

Id

integer

None.

IsConfigured

boolean

None.

SharedMailBox

string

None.

Signature

string

None.

SupportDeskConfigurationId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ApiTypeId": 1,
  "Description": "sample string 1",
  "EmailAddress": "sample string 2",
  "Id": 3,
  "IsConfigured": true,
  "SharedMailBox": "sample string 5",
  "Signature": "sample string 6",
  "SupportDeskConfigurationId": 7
}

application/xml, text/xml

Sample:
<ReadSupportDeskMailAccountViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSoft.Models.ViewModels">
  <ApiTypeId>1</ApiTypeId>
  <Description>sample string 1</Description>
  <EmailAddress>sample string 2</EmailAddress>
  <Id>3</Id>
  <IsConfigured>true</IsConfigured>
  <SharedMailBox>sample string 5</SharedMailBox>
  <Signature>sample string 6</Signature>
  <SupportDeskConfigurationId>7</SupportDeskConfigurationId>
</ReadSupportDeskMailAccountViewModel>