Docs

Create Mapping

POST /connections/{connectionId}/folder-mappings

POST/connections/{connectionId}/folder-mappings

Maps a mailbox folder to an event so mail in that folder is routed to the event. The event id is required and the caller needs the event communications contribute permission on it. Folder ids come from LiveMail_GetFolders.

Path Parameters

FieldTypeRequiredDescription
connectionIduuidRequired

Request Body

FieldTypeRequiredDescription
providerFolderIdstringOptional
folderNamestringOptional
targetTypestringOptional
targetIduuidOptional
eventIduuidOptional
eventNamestringOptional