Skip to content

Commit 7d51f1c

Browse files
authored
Merge pull request #26312 from microsoftgraph/main
Merge main into live
2 parents 5750301 + 0c5213a commit 7d51f1c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

concepts/import-exchange-mailbox-item.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ ms.date: 12/06/2024
99

1010
# Import an Exchange mailbox item using the mailbox import and export APIs
1111

12-
The mailbox import and export APIs allow you to import an Exchange [mailbox item](/graph/resources/mailboxitem) using the [FastTransfer stream](/openspecs/exchange_server_protocols/ms-oxcfxics/a2648823-0a98-43ee-98e8-590e4f7bcbbe) (FTS) format. Items can be restored to the same mailbox or a different one.
12+
The mailbox import and export APIs allow you to import an Exchange [mailbox item](/graph/api/resources/mailboxitem) using the [FastTransfer stream](/openspecs/exchange_server_protocols/ms-oxcfxics/a2648823-0a98-43ee-98e8-590e4f7bcbbe) (FTS) format. Items can be restored to the same mailbox or a different one.
1313

1414
This article describes the two steps required to perform the import process, with an example provided for each step. After successfully uploading the item, you get a response that contains the **itemId** and **changeKey**, which can be saved for later use.
1515

1616
## Step 1: Create an import session
1717

1818
[Create an import session](/graph/api/mailbox-createimportsession) to import an item in a folder in the mailbox.
1919

20-
A successful operation returns a `HTTP 201 Created` response code and a new [mailboxItemImportSession](/graph/resources/mailboxitemimportsession) object in the response body, which contains an opaque **importUrl** that you can use in subsequent POST operations to upload items into a folder.
20+
A successful operation returns a `HTTP 201 Created` response code and a new [mailboxItemImportSession](/graph/api/resources/mailboxitemimportsession) object in the response body, which contains an opaque **importUrl** that you can use in subsequent POST operations to upload items into a folder.
2121

2222
The **mailboxItemImportSession** object in the response also includes the **expirationDateTime** property that indicates the expiration date and time for the auth token embedded in the **importUrl** property value. After this time, the **importUrl** expires and is deleted.
2323

@@ -69,7 +69,7 @@ Content-length: 232
6969

7070
## Step 2: Use the import URL to upload an item
7171

72-
To import the item into the mailbox, make a POST request to the URL returned in the previous step in the **importUrl** property of the [mailboxItemImportSession](/graph/resources/mailboxitemimportsession) object.
72+
To import the item into the mailbox, make a POST request to the URL returned in the previous step in the **importUrl** property of the [mailboxItemImportSession](/graph/api/resources/mailboxitemimportsession) object.
7373

7474
Specify the request body as described in the [Request body](#request-body) section.
7575

@@ -89,7 +89,7 @@ Because the initial opaque URL is preauthenticated and contains the appropriate
8989

9090
### Response
9191

92-
If successful, this action returns a `200 OK` response code and an [importMailboxItemResponse](/graph/resources/importmailboxitemresponse) object in the response body.
92+
If successful, this action returns a `200 OK` response code and an **importMailboxItemResponse** object in the response body.
9393

9494
### Examples
9595

@@ -102,7 +102,7 @@ The following example shows how to import a new item into the mailbox in `create
102102
The following example shows a request.
103103

104104
<!-- {
105-
"blockType": "request",
105+
"blockType": "ignored",
106106
"name": "mailboxthis.importItemCreateMode"
107107
"sampleKeys": ["MBX:e0643f21@a7809c93"]
108108
}
@@ -123,7 +123,7 @@ POST https://outlook.office365.com/api/gbeta/Mailboxes('MBX:e0643f21@a7809c93')/
123123
The following example shows the response.
124124

125125
<!-- {
126-
"blockType": "response",
126+
"blockType": "ignored",
127127
"truncated": true,
128128
"@odata.type": "microsoft.graph.importMailboxItemResponse"
129129
}
@@ -149,7 +149,7 @@ The following example shows how to import a new version of an existing item into
149149
The following example shows a request.
150150

151151
<!-- {
152-
"blockType": "request",
152+
"blockType": "ignored",
153153
"name": "mailboxthis.importItemUpdateMode"
154154
"sampleKeys": ["MBX:e0643f21@a7809c93"]
155155
}
@@ -171,7 +171,7 @@ POST https://outlook.office365.com/api/gbeta/Mailboxes('MBX:e0643f21@a7809c93')/
171171
The following example shows the response.
172172

173173
<!-- {
174-
"blockType": "response",
174+
"blockType": "ignored",
175175
"truncated": true,
176176
"@odata.type": "microsoft.graph.importMailboxItemResponse"
177177
}
@@ -186,4 +186,4 @@ Content-length: 232
186186
"itemId": "EDSVrdi3lRAAFSX03NAAA=",
187187
"changeKey": "kNnynYavKEihA0la3Yt5UQABUftGQf=="
188188
}
189-
```
189+
```

0 commit comments

Comments
 (0)