GET api/v1/SharedAccesses
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of SharedAccessName | Description | Type | Additional 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:51:31.6100392+00:00", "EndDate": "2024-11-21T09:51:31.6100392+00:00" }, "AccessToUsers": [ { "UserID": "sample string 1", "LoginName": "sample string 2", "DisplayName": "sample string 3", "StartDate": "2024-11-21T09:51:31.6100392+00:00", "EndDate": "2024-11-21T09:51:31.6100392+00:00" }, { "UserID": "sample string 1", "LoginName": "sample string 2", "DisplayName": "sample string 3", "StartDate": "2024-11-21T09:51:31.6100392+00:00", "EndDate": "2024-11-21T09:51:31.6100392+00:00" } ], "SharedWithUsers": [ { "UserID": "sample string 1", "LoginName": "sample string 2", "DisplayName": "sample string 3", "StartDate": "2024-11-21T09:51:31.6100392+00:00", "EndDate": "2024-11-21T09:51:31.6100392+00:00" }, { "UserID": "sample string 1", "LoginName": "sample string 2", "DisplayName": "sample string 3", "StartDate": "2024-11-21T09:51:31.6100392+00:00", "EndDate": "2024-11-21T09:51:31.6100392+00:00" } ] }, { "User": { "UserID": "sample string 1", "LoginName": "sample string 2", "DisplayName": "sample string 3", "StartDate": "2024-11-21T09:51:31.6100392+00:00", "EndDate": "2024-11-21T09:51:31.6100392+00:00" }, "AccessToUsers": [ { "UserID": "sample string 1", "LoginName": "sample string 2", "DisplayName": "sample string 3", "StartDate": "2024-11-21T09:51:31.6100392+00:00", "EndDate": "2024-11-21T09:51:31.6100392+00:00" }, { "UserID": "sample string 1", "LoginName": "sample string 2", "DisplayName": "sample string 3", "StartDate": "2024-11-21T09:51:31.6100392+00:00", "EndDate": "2024-11-21T09:51:31.6100392+00:00" } ], "SharedWithUsers": [ { "UserID": "sample string 1", "LoginName": "sample string 2", "DisplayName": "sample string 3", "StartDate": "2024-11-21T09:51:31.6100392+00:00", "EndDate": "2024-11-21T09:51:31.6100392+00:00" }, { "UserID": "sample string 1", "LoginName": "sample string 2", "DisplayName": "sample string 3", "StartDate": "2024-11-21T09:51:31.6100392+00:00", "EndDate": "2024-11-21T09:51:31.6100392+00:00" } ] } ]
application/xml, text/xml
Sample:
<ArrayOfSharedAccess xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WorkPointEMM.API.Model"> <SharedAccess> <AccessToUsers> <SharedAccess.UserInfo> <DisplayName>sample string 3</DisplayName> <EndDate>2024-11-21T09:51:31.6100392+00:00</EndDate> <LoginName>sample string 2</LoginName> <StartDate>2024-11-21T09:51:31.6100392+00:00</StartDate> <UserID>sample string 1</UserID> </SharedAccess.UserInfo> <SharedAccess.UserInfo> <DisplayName>sample string 3</DisplayName> <EndDate>2024-11-21T09:51:31.6100392+00:00</EndDate> <LoginName>sample string 2</LoginName> <StartDate>2024-11-21T09:51:31.6100392+00:00</StartDate> <UserID>sample string 1</UserID> </SharedAccess.UserInfo> </AccessToUsers> <SharedWithUsers> <SharedAccess.UserInfo> <DisplayName>sample string 3</DisplayName> <EndDate>2024-11-21T09:51:31.6100392+00:00</EndDate> <LoginName>sample string 2</LoginName> <StartDate>2024-11-21T09:51:31.6100392+00:00</StartDate> <UserID>sample string 1</UserID> </SharedAccess.UserInfo> <SharedAccess.UserInfo> <DisplayName>sample string 3</DisplayName> <EndDate>2024-11-21T09:51:31.6100392+00:00</EndDate> <LoginName>sample string 2</LoginName> <StartDate>2024-11-21T09:51:31.6100392+00:00</StartDate> <UserID>sample string 1</UserID> </SharedAccess.UserInfo> </SharedWithUsers> <User> <DisplayName>sample string 3</DisplayName> <EndDate>2024-11-21T09:51:31.6100392+00:00</EndDate> <LoginName>sample string 2</LoginName> <StartDate>2024-11-21T09:51:31.6100392+00:00</StartDate> <UserID>sample string 1</UserID> </User> </SharedAccess> <SharedAccess> <AccessToUsers> <SharedAccess.UserInfo> <DisplayName>sample string 3</DisplayName> <EndDate>2024-11-21T09:51:31.6100392+00:00</EndDate> <LoginName>sample string 2</LoginName> <StartDate>2024-11-21T09:51:31.6100392+00:00</StartDate> <UserID>sample string 1</UserID> </SharedAccess.UserInfo> <SharedAccess.UserInfo> <DisplayName>sample string 3</DisplayName> <EndDate>2024-11-21T09:51:31.6100392+00:00</EndDate> <LoginName>sample string 2</LoginName> <StartDate>2024-11-21T09:51:31.6100392+00:00</StartDate> <UserID>sample string 1</UserID> </SharedAccess.UserInfo> </AccessToUsers> <SharedWithUsers> <SharedAccess.UserInfo> <DisplayName>sample string 3</DisplayName> <EndDate>2024-11-21T09:51:31.6100392+00:00</EndDate> <LoginName>sample string 2</LoginName> <StartDate>2024-11-21T09:51:31.6100392+00:00</StartDate> <UserID>sample string 1</UserID> </SharedAccess.UserInfo> <SharedAccess.UserInfo> <DisplayName>sample string 3</DisplayName> <EndDate>2024-11-21T09:51:31.6100392+00:00</EndDate> <LoginName>sample string 2</LoginName> <StartDate>2024-11-21T09:51:31.6100392+00:00</StartDate> <UserID>sample string 1</UserID> </SharedAccess.UserInfo> </SharedWithUsers> <User> <DisplayName>sample string 3</DisplayName> <EndDate>2024-11-21T09:51:31.6100392+00:00</EndDate> <LoginName>sample string 2</LoginName> <StartDate>2024-11-21T09:51:31.6100392+00:00</StartDate> <UserID>sample string 1</UserID> </User> </SharedAccess> </ArrayOfSharedAccess>