GET api/Customer/AllUsers

A user that can manage the users for a subscription can use this operation to get all users that have access to this subscriptions.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of UserSettings
NameDescriptionTypeAdditional information
Username

string

None.

Firstname

string

None.

Lastname

string

None.

IsActive

boolean

None.

SubscriptionPermissions

Collection of SubscriptionPermissionInfo

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Username": "sample string 1",
    "Firstname": "sample string 2",
    "Lastname": "sample string 3",
    "IsActive": true,
    "SubscriptionPermissions": [
      {
        "SubscriptionName": "sample string 1",
        "SubscriptionId": "sample string 2",
        "Permissions": [
          "AccessCareSheets",
          "AccessCareSheets"
        ]
      },
      {
        "SubscriptionName": "sample string 1",
        "SubscriptionId": "sample string 2",
        "Permissions": [
          "AccessCareSheets",
          "AccessCareSheets"
        ]
      }
    ]
  },
  {
    "Username": "sample string 1",
    "Firstname": "sample string 2",
    "Lastname": "sample string 3",
    "IsActive": true,
    "SubscriptionPermissions": [
      {
        "SubscriptionName": "sample string 1",
        "SubscriptionId": "sample string 2",
        "Permissions": [
          "AccessCareSheets",
          "AccessCareSheets"
        ]
      },
      {
        "SubscriptionName": "sample string 1",
        "SubscriptionId": "sample string 2",
        "Permissions": [
          "AccessCareSheets",
          "AccessCareSheets"
        ]
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfUserSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities">
  <UserSettings>
    <Firstname>sample string 2</Firstname>
    <IsActive>true</IsActive>
    <Lastname>sample string 3</Lastname>
    <SubscriptionPermissions>
      <SubscriptionPermissionInfo>
        <Permissions>
          <PermissionType>AccessCareSheets</PermissionType>
          <PermissionType>AccessCareSheets</PermissionType>
        </Permissions>
        <SubscriptionId>sample string 2</SubscriptionId>
        <SubscriptionName>sample string 1</SubscriptionName>
      </SubscriptionPermissionInfo>
      <SubscriptionPermissionInfo>
        <Permissions>
          <PermissionType>AccessCareSheets</PermissionType>
          <PermissionType>AccessCareSheets</PermissionType>
        </Permissions>
        <SubscriptionId>sample string 2</SubscriptionId>
        <SubscriptionName>sample string 1</SubscriptionName>
      </SubscriptionPermissionInfo>
    </SubscriptionPermissions>
    <Username>sample string 1</Username>
  </UserSettings>
  <UserSettings>
    <Firstname>sample string 2</Firstname>
    <IsActive>true</IsActive>
    <Lastname>sample string 3</Lastname>
    <SubscriptionPermissions>
      <SubscriptionPermissionInfo>
        <Permissions>
          <PermissionType>AccessCareSheets</PermissionType>
          <PermissionType>AccessCareSheets</PermissionType>
        </Permissions>
        <SubscriptionId>sample string 2</SubscriptionId>
        <SubscriptionName>sample string 1</SubscriptionName>
      </SubscriptionPermissionInfo>
      <SubscriptionPermissionInfo>
        <Permissions>
          <PermissionType>AccessCareSheets</PermissionType>
          <PermissionType>AccessCareSheets</PermissionType>
        </Permissions>
        <SubscriptionId>sample string 2</SubscriptionId>
        <SubscriptionName>sample string 1</SubscriptionName>
      </SubscriptionPermissionInfo>
    </SubscriptionPermissions>
    <Username>sample string 1</Username>
  </UserSettings>
</ArrayOfUserSettings>