me.message

Copy message

Copy a message to a folder within the user's mailbox.

post/me/messages/{messageId}/copy

Request body

DestinationIdstring

The destination folder ID or well-known folder name

Response

If successful, returns the copied message in the destination folder. Unless, the destination folder may not exist or the message may not be found.

OR
CompletedResponse nullable required

Changes

Changed in 4 of the 10 revisions of this API.149

    • added the optional property anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/attachments/items/allOf[subschema #2: attachment]/contentBytes to the response with the 2XX status

      response-optional-property-added

    • api operation id me.messages.message.copy removed and replaced with copyMessage

      api-operation-id-removed

    • mapped value for discriminator key #microsoft.graph.attachment changed from microsoft.graph.attachment to MicrosoftGraphAttachment for anyOf[MicrosoftGraphMessage]/allOf[MicrosoftGraphOutlookItem]/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.attachment changed from microsoft.graph.attachment to MicrosoftGraphAttachment for anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/attachments/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.attachment changed from microsoft.graph.attachment to MicrosoftGraphAttachment for anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/extensions/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.eventMessage changed from microsoft.graph.message to MicrosoftGraphMessage for anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.fileAttachment changed from microsoft.graph.fileAttachment to MicrosoftGraphAttachment for anyOf[MicrosoftGraphMessage]/allOf[MicrosoftGraphOutlookItem]/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.fileAttachment changed from microsoft.graph.fileAttachment to MicrosoftGraphAttachment for anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/attachments/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.fileAttachment changed from microsoft.graph.fileAttachment to MicrosoftGraphAttachment for anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/attachments/items/allOf[subschema #2: attachment]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.fileAttachment changed from microsoft.graph.fileAttachment to MicrosoftGraphAttachment for anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/extensions/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.itemAttachment changed from microsoft.graph.attachment to MicrosoftGraphAttachment for anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/attachments/items/allOf[subschema #2: attachment]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.mailFolder changed from microsoft.graph.mailFolder to MicrosoftGraphMailFolder for anyOf[MicrosoftGraphMessage]/allOf[MicrosoftGraphOutlookItem]/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.mailFolder changed from microsoft.graph.mailFolder to MicrosoftGraphMailFolder for anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/attachments/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.mailFolder changed from microsoft.graph.mailFolder to MicrosoftGraphMailFolder for anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/extensions/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.mailSearchFolder changed from microsoft.graph.mailSearchFolder to MicrosoftGraphMailFolder for anyOf[MicrosoftGraphMessage]/allOf[MicrosoftGraphOutlookItem]/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.mailSearchFolder changed from microsoft.graph.mailSearchFolder to MicrosoftGraphMailFolder for anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/attachments/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.mailSearchFolder changed from microsoft.graph.mailSearchFolder to MicrosoftGraphMailFolder for anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/extensions/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.message changed from microsoft.graph.message to MicrosoftGraphMessage for anyOf[MicrosoftGraphMessage]/allOf[MicrosoftGraphOutlookItem]/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.message changed from microsoft.graph.message to MicrosoftGraphMessage for anyOf[MicrosoftGraphMessage]/allOf[MicrosoftGraphOutlookItem]/allOf[subschema #2: outlookItem]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.message changed from microsoft.graph.message to MicrosoftGraphMessage for anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/attachments/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.message changed from microsoft.graph.message to MicrosoftGraphMessage for anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/extensions/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.outlookItem changed from microsoft.graph.outlookItem to MicrosoftGraphOutlookItem for anyOf[MicrosoftGraphMessage]/allOf[MicrosoftGraphOutlookItem]/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.outlookItem changed from microsoft.graph.outlookItem to MicrosoftGraphOutlookItem for anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/attachments/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.outlookItem changed from microsoft.graph.outlookItem to MicrosoftGraphOutlookItem for anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/extensions/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.referenceAttachment changed from microsoft.graph.attachment to MicrosoftGraphAttachment for anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/attachments/items/allOf[subschema #2: attachment]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

  • c6fc1d98f528124See the full diff
    • removed the optional property anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/attachments/items/allOf[subschema #2: attachment]/contentBytes from the response with the 2XX status

      response-optional-property-removed

    • api operation id copyMessage removed and replaced with me.messages.message.copy

      api-operation-id-removed

    • mapped value for discriminator key #microsoft.graph.attachment changed from MicrosoftGraphAttachment to microsoft.graph.attachment for anyOf[MicrosoftGraphMessage]/allOf[MicrosoftGraphOutlookItem]/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.attachment changed from MicrosoftGraphAttachment to microsoft.graph.attachment for anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/attachments/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.attachment changed from MicrosoftGraphAttachment to microsoft.graph.attachment for anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/extensions/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.eventMessage changed from MicrosoftGraphMessage to microsoft.graph.message for anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.fileAttachment changed from MicrosoftGraphAttachment to microsoft.graph.fileAttachment for anyOf[MicrosoftGraphMessage]/allOf[MicrosoftGraphOutlookItem]/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.fileAttachment changed from MicrosoftGraphAttachment to microsoft.graph.fileAttachment for anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/attachments/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.fileAttachment changed from MicrosoftGraphAttachment to microsoft.graph.fileAttachment for anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/attachments/items/allOf[subschema #2: attachment]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.fileAttachment changed from MicrosoftGraphAttachment to microsoft.graph.fileAttachment for anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/extensions/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.itemAttachment changed from MicrosoftGraphAttachment to microsoft.graph.attachment for anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/attachments/items/allOf[subschema #2: attachment]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.mailFolder changed from MicrosoftGraphMailFolder to microsoft.graph.mailFolder for anyOf[MicrosoftGraphMessage]/allOf[MicrosoftGraphOutlookItem]/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.mailFolder changed from MicrosoftGraphMailFolder to microsoft.graph.mailFolder for anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/attachments/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.mailFolder changed from MicrosoftGraphMailFolder to microsoft.graph.mailFolder for anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/extensions/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.mailSearchFolder changed from MicrosoftGraphMailFolder to microsoft.graph.mailSearchFolder for anyOf[MicrosoftGraphMessage]/allOf[MicrosoftGraphOutlookItem]/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.mailSearchFolder changed from MicrosoftGraphMailFolder to microsoft.graph.mailSearchFolder for anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/attachments/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.mailSearchFolder changed from MicrosoftGraphMailFolder to microsoft.graph.mailSearchFolder for anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/extensions/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.message changed from MicrosoftGraphMessage to microsoft.graph.message for anyOf[MicrosoftGraphMessage]/allOf[MicrosoftGraphOutlookItem]/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.message changed from MicrosoftGraphMessage to microsoft.graph.message for anyOf[MicrosoftGraphMessage]/allOf[MicrosoftGraphOutlookItem]/allOf[subschema #2: outlookItem]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.message changed from MicrosoftGraphMessage to microsoft.graph.message for anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/attachments/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.message changed from MicrosoftGraphMessage to microsoft.graph.message for anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/extensions/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.outlookItem changed from MicrosoftGraphOutlookItem to microsoft.graph.outlookItem for anyOf[MicrosoftGraphMessage]/allOf[MicrosoftGraphOutlookItem]/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.outlookItem changed from MicrosoftGraphOutlookItem to microsoft.graph.outlookItem for anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/attachments/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.outlookItem changed from MicrosoftGraphOutlookItem to microsoft.graph.outlookItem for anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/extensions/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.referenceAttachment changed from MicrosoftGraphAttachment to microsoft.graph.attachment for anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/attachments/items/allOf[subschema #2: attachment]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed