Manage Network

Referral Downline List

GET ‎https://<domain>/<api prefix>/<version>/user/get/referraldownline/

This API endpoint will return list of referral downline.

Query Parameters

Name
Type
Description

offset

string

limit

string

list_type

string

Possible values are "overall" and "month"

username

string

username

currency_code

string

currency code

from_date

string

format - MM/DD/YY

to_date

string

format - MM/DD/YY

Headers

Name
Type
Description

apikey*

string

apikey

Authorization*

string

Bearer access token

HTTP/1.1 200 OK
Content-Type: application/json

Body:
{
    "status_code": 200,
    "errors": {},
    "data": {
        "results": [
            {
                "uid_id": <uid>,
                "username": "<username>",
                "name": "<name>",
                "sponsor": "<sponsor_username>",
                "sale": "<sale>",
                "earned": "<earned>",
                "rank": {
                    "title": "<rank_name>",
                    "image": "<rank_image>"
                },
                "package": {
                    "package_name": "<package_name>",
                    "package_image": "<package_image>"
                },
                "created": "<registerd_date>"
            },
            ...
        ],
        "count": <list_count>,
        "previous": <previous_page>,
        "next": <next_page>
    }
}

Sample Code

Node

PHP

Error Responses

Status Code

Error Type

FIeld

Description

400

Validation Error

list_type

Invalid list type. Please check again.

400

Validation Error

currency_code

Invalid Currency Code.

400

Validation Error

username

Invalid username.

Team Downline List

GET ‎https://<domain>/<api prefix>/<version>/user/get/teamdownline/

This API endpoint will return list of team downline users.

Query Parameters

Name
Type
Description

limit

string

offset

string

from_date

string

format - MM/DD/YY

to_date

string

format - MM/DD/YY

list_type

string

Possible values are "overall" and "month"

username

string

username

Headers

Name
Type
Description

apikey*

string

apikey

Authorization*

string

Bearer access token

Sample Code

Node

PHP

Error Responses

Status Code

Error Type

FIeld

Description

400

Validation Error

list_type

Invalid list type. Please check again.

400

Validation Error

username

Invalid username.

Customer Downline List

GET ‎https://<domain>/<api prefix>/<version>/user/get/mycustomers/

This API endpoint will return customer downline list.

Query Parameters

Name
Type
Description

list_type

string

Possible values are "overall" and "month"

limit

string

offset

string

from_date

string

format - MM/DD/YY

to_date

string

format - MM/DD/YY

username

string

username

Headers

Name
Type
Description

apikey*

string

apikey

Authorization*

string

Bearer access token

Sample Code

Node

PHP

Error Responses

Status Code

Error Type

FIeld

Description

400

Validation Error

list_type

Invalid list type. Please check again.

400

Validation Error

username

Invalid username.

Get Spilling Preference

GET ‎https://<domain>/<api prefix>/<version>/user/get/spiling-preference/

This API endpoint will return spilling preference choices, and user user selected choice.

Headers

Name
Type
Description

apikey*

string

apikey

Authorization*

string

Bearer access token

Sample Code

Node

PHP

Change Spilling Preference

POST ‎https://<domain>/<api prefix>/<version>/user/spiling-preference/

This API endpoint will update user spilling preference choice.

Headers

Name
Type
Description

apikey*

string

apikey

Authorization*

string

Bearer access token

Request Body

Name
Type
Description

spiliing_prefer*

string

Spilling prefer choice key.

Sample Code

Node

PHP

Error Responses

Status Code

Error Type

FIeld

Description

400

Validation Error

spiliing_prefer

Invalid spiliing prefer choice.

Last updated

Was this helpful?