POST api/Account/GetUsers

Request Information

URI Parameters

None.

Body Parameters

GetUsersRequest
NameDescriptionTypeAdditional information
Token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Token": "sample string 2"
}

application/xml, text/xml

Sample:
<GetUsersRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Account.Request">
  <Token xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">sample string 2</Token>
  <PartnerId>sample string 1</PartnerId>
</GetUsersRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetUsersResponse
NameDescriptionTypeAdditional information
Users

Collection of User

None.

ErrorCode

string

None.

ErrorMessage

string

None.

ErrorCategory

string

None.

Result

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Users": [
    {
      "UserId": "sample string 1",
      "Username": "sample string 2",
      "FirstName": "sample string 3",
      "LastName": "sample string 4",
      "Password": "sample string 5",
      "Email": "sample string 6",
      "PhoneNumber": "sample string 7",
      "Image": "sample string 8",
      "UserStatusId": 64,
      "LastLoginTime": "2024-11-21T13:24:33.1295051+03:00",
      "UserTypeId": 64,
      "CountryId": 12,
      "CultureId": 13,
      "CreationTime": "2024-11-21T13:24:33.1295051+03:00",
      "UserStatus": "sample string 15",
      "UserType": "sample string 16",
      "PartnerId": "sample string 17"
    },
    {
      "UserId": "sample string 1",
      "Username": "sample string 2",
      "FirstName": "sample string 3",
      "LastName": "sample string 4",
      "Password": "sample string 5",
      "Email": "sample string 6",
      "PhoneNumber": "sample string 7",
      "Image": "sample string 8",
      "UserStatusId": 64,
      "LastLoginTime": "2024-11-21T13:24:33.1295051+03:00",
      "UserTypeId": 64,
      "CountryId": 12,
      "CultureId": 13,
      "CreationTime": "2024-11-21T13:24:33.1295051+03:00",
      "UserStatus": "sample string 15",
      "UserType": "sample string 16",
      "PartnerId": "sample string 17"
    }
  ],
  "ErrorCode": "sample string 1",
  "ErrorMessage": "sample string 2",
  "ErrorCategory": "sample string 3",
  "Result": true
}

application/xml, text/xml

Sample:
<GetUsersResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Account.Response">
  <ErrorCategory xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">sample string 3</ErrorCategory>
  <ErrorCode xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">sample string 1</ErrorCode>
  <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">sample string 2</ErrorMessage>
  <Result xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">true</Result>
  <Users xmlns:d2p1="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Account">
    <d2p1:User>
      <d2p1:CountryId>12</d2p1:CountryId>
      <d2p1:CreationTime>2024-11-21T13:24:33.1295051+03:00</d2p1:CreationTime>
      <d2p1:CultureId>13</d2p1:CultureId>
      <d2p1:Email>sample string 6</d2p1:Email>
      <d2p1:FirstName>sample string 3</d2p1:FirstName>
      <d2p1:Image>sample string 8</d2p1:Image>
      <d2p1:LastLoginTime>2024-11-21T13:24:33.1295051+03:00</d2p1:LastLoginTime>
      <d2p1:LastName>sample string 4</d2p1:LastName>
      <d2p1:PartnerId>sample string 17</d2p1:PartnerId>
      <d2p1:Password>sample string 5</d2p1:Password>
      <d2p1:PhoneNumber>sample string 7</d2p1:PhoneNumber>
      <d2p1:UserId>sample string 1</d2p1:UserId>
      <d2p1:UserStatus>sample string 15</d2p1:UserStatus>
      <d2p1:UserStatusId>64</d2p1:UserStatusId>
      <d2p1:UserType>sample string 16</d2p1:UserType>
      <d2p1:UserTypeId>64</d2p1:UserTypeId>
      <d2p1:Username>sample string 2</d2p1:Username>
    </d2p1:User>
    <d2p1:User>
      <d2p1:CountryId>12</d2p1:CountryId>
      <d2p1:CreationTime>2024-11-21T13:24:33.1295051+03:00</d2p1:CreationTime>
      <d2p1:CultureId>13</d2p1:CultureId>
      <d2p1:Email>sample string 6</d2p1:Email>
      <d2p1:FirstName>sample string 3</d2p1:FirstName>
      <d2p1:Image>sample string 8</d2p1:Image>
      <d2p1:LastLoginTime>2024-11-21T13:24:33.1295051+03:00</d2p1:LastLoginTime>
      <d2p1:LastName>sample string 4</d2p1:LastName>
      <d2p1:PartnerId>sample string 17</d2p1:PartnerId>
      <d2p1:Password>sample string 5</d2p1:Password>
      <d2p1:PhoneNumber>sample string 7</d2p1:PhoneNumber>
      <d2p1:UserId>sample string 1</d2p1:UserId>
      <d2p1:UserStatus>sample string 15</d2p1:UserStatus>
      <d2p1:UserStatusId>64</d2p1:UserStatusId>
      <d2p1:UserType>sample string 16</d2p1:UserType>
      <d2p1:UserTypeId>64</d2p1:UserTypeId>
      <d2p1:Username>sample string 2</d2p1:Username>
    </d2p1:User>
  </Users>
</GetUsersResponse>