Get the downstream Reseller's Manager by ID
The Get the Child Reseller's Manager by ID method returns Manager's details by the given Manager ID of the downstream Reseller of the current Reseller.
Access to the current Reseller and downstream Resellers is determined by the Manager's token in the API request.
GET {base_url}/api/v3/resellers/{reseller_id}/child_reseller_managers/{manager_id}
Arguments
Name | Parameter Type | Data type | Required/ Optional | Description |
---|---|---|---|---|
X-Api-Token | header | string | Required | API token of the Manager that performs the operation (see Viewing and updating manager's information) |
Content-Type | header | string | Required | Indicates the media type (text/html or text/JSON) of the request that is sent to the server by the client (browser) |
Accept | header | string | Required | Information about data types that the client (browser) supports |
reseller_id | path | integer | Required | ID of the Reseller (see Viewing and updating reseller general information) |
manager_id | path | integer | Required | ID of the Manager |
Response model
The response model is identical to Get the Reseller's Manager by ID.
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",
"role": "admin",
"phone": "+375290000000",
"photo": "/images/manager/403/manager.png",
"manager_key": "1test",
"custom_attributes": {
"manager_1c_identifier": "20"
}
}
}
}