カスタム属性のリストを取得する

このメソッドを使用して、カスタム属性のリストを取得します。

URLフルパスを表示するには ログイン してください。 詳細はこちら。
get
/people/2/customAttributes
Request rate limit:
5 requests / 秒 (アカウント1件につき)
query パラメータ
limit
integer <int32>
Example: limit=100

ページごとに返すカスタム属性の数。既定値は 20 です。最大値 - 1000。

page
integer <int32>
Example: page=1

返す結果のページ。既定値は 1 です。

includeTotalCount
boolean
Example: includeTotalCount=false

カスタム属性の合計数を返します (true に設定されている場合)。

orderBy
string
Example: orderBy=name:asc

結果の順序付け。可能な順序付けフィールドは、namecreatedAt、および modifiedAt です。順序付けの方向は、昇順の場合は修飾子 asc、降順の場合は desc で指定できます。

レスポンス

default

successful response

401

Unauthorized

403

Forbidden

429

Too Many Requests

4XX

Error responses

500

Internal Server Error

5XX

Error responses

サンプルをリクエストする

cURL
コピー
curl -L -g 'https://{baseUrl}/people/2/customAttributes?limit=100&page=1&includeTotalCount=false&orderBy=name%3Aasc' \
-H 'Authorization: {authorization}' \
-H 'Accept: application/json'

レスポンス例

コンテンツタイプ
コピー
すべて折りたたむ
{
  • "limit": 100,
  • "page": 1,
  • "orderBy": "name:asc",
  • "customAttributes":
    [
    • {
      • "createdAt": "2019-02-25T12:46:06",
      • "modifiedAt": "2019-02-25T12:46:06",
      • "name": "Contract Expiry Date",
      • "dataType": "DATE"
      },
    • {
      • "createdAt": "2019-02-25T12:46:06",
      • "modifiedAt": "2019-02-25T12:46:06",
      • "name": "ShoppingCartList",
      • "dataType": "LIST_OF_OBJECTS",
      • "objectSchema":
        {
        • "productName": "STRING",
        • "productPrice": "DECIMAL",
        • "productCategory": "STRING",
        • "productImage": "STRING"
        }
      }
    ]
}

ご不明点は

サポートまでお問い合わせ

ください

© NTTCom Online Marketing Solutions Corporation