Getting Information on Operation by LogItem ID

In this article

    You can get information about a specific operation performed during the data retrieval session.

    Request

    GET https://<hostname>:4443/v6/DataRetrievalSessions/{sessionId}/LogItems/{logItemId}

    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

    sessionId

    string

    Specifies the identification number of the data retrieval session. For more information on how to get this parameter, see Getting Data Retrieval Sessions.

    logItemID

    string

    Specifies the identification number of the operation. For more information on how to get this parameter, see Getting Information on Operations by Session ID.

    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 /DataRetrievalSessions/{sessionId}/LogItems/{logItemId} resource. The response body contains the following properties:

    Property

    Type

    Description

    id

    string

    Specifies the ID of the operation performed during the retrieval job.

    usn

    integer

    Specifies the order number of the operation performed during the retrieval job.

    title

    string

    Specifies status and short description of the operation performed during the retrieval job.

    creationTime

    UTC

    Specifies date and time of the operation start.

    endTime

    UTC

    Specifies date and time of the operation end.

    _links

    Dictionary of string [key] and Object [value]

    Links to related resources (navigation property).

    Example

    The example returns a resource representation of the specified operation that was performed during the specified data retrieval session.

    Request:

    GET https://abc.tech.local:4443/v6/DataRetrievalSessions/668f478c-0326-440a-8bdf-58cf39163ea2/LogItems/0cadea59-9320-4028-ab47-89b190a15f90

     

    Request Header:

    Authorization: Bearer <Access-Token>

     

    Response:

    200 OK

     

    Response Body:

    {

     "id": "0cadea59-9320-4028-ab47-89b190a15f90",

     "usn": 2,

     "title": "[Success] Collecting object list for mailbox: user1@abc.onmicrosoft.com",

     "creationTime": "2022-01-28T19:52:36.9586995Z",

     "endTime": "2022-01-28T19:52:47.144286Z",

     "_links": {

       "self": {

         "href": "v6/jobsessions/668f478c-0326-440a-8bdf-58cf39163ea2/logitems/0cadea59-9320-4028-ab47-89b190a15f90"

       },

       "jobsessions": {

         "href": "v6/jobsessions/668f478c-0326-440a-8bdf-58cf39163ea2"

       }

     }

    }