Getting Mailbox Items

In this article

    You can get a resource representation of organization mailbox items.

    Request

    GET https://<hostname>:4443/v6/RestoreSessions/{restoreSessionId}/organization/mailboxes/{mailboxId}/items

    Request Headers

    The request header must contain an authorization token of the current session.

    Request Parameters

    The following parameters must be specified in the URL of the request:

    Parameter

    Type

    Description

    restoreSessionId

    string

    Specifies the identification number of the restore session. For more information on how to get this parameter, see Getting Restore Sessions.

    mailboxId

    string

    Specifies the identification number of the mailbox. For more information on how to get this parameter, see Getting Mailboxes.

    The following optional parameter can be specified in the URL of the request:

    Parameter

    Type

    Description

    folderId

    string

    Specifies the identification number of the folder. For more information on how to get this parameter, see Getting Mailbox Folders.

    Request Body

    None.

    Response

    The server returns the following response to the client.

    Response Codes

    A successfully completed operation returns a response code 200 OK.

    Response Headers

    The response to this request contains the following headers. The response may also include additional standard HTTPS headers.

    Header

    Description

    Content-length

    The length of the response body.

    Content-type

    The media type and syntax of the response body message: application/json; charset=utf-8

    Response Body

    In the response body, the server returns a resource representation of the /RestoreSessions/{restoreSessionId}/organization/mailboxes/{mailboxId}/items collection resource.

    Examples

    Example 1

    The example returns a resource representation of the organization mailbox items. The server will return a page with first 30 elements of the /RestoreSessions/{restoreSessionId}/organization/mailboxes/{mailboxId}/items  collection resource.

    Request:

    GET https://abc.tech.local:4443/v6/RestoreSessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items

     

    Request Header:

    Authorization: Bearer <Access-Token>

     

    Response:

    200 OK

     

    Response Body:

    {

     "offset": 0,

     "limit": 30,

     "_links": {

       "self": {

         "href": "/v6/RestoreSessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items?offset=0&limit=30"

       },

       "next": {

         "href": "/v6/RestoreSessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items?offset=30&limit=30"

       }

     },

     "results": [

       {

         "subject": "Weekly digest",

         "itemClass": "IPM.Note",

         "_links": {

           "self": {

             "href": "/v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAQ_inbcAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAAEP4p23AAAD2pjOjmh2QoRDeowbf30bAAEP4qGiAAAD2pjOjmh2QoRDeowbf30bAAEPO8GP"

           },

           "parent": {

             "href": "/v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/folders/AAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAQ_inbcAAA"

           },

           "mailbox": {

             "href": "/v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38"

           }

         },

         "_actions": {

           "restoreToOriginalLocation": {

             "uri": "v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAQ_inbcAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAAEP4p23AAAD2pjOjmh2QoRDeowbf30bAAEP4qGiAAAD2pjOjmh2QoRDeowbf30bAAEPO8GP/restore",

             "method": "POST"

           },

           "restoreTo": {

             "uri": "v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAQ_inbcAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAAEP4p23AAAD2pjOjmh2QoRDeowbf30bAAEP4qGiAAAD2pjOjmh2QoRDeowbf30bAAEPO8GP/restoreTo",

             "method": "POST"

           },

           "exportToPst": {

             "uri": "v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAQ_inbcAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAAEP4p23AAAD2pjOjmh2QoRDeowbf30bAAEP4qGiAAAD2pjOjmh2QoRDeowbf30bAAEPO8GP/exportToPst",

             "method": "POST"

           },

           "saveToMsg": {

             "uri": "v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAQ_inbcAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAAEP4p23AAAD2pjOjmh2QoRDeowbf30bAAEP4qGiAAAD2pjOjmh2QoRDeowbf30bAAEPO8GP/Save",

             "method": "POST"

           },

           "sendToDefaultAddress": {

             "uri": "v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAQ_inbcAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAAEP4p23AAAD2pjOjmh2QoRDeowbf30bAAEP4qGiAAAD2pjOjmh2QoRDeowbf30bAAEPO8GP/sendToDefaultAddress",

             "method": "POST"

           },

           "sendToDifferentAddress": {

             "uri": "v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAQ_inbcAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAAEP4p23AAAD2pjOjmh2QoRDeowbf30bAAEP4qGiAAAD2pjOjmh2QoRDeowbf30bAAEPO8GP/sendToDifferentAddress",

             "method": "POST"

           }

         },

         "id": "LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAQ_inbcAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAAEP4p23AAAD2pjOjmh2QoRDeowbf30bAAEP4qGiAAAD2pjOjmh2QoRDeowbf30bAAEPO8GP",

         "from": "Message center",

         "cc": "",

         "bcc": "",

         "to": "Administrator",

         "sent": "2022-02-15T04:02:57Z",

         "received": "2022-02-15T04:03:02.6753048Z",

         "reminder": false,

         "importance": "Normal"

       },

       {

         "organizer": "Administrator",

         "attendees": "Administrator",

         "startTime": "2021-04-15T20:00:00Z",

         "endTime": "2021-04-15T20:30:00Z",

         "location": "",

         "subject": "Appointment1",

         "recurrencePatternFormat": "",

         "recurring": false,

         "itemClass": "IPM.Appointment",

         "_links": {

           "self": {

             "href": "/v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAACvO5OIAAAD2pjOjmh2QoRDeowbf30bAACvPM6uAAAD2pjOjmh2QoRDeowbf30bAACu0K62"

           },

           "parent": {

             "href": "/v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/folders/AAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAA"

           },

           "mailbox": {

             "href": "/v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38"

           }

         },

         "_actions": {

           "restoreToOriginalLocation": {

             "uri": "v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAACvO5OIAAAD2pjOjmh2QoRDeowbf30bAACvPM6uAAAD2pjOjmh2QoRDeowbf30bAACu0K62/restore",

             "method": "POST"

           },

           "restoreTo": {

             "uri": "v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAACvO5OIAAAD2pjOjmh2QoRDeowbf30bAACvPM6uAAAD2pjOjmh2QoRDeowbf30bAACu0K62/restoreTo",

             "method": "POST"

           },

           "exportToPst": {

             "uri": "v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAACvO5OIAAAD2pjOjmh2QoRDeowbf30bAACvPM6uAAAD2pjOjmh2QoRDeowbf30bAACu0K62/exportToPst",

             "method": "POST"

           },

           "saveToMsg": {

             "uri": "v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAACvO5OIAAAD2pjOjmh2QoRDeowbf30bAACvPM6uAAAD2pjOjmh2QoRDeowbf30bAACu0K62/Save",

             "method": "POST"

           },

           "sendToDefaultAddress": {

             "uri": "v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAACvO5OIAAAD2pjOjmh2QoRDeowbf30bAACvPM6uAAAD2pjOjmh2QoRDeowbf30bAACu0K62/sendToDefaultAddress",

             "method": "POST"

           },

           "sendToDifferentAddress": {

             "uri": "v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAACvO5OIAAAD2pjOjmh2QoRDeowbf30bAACvPM6uAAAD2pjOjmh2QoRDeowbf30bAACu0K62/sendToDifferentAddress",

             "method": "POST"

           }

         },

         "id": "LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAACvO5OIAAAD2pjOjmh2QoRDeowbf30bAACvPM6uAAAD2pjOjmh2QoRDeowbf30bAACu0K62"

       },

    ...

     ],

     "setId": "00000000-0000-0000-0000-000000000000"

    }

    Example 2

    The example returns a resource representation of the organization mailbox items. The server will return a page with 2 elements of the /RestoreSessions/{restoreSessionId}/organization/mailboxes/{mailboxId}/items collection resource. The page will return results starting from the 10th element.

    Request:

    GET https://abc.tech.local:4443/v6/RestoreSessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items?offset=9&limit=2

     

    Request Header:

    Authorization: Bearer <Access-Token>

     

    Response:

    200 OK

     

    Response Body:

    {

     "offset": 9,

     "limit": 2,

     "_links": {

       "first": {

         "href": "/v6/RestoreSessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items?offset=0&limit=2"

       },

       "prev": {

         "href": "/v6/RestoreSessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items?offset=7&limit=2"

       },

       "self": {

         "href": "/v6/RestoreSessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items?offset=9&limit=2"

       },

       "next": {

         "href": "/v6/RestoreSessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items?offset=11&limit=2"

       }

     },

     "results": [

       {

         "subject": "Major update",

         "itemClass": "IPM.Note",

         "_links": {

           "self": {

             "href": "/v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAACvO5OIAAAD2pjOjmh2QoRDeowbf30bAACvPM6lAAAD2pjOjmh2QoRDeowbf30bAACu0K77"

           },

           "parent": {

             "href": "/v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/folders/AAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAA"

           },

           "mailbox": {

             "href": "/v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38"

           }

         },

         "_actions": {

           "restoreToOriginalLocation": {

             "uri": "v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAACvO5OIAAAD2pjOjmh2QoRDeowbf30bAACvPM6lAAAD2pjOjmh2QoRDeowbf30bAACu0K77/restore",

             "method": "POST"

           },

           "restoreTo": {

             "uri": "v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAACvO5OIAAAD2pjOjmh2QoRDeowbf30bAACvPM6lAAAD2pjOjmh2QoRDeowbf30bAACu0K77/restoreTo",

             "method": "POST"

           },

           "exportToPst": {

             "uri": "v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAACvO5OIAAAD2pjOjmh2QoRDeowbf30bAACvPM6lAAAD2pjOjmh2QoRDeowbf30bAACu0K77/exportToPst",

             "method": "POST"

           },

           "saveToMsg": {

             "uri": "v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAACvO5OIAAAD2pjOjmh2QoRDeowbf30bAACvPM6lAAAD2pjOjmh2QoRDeowbf30bAACu0K77/Save",

             "method": "POST"

           },

           "sendToDefaultAddress": {

             "uri": "v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAACvO5OIAAAD2pjOjmh2QoRDeowbf30bAACvPM6lAAAD2pjOjmh2QoRDeowbf30bAACu0K77/sendToDefaultAddress",

             "method": "POST"

           },

           "sendToDifferentAddress": {

             "uri": "v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAACvO5OIAAAD2pjOjmh2QoRDeowbf30bAACvPM6lAAAD2pjOjmh2QoRDeowbf30bAACu0K77/sendToDifferentAddress",

             "method": "POST"

           }

         },

         "id": "LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAACvO5OIAAAD2pjOjmh2QoRDeowbf30bAACvPM6lAAAD2pjOjmh2QoRDeowbf30bAACu0K77",

         "from": "Message center",

         "cc": "",

         "bcc": "",

         "to": "Administrator",

         "sent": "2021-09-21T04:30:04Z",

         "received": "2021-09-21T04:30:07.338601Z",

         "reminder": false,

         "importance": "Normal"

       },

       {

         "attachments": [],

         "subject": "Analytics",

         "itemClass": "IPM.Note",

         "_links": {

           "self": {

             "href": "/v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAACvO5OIAAAD2pjOjmh2QoRDeowbf30bAACvPM6wAAAD2pjOjmh2QoRDeowbf30bAACu0K7Z"

           },

           "parent": {

             "href": "/v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/folders/AAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAA"

           },

           "mailbox": {

             "href": "/v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38"

           }

         },

         "_actions": {

           "restoreToOriginalLocation": {

             "uri": "v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAACvO5OIAAAD2pjOjmh2QoRDeowbf30bAACvPM6wAAAD2pjOjmh2QoRDeowbf30bAACu0K7Z/restore",

             "method": "POST"

           },

           "restoreTo": {

             "uri": "v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAACvO5OIAAAD2pjOjmh2QoRDeowbf30bAACvPM6wAAAD2pjOjmh2QoRDeowbf30bAACu0K7Z/restoreTo",

             "method": "POST"

           },

           "exportToPst": {

             "uri": "v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAACvO5OIAAAD2pjOjmh2QoRDeowbf30bAACvPM6wAAAD2pjOjmh2QoRDeowbf30bAACu0K7Z/exportToPst",

             "method": "POST"

           },

           "saveToMsg": {

             "uri": "v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAACvO5OIAAAD2pjOjmh2QoRDeowbf30bAACvPM6wAAAD2pjOjmh2QoRDeowbf30bAACu0K7Z/Save",

             "method": "POST"

           },

           "sendToDefaultAddress": {

             "uri": "v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAACvO5OIAAAD2pjOjmh2QoRDeowbf30bAACvPM6wAAAD2pjOjmh2QoRDeowbf30bAACu0K7Z/sendToDefaultAddress",

             "method": "POST"

           },

           "sendToDifferentAddress": {

             "uri": "v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAACvO5OIAAAD2pjOjmh2QoRDeowbf30bAACvPM6wAAAD2pjOjmh2QoRDeowbf30bAACu0K7Z/sendToDifferentAddress",

             "method": "POST"

           }

         },

         "id": "LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAACvO5OIAAAD2pjOjmh2QoRDeowbf30bAACvPM6wAAAD2pjOjmh2QoRDeowbf30bAACu0K7Z",

         "from": "Analytics",

         "cc": "",

         "bcc": "",

         "to": "Administrator",

         "sent": "2021-09-20T15:08:59.0769145Z",

         "received": "2021-09-20T15:08:59.0769145Z",

         "reminder": false,

         "importance": "Normal"

       }

     ],

     "setId": "00000000-0000-0000-0000-000000000000"

    }

    Example 3

    The example returns a resource representation of the items of the mailbox folder with the specified ID.

    Request:

    GET https://abc.tech.local:4443/v6/RestoreSessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items?folderId=AAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAACls1iYAAA

     

    Request Header:

    Authorization: Bearer <Access-Token>

     

    Response:

    200 OK

     

    Response Body:

    {

     "offset": 0,

     "limit": 30,

     "_links": {

       "self": {

         "href": "/v6/RestoreSessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items?folderid=AAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAACls1iYAAA&offset=0&limit=30"

       }

     },

     "results": [

       {

         "subject": "Major update",

         "itemClass": "IPM.Note",

         "_links": {

           "self": {

             "href": "/v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAACvO5OIAAAD2pjOjmh2QoRDeowbf30bAACvPM6lAAAD2pjOjmh2QoRDeowbf30bAACu0K77"

           },

           "parent": {

             "href": "/v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/folders/AAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAA"

           },

           "mailbox": {

             "href": "/v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38"

           }

         },

         "_actions": {

           "restoreToOriginalLocation": {

             "uri": "v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAACvO5OIAAAD2pjOjmh2QoRDeowbf30bAACvPM6lAAAD2pjOjmh2QoRDeowbf30bAACu0K77/restore",

             "method": "POST"

           },

           "restoreTo": {

             "uri": "v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAACvO5OIAAAD2pjOjmh2QoRDeowbf30bAACvPM6lAAAD2pjOjmh2QoRDeowbf30bAACu0K77/restoreTo",

             "method": "POST"

           },

           "exportToPst": {

             "uri": "v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAACvO5OIAAAD2pjOjmh2QoRDeowbf30bAACvPM6lAAAD2pjOjmh2QoRDeowbf30bAACu0K77/exportToPst",

             "method": "POST"

           },

           "saveToMsg": {

             "uri": "v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAACvO5OIAAAD2pjOjmh2QoRDeowbf30bAACvPM6lAAAD2pjOjmh2QoRDeowbf30bAACu0K77/Save",

             "method": "POST"

           },

           "sendToDefaultAddress": {

             "uri": "v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAACvO5OIAAAD2pjOjmh2QoRDeowbf30bAACvPM6lAAAD2pjOjmh2QoRDeowbf30bAACu0K77/sendToDefaultAddress",

             "method": "POST"

           },

           "sendToDifferentAddress": {

             "uri": "v6/restoresessions/a468425c-16f2-46da-8749-8201f5362717/organization/mailboxes/ebd6ed0c-0408-4186-a4c3-3fdd9a09da38/items/LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAACvO5OIAAAD2pjOjmh2QoRDeowbf30bAACvPM6lAAAD2pjOjmh2QoRDeowbf30bAACu0K77/sendToDifferentAddress",

             "method": "POST"

           }

         },

         "id": "LgAAAEYAAAAWAAAAAAAAAJ7Ud6iCPnBAjFTpuPzGiSMBAAPamM6OaHZChEN6jBt_fRsAAK87k4gAAAAAAACe1Heogj5wQIxU6bj8xokjBwAD2pjOjmh2QoRDeowbf30bAACvO5OIAAAD2pjOjmh2QoRDeowbf30bAACvPM6lAAAD2pjOjmh2QoRDeowbf30bAACu0K77",

         "from": "Message center",

         "cc": "",

         "bcc": "",

         "to": "Administrator",

         "sent": "2021-09-21T04:30:04Z",

         "received": "2021-09-21T04:30:07.338601Z",

         "reminder": false,

         "importance": "Normal"

       }

     ],

     "setId": "00000000-0000-0000-0000-000000000000"

    }