Found 0 result in total
Content is empty
If you don't find the content you expect, please try another search term
Last updated:2021-07-16 15:32:00
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.
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 GetProductCode . |
Parameter | Type | Description |
---|---|---|
RequestId | String | The ID of the request. |
ProductCodeSet | KvPair array | The mappings between products and codes. |
Error code | Error message | HTTP status code | Description |
---|---|---|---|
InvalidParameter | There is one or more invalid parameter(%s)." | 400 | The error message returned because the %s parameter is invalid. For more information about the parameter, see %s. |
Forbidden Request | user %s forbidden request this api" | 400 | The error message returned because the user denies the API request. For more information about the user ID, see %s. |
Server unavailable | Server error | 500 | The error message returned because exceptions occur on the backend server. |
https://bill.api.ksyun.com/?Action=GetProductCode
&Version=2018-06-01
&Common request parameters
<GetProductCodeResponse>
<RequestId>ht-test</RequestId>
<ProductCodeSet>
<ProductCodeSet>
<Key>EBS</Key>
<Value>EBS</Value>
</ProductCodeSet>
<ProductCodeSet>
<Key>EIP</Key>
<Value>EIP</Value>
</ProductCodeSet>
</GetProductCodeResponse>
{
"RequestId": "ht-test",
"ProductCodeSet": [
{
"Key": "EBS",
"Value": "EBS"
},
{
"Key": "EIP",
"Value": "EIP"
},
]
}
Pure Mode