GET api/v1/UserSharedAccess

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

SharedAccess
NameDescriptionTypeAdditional information
User

UserInfo

None.

AccessToUsers

Collection of UserInfo

None.

SharedWithUsers

Collection of UserInfo

None.

Response Formats

application/json, text/json

Sample:
{
  "User": {
    "UserID": "sample string 1",
    "LoginName": "sample string 2",
    "DisplayName": "sample string 3",
    "StartDate": "2024-11-21T09:37:54.5423541+00:00",
    "EndDate": "2024-11-21T09:37:54.5423541+00:00"
  },
  "AccessToUsers": [
    {
      "UserID": "sample string 1",
      "LoginName": "sample string 2",
      "DisplayName": "sample string 3",
      "StartDate": "2024-11-21T09:37:54.5423541+00:00",
      "EndDate": "2024-11-21T09:37:54.5423541+00:00"
    },
    {
      "UserID": "sample string 1",
      "LoginName": "sample string 2",
      "DisplayName": "sample string 3",
      "StartDate": "2024-11-21T09:37:54.5423541+00:00",
      "EndDate": "2024-11-21T09:37:54.5423541+00:00"
    }
  ],
  "SharedWithUsers": [
    {
      "UserID": "sample string 1",
      "LoginName": "sample string 2",
      "DisplayName": "sample string 3",
      "StartDate": "2024-11-21T09:37:54.5423541+00:00",
      "EndDate": "2024-11-21T09:37:54.5423541+00:00"
    },
    {
      "UserID": "sample string 1",
      "LoginName": "sample string 2",
      "DisplayName": "sample string 3",
      "StartDate": "2024-11-21T09:37:54.5423541+00:00",
      "EndDate": "2024-11-21T09:37:54.5423541+00:00"
    }
  ]
}

application/xml, text/xml

Sample:
<SharedAccess xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WorkPointEMM.API.Model">
  <AccessToUsers>
    <SharedAccess.UserInfo>
      <DisplayName>sample string 3</DisplayName>
      <EndDate>2024-11-21T09:37:54.5423541+00:00</EndDate>
      <LoginName>sample string 2</LoginName>
      <StartDate>2024-11-21T09:37:54.5423541+00:00</StartDate>
      <UserID>sample string 1</UserID>
    </SharedAccess.UserInfo>
    <SharedAccess.UserInfo>
      <DisplayName>sample string 3</DisplayName>
      <EndDate>2024-11-21T09:37:54.5423541+00:00</EndDate>
      <LoginName>sample string 2</LoginName>
      <StartDate>2024-11-21T09:37:54.5423541+00:00</StartDate>
      <UserID>sample string 1</UserID>
    </SharedAccess.UserInfo>
  </AccessToUsers>
  <SharedWithUsers>
    <SharedAccess.UserInfo>
      <DisplayName>sample string 3</DisplayName>
      <EndDate>2024-11-21T09:37:54.5423541+00:00</EndDate>
      <LoginName>sample string 2</LoginName>
      <StartDate>2024-11-21T09:37:54.5423541+00:00</StartDate>
      <UserID>sample string 1</UserID>
    </SharedAccess.UserInfo>
    <SharedAccess.UserInfo>
      <DisplayName>sample string 3</DisplayName>
      <EndDate>2024-11-21T09:37:54.5423541+00:00</EndDate>
      <LoginName>sample string 2</LoginName>
      <StartDate>2024-11-21T09:37:54.5423541+00:00</StartDate>
      <UserID>sample string 1</UserID>
    </SharedAccess.UserInfo>
  </SharedWithUsers>
  <User>
    <DisplayName>sample string 3</DisplayName>
    <EndDate>2024-11-21T09:37:54.5423541+00:00</EndDate>
    <LoginName>sample string 2</LoginName>
    <StartDate>2024-11-21T09:37:54.5423541+00:00</StartDate>
    <UserID>sample string 1</UserID>
  </User>
</SharedAccess>