All Products
Search
Document Center

BSS OpenAPI:QueryProductList

Last Updated:Nov 09, 2023

Queries the information about all Alibaba Cloud services.

debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

debugging

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
QueryTotalCountbooleanNo

Specifies whether to return the total number of services. Default value: false.

true
PageNumintegerYes

The page number of the page to return.

1
PageSizeintegerNo

The number of entries to return on each page. Default value: 20.

10

Response parameters

ParameterTypeDescriptionExample
object
Codestring

The HTTP status code returned.

Success
Messagestring

The message returned.

This API is not applicable for caller.
RequestIdstring

The ID of the request.

94858229-2758-4663-A7D0-99490D541F15
Successboolean

Indicates whether the request was successful.

true
Dataobject

The information about all Alibaba Cloud services.

PageNuminteger

The page number of the returned page.

1
PageSizeinteger

The number of entries returned on each page.

10
TotalCountinteger

The total number of services.

449
ProductListobject []

The service definitions.

ProductNamestring

The name of the service.

CDN (Pay-as-you-go)
ProductTypestring

The type of the service.

CDN
SubscriptionTypestring

The billing method. Valid values:

  • Subscription: subscription
  • PayAsYouGo: pay-as-you-go
PayAsYouGo
ProductCodestring

The code of the service.

cdn

Examples

Sample success responses

JSONformat

{
  "Code": "Success",
  "Message": "This API is not applicable for caller.",
  "RequestId": "94858229-2758-4663-A7D0-99490D541F15",
  "Success": true,
  "Data": {
    "PageNum": 1,
    "PageSize": 10,
    "TotalCount": 449,
    "ProductList": {
      "Product": [
        {
          "ProductName": "CDN (Pay-as-you-go)\n",
          "ProductType": "CDN",
          "SubscriptionType": "PayAsYouGo",
          "ProductCode": "cdn"
        }
      ]
    }
  }
}

Error codes

For a list of error codes, visit the Service error codes.