MENU
      getProductCategoryList
        • PDF

        getProductCategoryList

        • PDF

        記事の要約

        Classic/VPC環境で利用できます。

        商品カテゴリリストを照会します。

        リクエスト

        リクエスト形式を説明します。リクエスト形式は次の通りです。

        メソッドURI
        GET/product/getProductCategoryList

        リクエストヘッダ

        List Price APIで共通して使用されるヘッダの詳細は、List Priceの共通ヘッダをご参照ください。

        リクエストクエリパラメータ

        パラメータの説明は次の通りです。

        フィールドタイプ必須の有無説明
        productCategoryCodeStringOptional商品カテゴリコード
        responseFormatTypeStringOptionalレスポンス結果の形式
        • xml(デフォルト) | json

        リクエスト例

        リクエストのサンプルコードは次の通りです。

        curl --location 'https://billingapi.apigw.ntruss.com/billing/v1/product/getProductCategoryList?productCategoryCode=COMPUTE'
        --header 'x-ncp-apigw-timestamp: {Timestamp}' \
        --header 'x-ncp-iam-access-key: {Sub Account Access Key}' \
        --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'
        Curl

        レスポンス

        レスポンス形式を説明します。

        レスポンスボディ

        レスポンスボディの詳細は、ProductCategoryListをご参照ください。

        レスポンスステータスコード

        NAVERクラウドプラットフォームでで共通して使用されるレスポンスステータスコードの詳細は、Ncloud APIのレスポンスステータスコードをご参照ください。

        レスポンス例

        レスポンスのサンプルコードは次の通りです。

        <<?xml version="1.0" encoding="UTF-8"?>
        <getProductCategoryListResponse>
            <requestId>89e37809-****-****-****-0e5762e14b39</requestId>
            <returnCode>0</returnCode>
            <returnMessage>success</returnMessage>
            <totalRows>1</totalRows>
            <productCategoryList>
                <productCategory>
                    <code>COMPUTE</code>
                    <codeName>Compute</codeName>
                </productCategory>
            </productCategoryList>
        </getProductCategoryListResponse>
        XML

        この記事は役に立ちましたか?

        Changing your password will log you out immediately. Use the new password to log back in.
        First name must have atleast 2 characters. Numbers and special characters are not allowed.
        Last name must have atleast 1 characters. Numbers and special characters are not allowed.
        Enter a valid email
        Enter a valid password
        Your profile has been successfully updated.