GET api/modules/supportdesk/mailaccounts/{supportDeskMailAccountId}/mailfolders

Gets the MailFolders associated with a SupportDeskMailAccount's Microsoft Graph connection.



Request Information

URI Parameters

NameDescriptionTypeAdditional information
supportDeskMailAccountId

The id of the SupportDeskMailAccount.

integer

Required



Body Parameters

None.



Response Information

Resource Description

A collection of MicrosoftGraphMailFolderModel, representing the Microsoft Graph MailFolder collection.

Collection of MicrosoftGraphMailFolderModel

NameDescriptionTypeAdditional information
DisplayName

string

None.

Id

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "DisplayName": "sample string 1",
    "Id": "sample string 2"
  },
  {
    "DisplayName": "sample string 1",
    "Id": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfMicrosoftGraphMailFolderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSoft.Models.ViewModels.Apis.Microsoft_Graph">
  <MicrosoftGraphMailFolderModel>
    <DisplayName>sample string 1</DisplayName>
    <Id>sample string 2</Id>
  </MicrosoftGraphMailFolderModel>
  <MicrosoftGraphMailFolderModel>
    <DisplayName>sample string 1</DisplayName>
    <Id>sample string 2</Id>
  </MicrosoftGraphMailFolderModel>
</ArrayOfMicrosoftGraphMailFolderModel>