AppResellerAccount

In the Reseller Manager context, this request retrieves all Resellers and Referral users. In the Reseller context, it retrieves all users that belong to companies linked to the reseller.

get/appReseller/v1/users

Request

Query parameters

context'RESELLER' | 'RESELLER_MANAGER' required
partnerstring

User partner

companyIdstring

User company ID

activestring[]

List of user activation status

searchTextstring

Search text

fromDatestring

From date, in timestamp format

toDatestring

To date, in timestamp format

sortField'CUSTOMER_ID' | 'EMAIL' | 'FIRST_NAME'

Field to sort by

sortOrderstring

Sort order

pageinteger

Page number

sizeinteger

Number of results per page

Response

Success

Example response

{
  "content": [
    {
      "id": "6d375008-3b19-4cb8-bbb9-dcd9fce99432",
      "companyId": "460fad0d-19e2-4eec-a756-59c15dc7a56a",
      "email": "test4@yopmail.com",
      "firstName": "user4",
      "lastName": "user4",
      "createdOn": 1461321550000,
      "activated": false,
      "invitationRequired": false,
      "memberships": [
        {
          "company": {
            "id": "460fad0d-19e2-4eec-a756-59c15dc7a56a",
            "externalId": "external11",
            "name": "Company3",
            "createdOn": 10242018,
            "phone": "50505054"
          },
          "enabled": true
        }
      ]
    }
  ],
  "page": {
    "number": 12345,
    "size": 12345,
    "totalElements": 12345,
    "totalPages": 12345
  }
}

Changes

    • breaking

      the response's body type changed from no type to object for status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status