Getting Restore Points for Teams

In this article

    You can get a list of teams contained in a restore point with the specified ID.

    Request

    GET https://<hostname>:4443/v6/RestorePoints/{restorePointId}/teams

    Request Headers

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

    Request Parameters

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

    Parameter

    Type

    Description

    restorePointId

    string

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

    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 /RestorePoints/{restorePointId}/teams resource. The response body contains the following properties:

    Property

    Type

    Description

    id

    string

    Specifies the team ID.

    displayName

    string

    Specifies the team display name.

    description

    string

    Specifies the team description.

    _links

    Dictionary of string [key] and Object [value]

    Links to related resources (navigation property).

    Example

    The example returns a resource representation of teams in the restore point with the ID f8eec7e0-e063-4d6f-b695-5fb7757e4ebe44f261f7-8ac2-4880-a932-9082568a8d39.

    Request:

    GET https://abc.tech.local:4443/v6/RestorePoints/f8eec7e0-e063-4d6f-b695-5fb7757e4ebe44f261f7-8ac2-4880-a932-9082568a8d39/teams

     

    Request Header:

    Authorization: Bearer <Access-Token>

     

    Response:

    200 OK

     

    Response Body:

    [

     {

       "id": "448c5b66-8dcd-4c75-b636-d3b500bce36f",

       "displayName": "IT&Finance",

       "description": "IT&Finance",

       "_links": {

         "restorePoint": {

           "href": "/v6/restorePoints/f8eec7e0-e063-4d6f-b695-5fb7757e4ebe44f261f7-8ac2-4880-a932-9082568a8d39"

         }

       }

     }

    ]