All Documents
Current Document

Content is empty

If you don't find the content you expect, please try another search term

Documentation

DescribeProductCode

Last updated:2021-07-16 15:31:59

DescribeProductCode

You can call this operation to query the mappings between products and codes.
Note: The mappings remain unchanged within a specific period of time. You can cache the mappings as required.

Request parameters

Parameter Type Required Length (number of characters) Format Description
Action String Yes Fixed value [a-zA-Z]+ The operation that you want to perform. Set the value to DescribeProductCode.
Version String Yes Fixed value The version number of the API operation. Set the value to 2019-07-19.


Response parameters

Parameter Type Description
RequestId String The ID of the request.
ProductCodeSet KvPair array The mappings between products and codes.


Successful call examples

Sample requests

http://krtpay.api.ksyun.com/?Action=DescribeProductCode
&Version=2019-07-19
&Common request parameters

Sample success responses

  • XML format
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <DescribeProductCodeResponse>
        <RequestId>81de1b55-401e-432f-91fb-cf352744b060</RequestId>
        <ProductCodeSet>
            <Item>
                <Key>CDN_LIVE</Key>
                <Value>KLS</Value>
            </Item>
            <Item>
                <Key>KFS</Key>
                <Value>KFS</Value>
            </Item>
            <Item>
                <Key>KEC</Key>
                <Value>KEC</Value>
            </Item>
        </ProductCodeSet>
    </DescribeProductCodeResponse>
  • JSON format
    {
        "RequestId": "dba9f0ed-347f-401e-b404-bc2ca874850a",
        "ProductCodeSet": [
            {
                "Key": "CDN_LIVE",
                "Value": "KLS"
            },
            {
                "Key": "KEC",
                "Value": "KEC"
            }
        ]
    }
On this page
Pure ModeNormal Mode

Pure Mode

Click to preview the document content in full screen
Feedback