GET api_v2/account-users?accountId={accountId}

Запрос пагинированного списка пользователей аккаунта

Request Information

Parameters

NameDescriptionAdditional information
accountId
ID аккаунта

Define this parameter in the request URI.

query
Параметры запроса

Define this parameter in the request URI.

Response Information

Пагинированный список пользователей

Response body formats

application/xml, text/xml

Sample:
<SelectDataResultCommonDtoOfAccountUserApiModel>
  <Records>
    <AccountUserApiModel>
      <Id>f5fc28ea-94d7-4f53-bbc4-4ca4b6622467</Id>
      <AccountId>efe9d667-f498-4ef2-be60-c528a9ade758</AccountId>
      <Login>sample string 3</Login>
      <FirstName>sample string 4</FirstName>
      <LastName>sample string 5</LastName>
      <MiddleName>sample string 6</MiddleName>
      <FullName>sample string 7</FullName>
      <Email>sample string 8</Email>
      <PhoneNumber>sample string 9</PhoneNumber>
      <Activated>true</Activated>
      <CreatedInAd>true</CreatedInAd>
      <Unsubscribed>true</Unsubscribed>
      <CreationDate>2022-05-21T15:44:10.3277329+03:00</CreationDate>
      <AccountRoles>
        <string>sample string 1</string>
        <string>sample string 2</string>
        <string>sample string 3</string>
      </AccountRoles>
    </AccountUserApiModel>
    <AccountUserApiModel>
      <Id>f5fc28ea-94d7-4f53-bbc4-4ca4b6622467</Id>
      <AccountId>efe9d667-f498-4ef2-be60-c528a9ade758</AccountId>
      <Login>sample string 3</Login>
      <FirstName>sample string 4</FirstName>
      <LastName>sample string 5</LastName>
      <MiddleName>sample string 6</MiddleName>
      <FullName>sample string 7</FullName>
      <Email>sample string 8</Email>
      <PhoneNumber>sample string 9</PhoneNumber>
      <Activated>true</Activated>
      <CreatedInAd>true</CreatedInAd>
      <Unsubscribed>true</Unsubscribed>
      <CreationDate>2022-05-21T15:44:10.3277329+03:00</CreationDate>
      <AccountRoles>
        <string>sample string 1</string>
        <string>sample string 2</string>
        <string>sample string 3</string>
      </AccountRoles>
    </AccountUserApiModel>
    <AccountUserApiModel>
      <Id>f5fc28ea-94d7-4f53-bbc4-4ca4b6622467</Id>
      <AccountId>efe9d667-f498-4ef2-be60-c528a9ade758</AccountId>
      <Login>sample string 3</Login>
      <FirstName>sample string 4</FirstName>
      <LastName>sample string 5</LastName>
      <MiddleName>sample string 6</MiddleName>
      <FullName>sample string 7</FullName>
      <Email>sample string 8</Email>
      <PhoneNumber>sample string 9</PhoneNumber>
      <Activated>true</Activated>
      <CreatedInAd>true</CreatedInAd>
      <Unsubscribed>true</Unsubscribed>
      <CreationDate>2022-05-21T15:44:10.3277329+03:00</CreationDate>
      <AccountRoles>
        <string>sample string 1</string>
        <string>sample string 2</string>
        <string>sample string 3</string>
      </AccountRoles>
    </AccountUserApiModel>
  </Records>
  <Pagination>
    <CurrentPage>1</CurrentPage>
    <Page>2</Page>
    <Size>3</Size>
    <TotalCount>4</TotalCount>
    <PageSize>5</PageSize>
    <FirstNumber>6</FirstNumber>
    <LastNumber>7</LastNumber>
    <PageCount>8</PageCount>
  </Pagination>
</SelectDataResultCommonDtoOfAccountUserApiModel>

application/json, text/json

Sample:
{
  "Records": [
    {
      "Id": "f5fc28ea-94d7-4f53-bbc4-4ca4b6622467",
      "AccountId": "efe9d667-f498-4ef2-be60-c528a9ade758",
      "Login": "sample string 3",
      "FirstName": "sample string 4",
      "LastName": "sample string 5",
      "MiddleName": "sample string 6",
      "FullName": "sample string 7",
      "Email": "sample string 8",
      "PhoneNumber": "sample string 9",
      "Activated": true,
      "CreatedInAd": true,
      "Unsubscribed": true,
      "CreationDate": "2022-05-21T15:44:10.3277329+03:00",
      "AccountRoles": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    },
    {
      "Id": "f5fc28ea-94d7-4f53-bbc4-4ca4b6622467",
      "AccountId": "efe9d667-f498-4ef2-be60-c528a9ade758",
      "Login": "sample string 3",
      "FirstName": "sample string 4",
      "LastName": "sample string 5",
      "MiddleName": "sample string 6",
      "FullName": "sample string 7",
      "Email": "sample string 8",
      "PhoneNumber": "sample string 9",
      "Activated": true,
      "CreatedInAd": true,
      "Unsubscribed": true,
      "CreationDate": "2022-05-21T15:44:10.3277329+03:00",
      "AccountRoles": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    },
    {
      "Id": "f5fc28ea-94d7-4f53-bbc4-4ca4b6622467",
      "AccountId": "efe9d667-f498-4ef2-be60-c528a9ade758",
      "Login": "sample string 3",
      "FirstName": "sample string 4",
      "LastName": "sample string 5",
      "MiddleName": "sample string 6",
      "FullName": "sample string 7",
      "Email": "sample string 8",
      "PhoneNumber": "sample string 9",
      "Activated": true,
      "CreatedInAd": true,
      "Unsubscribed": true,
      "CreationDate": "2022-05-21T15:44:10.3277329+03:00",
      "AccountRoles": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    }
  ],
  "Pagination": {
    "CurrentPage": 1,
    "Page": 2,
    "Size": 3,
    "TotalCount": 4,
    "PageSize": 5,
    "FirstNumber": 6,
    "LastNumber": 7,
    "PageCount": 8
  }
}