Queries a list of resellers for display on the frontend.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
computenestsupplier:ListResellers |
list |
*SupplierInfo
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| MaxResults |
integer |
No |
The number of entries to return on each page. Maximum value: 100. |
20 |
| NextToken |
string |
No |
The token that is used to retrieve the next page of results. |
AAAAAWVmrOoWHbw/80lX0TWxe/s= |
| Filter |
array<object> |
No |
The filter. |
|
|
object |
No |
The filter conditions to query resellers. |
||
| Value |
array |
No |
The values of the filter condition. |
|
|
string |
No |
The value of the filter condition. |
Distributor A |
|
| Name |
string |
No |
The name of the filter condition. Valid values:
|
Name |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| NextToken |
string |
The token that is used to retrieve the next page of results. |
AAAAAW8kZY+u1sYOaYf5JmgmDQQ= |
| RequestId |
string |
The request ID. |
A361BA9E-xxxx-xxxx-xxxx-C26E5180456E |
| TotalCount |
integer |
The total number of entries. |
4 |
| MaxResults |
integer |
The number of entries returned per page. The maximum value is 100. |
20 |
| SupplierInformation |
array<object> |
The list of results. |
|
|
object |
The returned entries. |
||
| SupplierName |
string |
The name of the reseller. |
Distributor A |
| SupplierDesc |
string |
The description of the reseller. |
It is a XXXX company |
| SupplierLogo |
string |
The icon of the reseller. |
https://service-info-public.oss-cn-hangzhou.aliyuncs.com/31978070/service-image/d5c3b585-ff6b-4e4e-8885-xxxx.png |
| SupplierUrl |
string |
The URL of the reseller's official website. |
http://www.aliyun.com |
| SupplierUid |
integer |
The UID of the reseller. |
152xxxxxxxxxxx |
Examples
Success response
JSON format
{
"NextToken": "AAAAAW8kZY+u1sYOaYf5JmgmDQQ=",
"RequestId": "A361BA9E-xxxx-xxxx-xxxx-C26E5180456E",
"TotalCount": 4,
"MaxResults": 20,
"SupplierInformation": [
{
"SupplierName": "Distributor A",
"SupplierDesc": "It is a XXXX company",
"SupplierLogo": "https://service-info-public.oss-cn-hangzhou.aliyuncs.com/31978070/service-image/d5c3b585-ff6b-4e4e-8885-xxxx.png",
"SupplierUrl": "http://www.aliyun.com",
"SupplierUid": 0
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.