DescribeProductCode

Last updated:2021-07-16 15:32:00

DescribeProductCode

You can call this operation to query all products.

Request parameters

Parameter Required Type Description
Action Yes String The operation that you want to perform. Set the value to DescribeProductCode.
Version Yes String The version number of the API operation. Set the value to 2020-01-01.

Response parameters

Parameter Type Description
ProductGroupSet KvPair array The mappings between products and codes. The product codes and product names are returned in this parameter.
RequestId String The ID of the request.

Successful call examples

Sample requests

https://bill-union.api.ksyun.com?Action=DescribeProductCode&Version=2020-01-01

Sample success responses

  • XML format
<ProductGroupInfoResponse>
    <RequestId>20eb15dc-e8cb-4035-b3ec-b182911adc80</RequestId>
    <ProductGroupSet>
        <ProductGroupSet>
            <Key>KingLab</Key>
            <Value>KingAI-Lab</Value>
        </ProductGroupSet>
        <ProductGroupSet>
            <Key>KingAI</Key>
            <Value>KingAI</Value>
        </ProductGroupSet>
        <ProductGroupSet>
            <Key>PenetrationTest_GROUP</Key>
            <Value>Penetration testing</Value>
        </ProductGroupSet>
        <ProductGroupSet>
            <Key>KBaaS</Key>
            <Value>KBaaS</Value>
        </ProductGroupSet>
        <ProductGroupSet>
            <Key>KIS</Key>
            <Value>KIS</Value>
        </ProductGroupSet>
        <ProductGroupSet>
            <Key>VM_GROUP</Key>
            <Value>KEC</Value>
        </ProductGroupSet>
        <ProductGroupSet>
            <Key>EBS_GROUP</Key>
            <Value>EBS</Value>
        </ProductGroupSet>
        <ProductGroupSet>
            <Key>EIP_GROUP</Key>
            <Value>EIP</Value>
        </ProductGroupSet>
    </ProductGroupSet>
</ProductGroupInfoResponse>
  • JSON format
{
    "RequestId": "0875663d-99e1-41d0-aeab-cf8bc2d01bd4",
    "ProductGroupSet": [
        {
            "Key": "KingLab",
            "Value": "KingAI-Lab"
        },
        {
            "Key": "KingAI",
            "Value": "KingAI"
        },
        {
            "Key": "PenetrationTest_GROUP",
            "Value": "Penetration testing"
        },
        {
            "Key": "KBaaS",
            "Value": "KBaaS"
        },
        {
            "Key": "KIS",
            "Value": "KIS"
        },
        {
            "Key": "VM_GROUP",
            "Value": "KEC"
        },
        {
            "Key": "EBS_GROUP",
            "Value": "EBS"
        },
        {
            "Key": "EIP_GROUP",
            "Value": "EIP"
        }
    ]
}

Did you find the above information helpful?

Unhelpful
Mostly Unhelpful
A little helpful
Helpful
Very helpful

What might be the problems?

Insufficient
Outdated
Unclear or awkward
Redundant or clumsy
Lack of context for the complex system or functionality

More suggestions

0/200

Please give us your feedback.

Submitted

Thank you for your feedback.

问题反馈