POST api/modules/supportdesk/configurations/{supportDeskConfigurationId}/mailaccounts/create-empty

Creates an empty SupportDeskMailAccount.



Request Information

URI Parameters

NameDescriptionTypeAdditional information
supportDeskConfigurationId

The id of the SupportDeskConfiguration for which to create an empty SupportDeskMailAccount.

integer

Required



Body Parameters

None.



Response Information

Resource Description

A ReadSupportDeskMailAccountViewModel representing the created SupportDeskMailAccount.

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>