Lists products.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
pai:ListProducts |
list |
*All Resource
|
None | None |
Request syntax
GET /api/v1/products HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProductCodes |
string |
No |
The product codes, separated by commas. |
PAI_isolate |
| ServiceCodes |
string |
No |
The service codes, separated by commas. |
oss |
| Verbose |
boolean |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The request ID. |
1e195c5116124202371861018d5bde |
| Products |
array<object> |
The list of products. |
|
|
object |
|||
| PurchaseUrl |
string |
The purchase URL. |
https://common-buy.aliy |
| ProductCode |
string |
The product code. |
DataWorks_isolate |
| IsPurchased |
boolean |
Indicates whether the product is purchased. |
true |
| HasPermissionToPurchase |
boolean |
Indicates whether the user has permission to purchase the product. |
|
| ProductId |
string |
||
| Services |
array<object> |
The list of services. |
|
|
object |
|||
| IsOpen |
boolean |
Indicates whether the service is activated. |
true |
| OpenUrl |
string |
The activation URL. |
|
| ServiceCode |
string |
The service code. |
oss |
Examples
Success response
JSON format
{
"RequestId": "1e195c5116124202371861018d5bde",
"Products": [
{
"PurchaseUrl": "https://common-buy.aliy",
"ProductCode": "DataWorks_isolate",
"IsPurchased": true,
"HasPermissionToPurchase": false,
"ProductId": ""
}
],
"Services": [
{
"IsOpen": true,
"OpenUrl": "",
"ServiceCode": "oss"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.