Get manager of downstream reseller

The Get manager of downstream reseller method returns manager details for a downstream reseller of the current reseller.

An API token of a manager is required for authorization. To get an API token via the Operator Control Panel, see Viewing and updating manager's information

The manager's API token specified in an API request determines:

  • The role and access level of the manager, which determine the availability of a method.
  • The current reseller and downstream resellers accessible within a method.

GET {base_url}/api/v3/resellers/{reseller_id}/child_reseller_managers/{manager_id}

Arguments

Name

Parameter Type

Data type

Required/ Optional

Description

X-Api-TokenheaderstringRequiredAPI token of a manager that performs the operation (see Viewing and updating manager's information)
Content-TypeheaderstringRequiredMedia type of the request. Specify the following: application/vnd.api+json
AcceptheaderstringRequired

Supported media types of the answer. Specify the following: application/vnd.api+json

base_urlpathstringRequiredActivePlatform URL
reseller_idpathintegerRequiredID of the reseller (see Viewing and updating reseller general information)
manager_idpathintegerRequiredID of the manager

Response model

The response model is identical to Get manager.

Request example

GET /api/v3/resellers/1/child_reseller_managers/403
Host: test.activeplatform.com
Content-Type: application/vnd.api+json
X-Api-Token: vY5fwetestK3gJXZH5uHCw
Accept: application/vnd.api+json

Response example

{
    "data": {
        "id": "403",
        "type": "managers",
        "attributes": {
            "created_at": "2021-01-05T05:28:48.804+03:00",
            "updated_at": "2021-01-05T06:23:10.815+03:00",
            "reseller_id": 473,
            "name": "Brendon Leannon",
            "status": "active",
            "email": "carter81@example.net",
            "manager_role": {
                "id": null,
                "name": null
            },
            "phone": "+375290000000",
            "photo": "/images/manager/403/manager.png",
            "manager_key": "1test",
            "custom_attributes": {
                "manager_1c_identifier": "20"
            }
        }
    }
}